	
function initRestListingRatingsKey () {
	var config = {
		sensitivity: 3, 
		interval: 200, 
		timeout:300,
		over: showRestListingRatingsKey, //function that is triggered on hover 
		out:  hideRestListingRatingsKey   //function that is triggered on mouseout
	};

	if ($nymag_j.browser.msie && $nymag_j.browser.version =="6.0" ) { 
	   $nymag_j("div.listing-photo div.slideshow-button img").addClass("hideMeFromNav");
	}

	$nymag_j("div.summary-details ul li.rest-price-range span").hoverIntent(config);
	$nymag_j("div.summary-details ul li.rest-star-ratings span").hoverIntent(config);
}
		
$nymag_j(initRestListingRatingsKey);


function showRestListingRatingsKey() {
	$nymag_j(".listing-photo .hideMeFromNav").css("visibility","hidden");
	$nymag_j(this).children("div.price-and-ratings-key").fadeIn(600);
	
}
function hideRestListingRatingsKey() {
	$nymag_j(".listing-photo .hideMeFromNav").css("visibility","visible");
	$nymag_j(this).children("div.price-and-ratings-key").fadeOut("slow");
}
