function lookup(inputString) {
	/*if(inputString.length == 0) {
		$('#search_suggestions').fadeOut('fast'); // Hide the suggestions box
	} else {
		$.post("/layouts/BriggsRacing/ajax/rpc.aspx", {queryString: ""+inputString+""}, function(data) { // Do an AJAX call
			$('#search_suggestions').fadeIn('fast'); // Show the suggestions box
			$('#search_suggestions').html(data); // Fill the suggestions box
		});
	}
	*/
}


$(document).ready(function(){
	jQuery(document.body).formHints();
	$("a[rel*='newsletter'],a[rel*='find_model'],a[rel*='share'],a[rel*='select-region']").colorbox({width:"800px", height:"520px", iframe:true});
	$("#product_image a,a[rel*='image']").colorbox({height:660,width:640,iframe:true,scrolling:false});
	$("a[rel*='rss']").colorbox({width:"540px", height:"500px"});
	$("a[rel*='external'],a[rel*='non-html']").attr("target","_blank");
	$("input#q").blur(function(){
	 	$('#search_suggestions').fadeOut('fast');
	 });
	$("ul.filters > li > a").click(function(){ $(this).parent().toggleClass("on"); return false; });
	$(".tabs").tabs();
	$('#logo').pngFix();
	
	$('#navigation>ul>li').hover(
		function() {
			$('#navigation>ul>li.on div.sub').css("display","none");
			$(this).addClass("hover");
		},
		function() {
			$('#navigation>ul>li.on div.sub').css("display","block");
			$(this).removeClass("hover");
		}
	);
	
});
