if(location.hash.length>0)
{	
	// spliturl to remove hash from end 
	var startingurl = document.URL;
	var spliturl = startingurl.substring(0,startingurl.indexOf("#"));
	
	var docdomain = document.domain;
		
if (location.hash.indexOf("#us")==0)
	{
	var newlocation = spliturl.replace(docdomain,docdomain+"/int");
	window.location.replace(newlocation);
	}
	
if (location.hash.indexOf("#uk")==0)
	{
	var newlocation = spliturl.replace(docdomain,docdomain+"/uk");
	window.location.replace(newlocation);
	}
	
}