// Enhanced Suckerfish menu
// refer to http://javascript.about.com/library/blsfmenu1.htm
// for more information
// you may copy this code but please keep the comments intact

// fix for IE hover
sfh = function() {var sfE = document.getElementById("headerMenu").getElementsByTagName("li"); for (var i=sfE.length-1; i >= 0; i--) {sfE[i].onmouseover=function() { this.className+=" sfh"; }; sfE[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfh\\b"), ""); }; }}; if (window.attachEvent) window.attachEvent("onload", sfh);

// fix for IE position:fixed bug
function posTop() {return typeof window.pageYOffset != 'undefined' ?  window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ? document.body.scrollTop : 0;} function moveit() {var y = posTop() + 'px';document.getElementById('headerMenu').style.top = y;} window.onscroll = moveit;


/*
sfHover = function() {
	var sfEls = document.getElementById("headerMenu").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);
*/
