// JavaScript Document
jQuery(function($){
	var item=$("li.nav-fitem");
	$.fn.retarder = function(delay, method){
        	var node = this;
        	if (node.length){
           	 if (node[0]._timer_) clearTimeout(node[0]._timer_);
          	     node[0]._timer_ = setTimeout(function(){ method(node); }, delay);
        }
        return this;
    };
	item.each(function(i,v){
		$(this).hover(function(){
				$(this).addClass("fitem-hover");
				var cdiv=$("ul.nav-second-items",this);
				if(cdiv.length){
					cdiv.retarder(0,function(ii){
						//ii.slideDown("slow");
						ii.show();
							});
				}
			},function(){
					$(this).removeClass("fitem-hover");
					var cdiv=$("ul.nav-second-items",this);
					if(cdiv.length){
					cdiv.stop().retarder(0, function(tt){ 
						//tt.height(309).slideUp(1000);
						tt.hide();
					});
					}
				})
		})


	
})

