$(document).ready(function(){
	
	var toutHover = {    
	     sensitivity: 1, // number = sensitivity threshold (must be 1 or higher)    
	     interval: 25, // number = milliseconds for onMouseOver polling interval    
	     over: showTooltip, // function = onMouseOver callback (REQUIRED)    
	     timeout: 500, // number = milliseconds delay before onMouseOut    
	     out: hideTooltip // function = onMouseOut callback (REQUIRED)    
	};
	
	var toutHoverIe = {    
	     sensitivity: 1, // number = sensitivity threshold (must be 1 or higher)    
	     interval: 25, // number = milliseconds for onMouseOver polling interval    
	     over: showTooltipIe, // function = onMouseOver callback (REQUIRED)    
	     timeout: 500, // number = milliseconds delay before onMouseOut    
	     out: hideTooltipIe // function = onMouseOut callback (REQUIRED)    
	};
	
  if ( $.browser.msie ) {
     $('.tooltip_trigger').hoverIntent(toutHoverIe);
  } else {
     $('.tooltip_trigger').hoverIntent(toutHover);
  }

});

function showTooltip() {
	$(this).children(".tooltip").fadeIn();
}

function hideTooltip() {
	$(this).children(".tooltip").fadeOut();
}

function showTooltipIe() {
  $(this).children(".tooltip").show();
}

function hideTooltipIe() {
  $(this).children(".tooltip").hide();
}

