/* Fix PNG */

var arVersion=navigator.appVersion.split("MSIE");
var version=parseFloat(arVersion[1]);
function fixPNG(o){
	if((version>=5.5)&&(version<7)&&(document.body.filters)){
		var Q=(o.id)?"id='"+o.id+"' ":"";
		var h=(o.className)?"class='"+o.className+"' ":"";
		var d=(o.title)?"title='"+o.title+"' ":"title='"+o.alt+"' ";
		var B="display:inline-block;"+o.style.cssText;
		var t="<span "+Q+h+d+" style=\""+"width:"+o.width+"px; height:"+o.height+"px;"+B+";"+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"+"(src='"+o.src+"', sizingMethod='scale');\"></span>";o.outerHTML=t;
	}
}

/* SF Hover */

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);



