<!--//--><![CDATA[//><!--
/****************************************************************************** 
Tested in the following browsers.  
NS 7.x Mac
Safari 1.2.3 
Firefox 1.0 PR Mac
Opera 7.54 Mac
Firefox 1.0 PR Win
Opera 7.54 Win
Netscape 7.2 Win
IE 6.0 Win
IE 5.5 Win
IE 5.01 Win 
******************************************************************************/
var thePage = location.pathname;
function menuFix() {
if (document.all&&document.getElementById){
	var sfEls = document.getElementById("nav_list").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";
		}
		sfEls[i].onMouseDown=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";	
		}
		sfEls[i].onMouseUp=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";
		}
		sfEls[i].onmouseout=function() {
		this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
		}
	}
}
}
window.onload=menuFix;

/****************************************************************************** 
Png transparency

if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
	window.attachEvent("onload", alphaBackgrounds);
}

function alphaBackgrounds(){
	var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
	var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
	for (i=0; i<document.all.length; i++){
		var bg = document.all[i].currentStyle.backgroundImage;
		if (itsAllGood && bg){
			if (bg.match(/\.png/i) != null){
				var mypng = bg.substring(5,bg.length-2);
				//alert(mypng)
				document.all[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"',enabled='true', sizingMethod='crop')";
				document.all[i].style.backgroundImage = "url('/images/x.gif')";
			}
		}
	}
}******************************************************************************/
//--><!]]>