//<script>

// Open a new page function, called from Javascript menus
function Go(idx)
{
	if (mA[idx][5] !="") {
		OpenWindow("main.asp?page=" + mA[idx][0],mA[idx][5],400,300)
	} else {
		location.href = "main.asp?page=" + mA[idx][0] + "&navsource=top";
	}
}

// For backward compatibility with older sites
function GetPage(page, parent, window, target)
{
	location.href = "main.asp?page=" + page;
}

// Standard function to open pages in a new window
popupWindow=null
function OpenWindow(fullURL,name,width,height,resizeable){
	if (popupWindow!= null){
		if (popupWindow.closed == false) popupWindow.close();
		popupWindow = null;
	}
    var fullURL; var windowSettings; var windowTitle;
    	windowTitle = name;
    	windowSettings = 'location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=526,height='+height+',left=100,top=92';
	popupWindow = window.open(fullURL,windowTitle,windowSettings);
}

// global
function showLayer(layername){
	if (!pageLoaded){return}
	eval(layername+'Layer').state=1;
	currLayer = eval(layername+'Layer');
  currSpacerLayer = eval(layername+'SpacerLayer');
  mouseCatcherLayer.captureEvent('onmouseover', hideLayer);
	mouseCatcherLayer.show();
	eval(layername+'Layer').show();
  eval(layername+'SpacerLayer').show();
}

function hideLayer(){
	if (!pageLoaded){return}
	currLayer.state=0; 
	mouseCatcherLayer.releaseEvent('onmouseover');
	mouseCatcherLayer.hide();
	currLayer.hide();
  currSpacerLayer.hide();
}

function preload(imgObj,imgSrc) {
  eval(imgObj+' = new Image()');
	eval(imgObj+'.src = "'+imgSrc+'"');
}

function changeImage(layer,imgName,imgObj) {
	if (document.images) {
		if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
		else document.images[imgName].src = eval(imgObj+".src");
	}
}	

		function systemInfo() {
		var b=navigator.appName; 
		if (b=="Netscape") {this.b = "ns"} else if (b=="Microsoft Internet Explorer") {this.b="ie"} 
		else if (b=="Opera") {this.b = "opera"}	else {this.b=b}
		this.version=navigator.appVersion;this.v=parseInt(this.version)
		this.ns=(this.b=="ns"&&this.v>=4);this.ns4=(this.b=="ns"&&this.v==4);this.ns6=(this.b=="ns"&&this.v>4)
		this.ie=(this.b=="ie"&&this.v>=4);
		if (this.version.indexOf('MSIE 4')>0) {this.ie4=true; this.v=4}
		if (this.version.indexOf('MSIE 5')>0) {this.ie5=true; this.v=5}
		if (this.version.indexOf('MSIE 6')>0) {this.ie6=true; this.v=6}
		this.opera5 = (this.b=="opera" && this.v>4);this.dom=document.getElementById?1:0
		this.agent = navigator.userAgent.toLowerCase();
		if (this.agent.indexOf("mac")!=-1){this.os="mac"}	else if (this.agent.indexOf("win")!=-1){this.os="win"} 	
		else this.os = "other"
		}
		is=new systemInfo()
		var intInputSize
