/* SuckerFish multi level drop down menu http://www.htmldog.com/articles/suckerfish/ */

function sfHover() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			if (this.className == "") {
				this.className+=" sfhover";
			} else if (this.className == "products") {
				this.className+= " productssfhover";
			} else if (this.className == "expanded") {
				this.className+=" expandedsfhover";	
			}
			hideSelectBoxes();
	}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			this.className=this.className.replace(new RegExp(" productssfhover\\b"), "");
			this.className=this.className.replace(new RegExp(" expandedsfhover\\b"), "");
			showSelectBoxes();
		}
	}

}
/* only required for MSIE 5/6 so do not load using jQuery or other addLoadEvent scripts */
if (window.attachEvent) window.attachEvent("onload",sfHover);

function hideSelectBoxes() {
	if(navigator.appVersion.indexOf("MSIE 6.0")>0) {
		if (document.getElementById("specs")) {
			document.getElementById("specs").style.visibility = "hidden";
		}
	}
}

function showSelectBoxes() {
	if(navigator.appVersion.indexOf("MSIE 6.0")>0) {	
		if (document.getElementById("specs")) {
			document.getElementById("specs").style.visibility = "visible";
		}
	}
}

