var languageinfo=navigator.language? navigator.language : navigator.userLanguage
	languageinfo = languageinfo.substring(0, 2);
	if(languageinfo == "de")
	{
		window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=0";
		
				var detect = navigator.userAgent.toLowerCase();
				var browser;
				var doCheckIt = function (bString) {
				place = detect.indexOf(bString) + 1;
				return place;
				};
				if (doCheckIt('safari')) { browser = "safari"; window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=0"; }
	
	} 
	
	else if(languageinfo == "en")
	{
		window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=1";
		
				var detect = navigator.userAgent.toLowerCase();
				var browser;
				var doCheckIt = function (bString) {
				place = detect.indexOf(bString) + 1;
				return place;
				};
				if (doCheckIt('safari')) { browser = "safari"; window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=1"; }
				
	} 
	
	else if(languageinfo == "es")
	{
		window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=2";
		
				var detect = navigator.userAgent.toLowerCase();
				var browser;
				var doCheckIt = function (bString) {
				place = detect.indexOf(bString) + 1;
				return place;
				};
				if (doCheckIt('safari')) { browser = "safari"; window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=2"; }
	} 
	
	else if(languageinfo == "fr")
	{
		window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=3";
		
				var detect = navigator.userAgent.toLowerCase();
				var browser;
				var doCheckIt = function (bString) {
				place = detect.indexOf(bString) + 1;
				return place;
				};
				if (doCheckIt('safari')) { browser = "safari"; window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=3"; }
				
	} 
	
	else if(languageinfo == "ru")
	{
		window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=4";
		
				var detect = navigator.userAgent.toLowerCase();
				var browser;
				var doCheckIt = function (bString) {
				place = detect.indexOf(bString) + 1;
				return place;
				};
				if (doCheckIt('safari')) { browser = "safari"; window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=4"; }
				
	} 
	
	else	{
		window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=0";
		
				var detect = navigator.userAgent.toLowerCase();
				var browser;
				var doCheckIt = function (bString) {
				place = detect.indexOf(bString) + 1;
				return place;
				};
				if (doCheckIt('safari')) { browser = "safari"; window.document.location.href = "http://www.jaudt.de/index.php?id=1&L=0"; }
	
	} 
	


