
 $(document).ready(function(){
							
	  /* $("#mainPageLink").click(function(event){
	  	 alert("Thanks for visiting!");
	 	});*/
	  
	  //hover on TR'S
	  $(".trHover").hover(
		  function () {
			$(this).addClass("hoverTR");
		  },
		  function () {
			$(this).removeClass("hoverTR");
		  }
		);

	  //
	  
 });


	function forceSearch(key){
		//alert(key);
		document.gsf.q.value=key;
		document.gsf.x.value=1;
		title = key;
		
		url1 = "http://www.Chicago-Brunch.com/";		
		url2 = "http://Chicago-Brunch.com/";		
		url = document.URL;
		
		if(title){
			page = "search_resto.php";
			query = "?q=" + title + "&client=pub-7474565736322395&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&safe=active&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A11&hl=en&x=1";
			window.location = url1 + page + query;		
		} // end - if
	} // end - function




	function displayWhich(val){
		//alert(val);

		if(val==1){
			document.getElementById('AtoN').style.display="inline";
			document.getElementById('MtoZ').style.display="none";
		}
		if(val==2){
			document.getElementById('AtoN').style.display="none";
			document.getElementById('MtoZ').style.display="inline";		
		}
	}




