
if (document.images) {
	t1on = new Image();
	t1on.src = "images/h_txt_01on.gif";
	t2on = new Image();
	t2on.src = "images/h_txt_02on.gif";
	t3on = new Image();
	t3on.src = "images/h_txt_03on.gif";
	t4on = new Image();
	t4on.src = "images/h_txt_04on.gif";
	t5on = new Image();
	t5on.src = "images/h_txt_05on.gif";
	t6on = new Image();
	t6on.src = "images/h_txt_06on.gif";
	t7on = new Image();
	t7on.src = "images/h_txt_07on.gif";
	t8on = new Image();
	t8on.src = "images/h_txt_08on.gif";
	t9on = new Image();
	t9on.src = "images/h_img_txt_01on.gif";
	t10on = new Image();
	t10on.src = "images/h_img_txt_02on.gif";
	t11on = new Image();
	t11on.src = "images/h_img_txt_03on.gif";
	t12on = new Image();
	t12on.src = "images/h_img_txt_04on.gif";
	t13on = new Image();
	t13on.src = "images/h_img_txt_05on.gif";	
	arrow_on = new Image();
	arrow_on.src = "images/a01.gif";
	
	t1off = new Image();
	t1off.src = "images/h_txt_01.gif";
	t2off = new Image();
	t2off.src = "images/h_txt_02.gif";
	t3off = new Image();
	t3off.src = "images/h_txt_03.gif";
	t4off = new Image();
	t4off.src = "images/h_txt_04.gif";
	t5off = new Image();
	t5off.src = "images/h_txt_05.gif";
	t6off = new Image();
	t6off.src = "images/h_txt_06.gif";
	t7off = new Image();
	t7off.src = "images/h_txt_07.gif";
	t8off = new Image();
	t8off.src = "images/h_txt_08.gif";
	t9off = new Image();
	t9off.src = "images/h_img_txt_01.gif";
	t10off = new Image();
	t10off.src = "images/h_img_txt_02.gif";
	t11off = new Image();
	t11off.src = "images/h_img_txt_03.gif";
	t12off = new Image();
	t12off.src = "images/h_img_txt_04.gif";	
	t13off = new Image();
	t13off.src = "images/h_img_txt_05.gif";	
	arrow_off = new Image();
	arrow_off.src = "images/a00.gif";
}


if (D0M){
	var popLeft= new Array(8);
	popLeft[0]=0;
	if ((navigator.appVersion.indexOf("Macintosh") != -1)&&(navigator.appVersion.indexOf("4.5") != -1)){
		popLeft[1]=365;
		popLeft[2]=269;
		popLeft[3]=154;
		popLeft[4]=102;
		popLeft[5]=-3;
		popLeft[6]=-105;
		popLeft[7]=-186;
	}
	else{
		popLeft[1]=365;
		popLeft[2]=269;
		popLeft[3]=152;
		popLeft[4]=100;
		popLeft[5]=-5;
		popLeft[6]=-107;
		popLeft[7]=-188;
		if (navigator.appName.indexOf("Netscape") != -1) {
			for (var j=1; j<8; j+=1){
				popLeft[j] = popLeft[j] + 4;
			}
		}
	}
}

function NetscapePos() {
	if (NET){
		document.layers["Pop_t1"].left=((getInsideWindowWidth()/2)-373);
		document.layers["Pop_t2"].left=((getInsideWindowWidth()/2)-280);
		document.layers["Pop_t3"].left=((getInsideWindowWidth()/2)-163);
		document.layers["Pop_t4"].left=((getInsideWindowWidth()/2)-105);
		document.layers["Pop_t5"].left=((getInsideWindowWidth()/2)+1);
		document.layers["Pop_t6"].left=((getInsideWindowWidth()/2)+103);
		document.layers["Pop_t7"].left=((getInsideWindowWidth()/2)+188);
		for (p=1; p<8; p+=1){
			document.layers["Pop_t"+p].top=document.images["t1"].y+13;
			document.layers["Pop_t"+p].width=150;
		}
	}
}
function userArray(){
	this.length=userArray.arguments.length;
	for (var a=0; a<this.length; a+=1){
		this[a]=userArray.arguments[a];
	}
}

function createPopUp(theArray,theName){
	var theStr="";
	if (D0M){
		var theTop=198;
		if (navigator.appName.indexOf("Netscape") != -1) {
			theTop=theTop;
		}
		theStr='<div id="Pop_'+theName+'" style="position:absolute;top:'+theTop+';left:0;width:150;visibility:hidden;z-index:1000" onmouseover="showPop(\''+theName+'\')" onMouseOut="hidePop(\''+theName+'\')">';
	}
	if (NET){
		theStr='<layer name="Pop_'+theName+'"  visibility="hide" width="150" onmouseover="showPop(\''+theName+'\')"  onMouseOut="hidePop(\''+theName+'\')">';
	}
	if (NET||D0M){
		theStr+='<table border=0 cellspacing=0 cellpadding=0 align=left>';
		var totalRows=theArray.length;
		for (var i=0; i<totalRows-1; i+=2){
			extraSpace="";
			if (theArray[i].length<15){
				extraSpace="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
			}
			theStr+='<tr><td colspan="3"></td></tr><tr><td bgcolor="#FFFFFF" width="12" valign="top"><img name=a_'+theName+i+' src="images/a00.gif" width="12" height="10" alt=""></td><td valign="middle" align="left" bgcolor="#FFFFFF" height="11"><a onMouseOver="MouseOn(\'a_'+theName+i+'\'); return true" onMouseOut="MouseOff(\'a_'+theName+i+'\'); return true" href="'+theArray[i+1]+'" class="menu"><font face="Verdana" size="1"><b>'+theArray[i]+extraSpace+'</b></font></a></td><td bgcolor="#FFFFFF" width="5"></td></tr>';
		}
		theStr+='</table>';
	}
	if (D0M){
		theStr+='</div>';
	}
	if (NET){
		theStr+='</layer>';
	}
	document.write(theStr);
}

function getInsideWindowWidth(){
	if (NET){
		if (window.innerWidth<750){
			return 750;
		}
		else{
			return window.innerWidth
		}
	}
	if (D0M){
		var theWidth=0;
		if (window.innerWidth){
			theWidth=window.innerWidth;
		}
		else{
			theWidth=document.body.clientWidth;
		}
		if (theWidth<750){
			return 750;
		}
		else{
			return theWidth;
		}
	}	
}

function doReload() {
 	if (NET){
		history.go(0);
	 }
}


// When the mouse goes over the image...
function MouseOn(imgName) {
	if (document.images) {
		if (imgName.indexOf("a")!=0){
			document[imgName].src = eval(imgName + "on.src");
			showPop(imgName);
		}
		else {
			document[imgName].src = eval("arrow_on.src");
		}
	}
}

// When the mouse goes off the image...
function MouseOff(imgName) {
	if (document.images) {
		if (imgName.indexOf("a")!=0){
			document[imgName].src = eval(imgName + "off.src");
			hidePop(imgName);
		}
		else {
			document[imgName].src = eval("arrow_off.src");
		}
	}
}

function showPop(theName) {
	if (theName.indexOf("t")==0){
		if(NET&&document.layers["Pop_"+theName]){
			document.layers["Pop_"+theName].visibility="show";
		}
		if(D0M){
			var elem = document.getElementById("Pop_"+theName);
			if (elem){
				ClientWidth=getInsideWindowWidth();
				elem.style.left=((ClientWidth/2)-(popLeft[parseInt(theName.substring(theName.length,theName.length-1))]));
				elem.style.visibility="visible";
			}
		}
	}
}

function hidePop(theName) {
	if (theName.indexOf("t")==0){
		if(NET&&document.layers["Pop_"+theName]){
			document.layers["Pop_"+theName].visibility="hide";
		}
		if(D0M){
			var elem = document.getElementById("Pop_"+theName);
			if (elem){
				elem.style.visibility="hidden";
			}
		}
	}
}


if (D0M||NET){
	var jsFile=true;
}