	var language = getCookie("LCHCLanguage");
	//alert(language);
	if (language == "es") 
	{
		//alert(location.href.substring(0,location.href.lastIndexOf(".")));
		var lastdot = location.href.lastIndexOf(".");
		var indextest = location.href.substring(lastdot+1, lastdot+4);
		// alert (indextest);
		if (indextest == "org" || indextest == "com") location.replace(location.href.substring(0,lastdot+4) + "/index." + language + ".html");
		else location.replace(location.href.substring(0,lastdot) + "." + language + ".html");
	}
