
//to toggle child ULs on and off
$(document).ready(function() {
	$("#nav li").hover(
		function() {
			$("ul", this).fadeTo(0, 0.9); 
		},
		function() {
			$("ul", this).fadeTo(0, 0);
		}
	);
	if (document.all) {
		$("#nav li").hoverClass("sfHover");
	}
});

//to be able to hover on LI in IE
$.fn.hoverClass = function(c) {
	return this.each(function() {
		$(this).hover(
			function() { $(this).addClass(c);  },
			function() { $(this).removeClass(c); }
		);
	});
};
