var obj = null;

jQuery("#jqhmenu").ready(function(){
	jQuery("#jqhmenu li ul").css({'display':'none'});
});

   function checkHover() {
     if (obj) {
	 	//var daWidth = obj.find('ul').parent("li").width();
		//alert(daWidth);
        obj.find('ul').fadeOut('fast');
		if($.browser.mozilla){jQuery("#inercontent embed").css({'visibility':'visible'});}
		//obj.find('ul>li').width(daWidth);
      } //if
   } //checkHover

  $(document).ready(function() {
     $('#jqhmenu > li').hover(function() {
         if (obj) {
            obj.find('ul').fadeOut(300);
            obj = null;
			if($.browser.mozilla){jQuery("#inercontent embed").css({'visibility':'hidden'});}
         } //if

         $(this).find('ul').fadeIn('fast');
     }, function() {
         obj = $(this);
         setTimeout(
            "checkHover()",
            100);
      });
   });