function searchRetailers(searchState)
{
	try
	{
		$("#mapLoader").fadeIn();
							  
		
		$.ajax({
			   type:"GET",
		url: "asyncGetRetailers.php",
		data:"st="+searchState,
		cache: false,
		success: function(ajaxresponse){
		$("#divFoundRetailers").html(ajaxresponse);
		}
		});
		
		$("#mapLoader").fadeOut();
		
	}
	catch(e)
	{
		alert("Error in search retailers");
	}
}



/*$(document).ready(function(){

$(".showArea").click(function(){

var strState = $(this).attr("title");
searchRetailers(strState);
});

// Show Feature List
searchRetailers('');

});*/


/*
This funtion shows the retailer location in google map
*/
function showRetailerLocation(retailerID)
{
	try
	{
		tb_show("","showRetailerLocation.php?retlid="+retailerID+"&KeepThis=true&TB_iframe=true&height=400&width=600",""); 
	}
	catch(e)
	{
		alert("Error in show retailer location.\n"+e);
	}
	
		
}
