$(document).ready(function(){
	var m_over_t_id=[];
	var m_out_t_id=[];
	$("#navmenu>li").each(function(index){
		$(this).hover(
			function(){
				var _self = this;
				m_over_t_id[index]=setTimeout(
					function(){$(_self).find('ul:eq(0)').fadeIn(400); $(_self).addClass('hover')},400
				);				
			},
			function(){
				var _self = this;
				clearTimeout(m_over_t_id[index]);
				m_out_t_id[index]=setTimeout(
					function(){$(_self).find('ul:eq(0)').fadeOut(200); $(_self).removeClass('hover')},200
					);
			})	
	})		
})

$(document).ready(function(){
              $("#uid0 .u3").find("li:last").after("<li class='li_bg'></li>");	
})

menufold=function(){
if (document.all&&document.getElementById){
	var navRoot;
	navRoot=document.getElementById("uid0").getElementsByTagName("LI");
	for(i=0;i<navRoot.length;i++){
		
		
			navRoot[i].onmouseover=function(){
			this.className+=" over";}
			navRoot[i].onmouseout=function(){
			this.className=this.className.replace(" over","");}
		
	}
}
}
window.onload=menufold;
