$(function(){


/********************************************** * SUBMENU * ***************************************************/			   
		   
	function megaHoverOver(){
		$(this).find(".sub").stop().fadeTo('fast', 1).show();
	}
	
	function megaHoverOut(){ 
	  $(this).find(".sub").stop().fadeTo('medium', 0, function() {
		  $(this).hide(); 
	  });
	} 
 
 	//function fadeLink(){ 
	  //$(this).find(".header .menu li a.active").css()
	  
 
 
	var config = {    
		 sensitivity: 1, // number = sensitivity threshold (must be 1 or higher)    
		 interval: 100, // number = milliseconds for onMouseOver polling interval    
		 over: megaHoverOver, // function = onMouseOver callback (REQUIRED)    
		 timeout: 0, // number = milliseconds delay before onMouseOut    
		 out: megaHoverOut // function = onMouseOut callback (REQUIRED)    
	};
 
	$("ul#menu li .sub").css({'opacity':'0'});
	$("ul#menu li").hoverIntent(config);

		   
/********************************************** * HOVER DIV * ***************************************************/	
		   
	//$(".hover .box, .threeCol ul li").click(function(){
//    	window.location=$(this).find("a").attr("href");
//		return false;
//	});

	
});




