<!-- 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
//Open new window script
 function openPopup(href, name, width, height, menu, status, scroll, loc, resize, title, toolbar){
	 var attributes = '';
	 attributes = attributes + ',width=' + width;
	 attributes = attributes + ',height=' + height;
	 attributes = attributes + ',left=' +(screen.width - width) / 2;
	 attributes = attributes + ',top=' +(screen.height - height) / 2;
	 attributes = attributes + ',menubar=' + (menu==1?'yes':'no');
	 attributes = attributes + ',status=' + (status==1?'yes':'no');
	 attributes = attributes + ',scrollbars=' + (scroll==1?'yes':'no');
	 attributes = attributes + ',location=' + (loc==1?'yes':'no');
	 attributes = attributes + ',titlebar=' + (title==1?'yes':'no');
	 attributes = attributes + ',toolbar=' + (toolbar==1?'yes':'no');
	 attributes = attributes + ',resizable=' + (resize==1?'yes':'no');
	 attributes = attributes.substring(1,attributes.length);
	 var Popup = window.open(href, name, attributes)
}
// 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=2;
	var visibleVar="null";  

	layerStyleRef="layer.style.";
	layerRef="document.getElementById"; //used to be document.all but threw js errors in FF
	styleSwitch=".style";
	visibleVar="block";

	function menu(layerName){
		showLayer(layerName);
	}
	function hideLayer(layerName){
		eval(layerRef+'("'+layerName+'")'+styleSwitch+'.display="none"');
			removeothermenus(layerName);
	}       

	function showLayer(layerName){
		eval(layerRef+'("'+layerName+'")'+styleSwitch+'.display="block"');
			removeothermenus(layerName);
	}
	function removeothermenus(layerName){
		intmenunumber=intnumofmenuitems;                
		while (intmenunumber>0){
		intcountdown="Submenu"+intmenunumber;
		
		if (intcountdown!=layerName){
			eval(layerRef+'("'+intcountdown+'")'+styleSwitch+'.display="none"');
		}
		
		intmenunumber-=1;
		intcountdown="Submenu"+intmenunumber;
		}
	}
//  End -->

