/*
	Son of a Suckerfish menu javascript code
	Source provided by http://www.htmldog.com/articles/suckerfish/dropdowns/
	Modifications made by Matthew Elliott:  matt _ elliott (at) sonic dot com
	Rev A1: 2006-2-27
	Rev A2: 2006-2-28
*/
sfHover = function() {
	if ((document.getElementById) && 
	    (document.getElementById("nav") != null) &&
	    (document.getElementById("nav").getElementsByTagName("LI") != null)) {
	    var sfEls = document.getElementById("nav").getElementsByTagName("LI");
		var onStateNav = false;
	    for (var i=0; i<sfEls.length; i++) {
		    sfEls[i].onmouseover=function() {
			    if ((this.className != "locale") && 
					  (this.className.indexOf("_on") < 1)) {
			       this.className+="_on over";
			    }
				 else if ((this.className.indexOf("specialNavOn") >= 0) && (this.className.indexOf("_on") > 0)) {
					 this.className+=" over";
					 onStateNav = true;
				 }
		    }
		    sfEls[i].onmouseout=function() {
			    //alert(this.className.indexOf("specialNavOn"));
			    if (this.className.indexOf("specialNavOn") >= 0) {
			        onStateNav = true;
			    }
			    if (this.className != "locale" && onStateNav == false) {
			       this.className=this.className.replace(new RegExp("_on over\\b"), "");
			    }
				 else if (this.className != "locale" && onStateNav == true) {
					 this.className=this.className.replace(new RegExp(" over\\b"), "");
					 onStateNav = false;
				 }
		    }
	    }
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
var pImages = new Array();
pImages[0] = "http://img.roxio.com/enu/images/home_off.gif";
pImages[1] = "http://img.roxio.com/enu/images/home_on.gif";
pImages[2] = "http://img.roxio.com/enu/images/products_off.gif";
pImages[3] = "http://img.roxio.com/enu/images/products_on.gif";
pImages[4] = "http://img.roxio.com/enu/images/support_off.gif";
pImages[5] = "http://img.roxio.com/enu/images/support_on.gif";
pImages[6] = "http://img.roxio.com/enu/images/store_off.gif";
pImages[7] = "http://img.roxio.com/enu/images/store_on.gif";
pImages[8] = "http://img.roxio.com/enu/images/solutions_off.gif";
pImages[9] = "http://img.roxio.com/enu/images/solutions_on.gif";

addWindowLoadEvent(ImagePreload);
if (window.attachEvent) window.attachEvent("onload", ImagePreload);
