

var fadein = function() {
	$("ul", this).stop(true, true).slideDown(100);
};

var fadeout = function() {
	$("ul", this).stop(true, true).fadeOut(200);

};

$(function() {

$("#dropdown li").addClass ("exohover");

var config = {    
     sensitivity: 7, // number = sensitivity threshold (must be 1 or higher)    
     interval: 0, // number = milliseconds for onMouseOver polling interval    
     over: fadein, // function = onMouseOver callback (REQUIRED)    
     timeout: 150, // number = milliseconds delay before onMouseOut    
     out: fadeout // function = onMouseOut callback (REQUIRED)    
};

	// setTimeout(function() {
	// alert("test");
	// }, 1000);

  /* $('#dropdown li').hoverIntent(
    // mouseover
    function(){
      $(this).find('>ul').fadeIn('fast');
	  // alert('fade');
    },
    // mouseout
    function(){
       $(this).find('>ul').fadeOut('fast');
    }  
  ); */


$("#dropdown li").hoverIntent(config);

/*if (document.all) {
$("#dropdown li").hoverClass ("exohover");
}*/

});

/* $.fn.hoverClass = function(c) {
return this.each(function(){
$(this).hoverIntent(
function() { $(this).addClass(c); },
function() { $(this).addClass(c); }
);
});
}; */
