<!-- Begin

// This is the image mouseover script
function msover(doc_item,textimage)
    {document[doc_item].src=textimage;}

//This is the new window script
function OpenWin(theURL,winName,features) {
	window.open(theURL,winName,features);
}
    
//This removes the link border on images
function RemoveDot()
{
for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}
if (document.all)
{
document.onmousedown = RemoveDot;
}
file:

//  End -->

<!-- Begin
//This is the menu fade-in fade-out script
menufadeObjects = new Object();
menufadeTimers = new Object();

function menufade(object, destOp, loopdelay, changepercentage){
if (!document.all)
return
    if (object != "[object]"){  //do this so I can take a string too
        setTimeout("menufade("+object+","+destOp+","+loopdelay+","+changepercentage+")",0);
        return;
    }
        
    clearTimeout(menufadeTimers[object.sourceIndex]);
    
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    changepercentage=Math.min(direction*diff,changepercentage);
    object.filters.alpha.opacity+=direction*changepercentage;

    if (object.filters.alpha.opacity != destOp){
        menufadeObjects[object.sourceIndex]=object;
        menufadeTimers[object.sourceIndex]=setTimeout("menufade(menufadeObjects["+object.sourceIndex+"],"+destOp+","+loopdelay+","+changepercentage+")",loopdelay);
    }
}
// End -->

<!-- Begin
//This is the popup menu script
	var intnumofmenuitems=10;
	var visibleVar="null";  

	layerStyleRef="layer.style.";
	layerRef="document.getElementById"; //used to be document.all but threw js errors in FF
	styleSwitch=".style";
	visibleVar="visible";

	function menu(layerName){
		showLayer(layerName);
	}
	function hideLayer(layerName){
		eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="hidden"');
			removeothermenus(layerName);
	}       

	function showLayer(layerName){
		eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="visible"');
			removeothermenus(layerName);
	}
	function removeothermenus(layerName){
		intmenunumber=intnumofmenuitems;                
		while (intmenunumber>0){
		intcountdown="Submenu"+intmenunumber;
		
		if (intcountdown!=layerName){
			eval(layerRef+'("'+intcountdown+'")'+styleSwitch+'.visibility="hidden"');
		}
		
		intmenunumber-=1;
		intcountdown="Submenu"+intmenunumber;
		}
	}
//  End -->



