 $(document).ready(function(){
		$("#mainNav li").hover(
/*		function() {
			var bodyId = document.getElementsByTagName("body")[0].getAttribute("id");
			var allSibling = this.parentNode.childNodes;
			for(i=0; i<allSibling.length; i++){
			if(allSibling[i].getAttribute("id") == ("li_" + bodyId)){
			allSibling[i].getElementsByTagNames("ul")[0].style.top = "-999em";
			}
			}
			}, 
			*/
			function(){
			$("ul", this).fadeIn("slow");
			},
			function(){}
		);
	if (document.all) {
			$("#mainNav li").hoverClass ("sfHover");
		}
  });
  
	$.fn.hoverClass = function(c) {
		return this.each(function(){
			$(this).hover( 
				function() { $(this).addClass(c);  },
				function() { $(this).removeClass(c); }
			);
		});
	};