(function($){
	$.fn.oneLevelMenuInit = function() {		
		$(this).each(function(){		
			var m = $(this), bv =parseInt($.browser.version);				
			if($.browser.msie&&bv<8) $("div.mp", this).css("top",(bv==7)?25:8);			
			$("div.mc", m).each(function(){					
				$(this).next("a").add($(this).find("div")).mouseover(function(){shP($(this), true);}).mouseout(function(){shP($(this), false);});				
			});	return this;
		});		
		shP = function(el, s) {	var p = ($(el).is("div"))?$(el):$(el).prev("div.mc").find("div");
			if(s) {	clearTimeout(p.attr("to")); if (p.is(':hidden')) if($.browser.opera) p.show(200); else p.fadeIn(200);
			} else 	p.attr("to", setTimeout(function(){if($.browser.opera)$(p).slideUp(200); else $(p).fadeOut(200);}, 200));			
		}
	}
})(jQuery);

