 



function checkCookie()
{
//read cookie and redirect to us site if value is us
//no need to check for Us, and doing so sends users into a continous redirect anyway.	
cookieVal = $.cookie('locationCookie');
if(cookieVal == 'uk')
{
//alert("sending to uk");
location.href = 'http://www.whichfranchise.com/';
}
//else if(cookieVal == 'fl') 
//{
//alert("sending to fl");
//location.href = 'http://www.whichfranchise.com/florida/';
//}
//else if(cookieVal == 'ie') /
//{
//alert("sending to ie");
//location.href = 'http://www.devIe.com/';
//}
//else if(cookieVal == 'sa') 
//{
//alert("sending to sa");
//location.href = 'http://www.devSa.com/';
//}

}



$(document).ready(function()
{
	checkCookie();
	setCookie();
	
	
	
			
});