// JavaScript Document

function eng()	{
var str=window.location.href;
//var engstr=str.replace("esp"||"ger","eng");
var engstr;
	if (str.indexOf("esp",0)>=0)	{
		engstr=str.replace("esp","eng");
	}
	else if(str.indexOf("ger",0)>=0)	{
		engstr=str.replace("ger","eng");
	}
window.location.replace(engstr);
}

function espanol()	{
var str=window.location.href;
//var espstr=str.replace("eng"||"ger","esp");
var espstr;
	if (str.indexOf("eng",0)>=0)	{
		espstr=str.replace("eng","esp");
	}
	else if(str.indexOf("ger",0)>=0)	{
		espstr=str.replace("ger","esp");
	}
window.location.replace(espstr);
}

function ger()	{
var str=window.location.href;
//var gerstr=str.replace("eng"||"esp","ger");
var gerstr;
	if (str.indexOf("eng",0)>=0)	{
		gerstr=str.replace("eng","ger");
	}
	else if(str.indexOf("esp",0)>=0)	{
		gerstr=str.replace("esp","ger");
	}
window.location.replace(gerstr);
}
