
/*
    
    Suckerfish CSS menu IE code.  This code will attach a new CSS psuedo class to the secondary navigation elements - "sfhover" to allow IE the ability to style the hover classes.
    
*/

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

/*
$(document).ready(function(){
	
	$("#nav-primary li").hover(function(){
		$(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
		},function(){
	$(this).fadeTo("slow", 0.3); // This should set the opacity back to 30% on mouseout
	   	});
});
*/
/*

$(document).ready(function(){
	
	$('#nav-primary li').hover(
		var list = this.children('ul');
		function(){ $(list).fadeTo("slow", 1.0); },
		function(){ $(list).fadeTo("slow", 0); }
	);

};
*/

