<!-- Begin
// This is the image mouseover script
// HTML CODE SYNTAX:  onmouseover="document.ChangeToDivID.src='NEW IMAGE GOES HERE';" onmouseout="document.ChangeToDivID.src='ORIGINAL IMAGE GOES HERE';"

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
// End -->



<!-- Begin
// This is the DIV toggle script
// MAKE SURE that the referenced DIV has a style and it contains either 'display: block;' (on) or 'display: none;' (off)
// HTML CODE SYNTAX:  onclick="toggle_visibility('ChangeToDivID');"

function toggle_visibility(id) {
var e = document.getElementById(id);

if (e.style.display == 'none')
	e.style.display = 'block';
else
	e.style.display = 'none';
}
// 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 -->

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;