// 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() {
	if(document.getElementById("submenu_ul")){
		var sfE = document.getElementById("submenu_ul").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);

// enhance to not scroll with the page
/*
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('nav').style.top = y;} window.onscroll = moveit;
*/

