<html>
<head>
<title>handling browser language...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script language="javascript">
function browser()
{
var m_browserName = navigator.appName;
var m_userAgent = navigator.userAgent;
var m_lang = navigator.language;
var m_language = "english (default)";
// first check for the language ...
if(m_lang == "de")
{
m_language = "deutsch";
window.location.href = "
http://www.fercher.com/frameset.html"; }
if(m_lang == "en")
{
m_language = "english";
window.location.href = "
http://www.fercher.com/frameseten.html"; }
if(m_lang == "nl")
{
m_language = "dutch";
window.location.href = "
http://www.fercher.com/framesetnl.html"; }
if (m_browserName == "Netscape")
{
if (m_userAgent.indexOf("compatible") > -1)
{
if (m_userAgent.indexOf("Opera") > -1)
{
// Der Opera-Browser wird verwendet
//window.open ("standard.htm");
//alert("site was optimized for your Opera browser");
}
if (m_userAgent.indexOf("StarOffice") > -1)
{
// Der StarOffice-Browser wird verwendet
//window.open ("standard.htm");
//alert("site optimized for your StarOffice browser");
}
}
else
{
// Der Netscape-Browser wird verwendet
//window.open ("net.htm");
//alert("site optimized for your Netscape Browser");
}
}
if (m_browserName == "Microsoft Internet Explorer")
{
// Der Microsoft-Browser wird verwendet
//alert(window.location.host);
// der internetexplorer unterst. keine sprachangabe
window.location.href = "
http://www.fercher.com/frameset.html"; //alert("site optimized for your Microsoft Browser");
}
}
</script>
<body bgcolor="#999999" text="#CCCCCC" link="#CCCCCC" onload="browser();" vlink="#CCCCCC" alink="#CCCCCC">
<div align="center">
<p><font size="5"><b><font face="Courier New, Courier, mono">if your browser
doesn't link automatically, choose the link below.</font></b></font></p>
<p><b><font face="Courier New, Courier, mono" size="5"><a href="frameset.html">Ferienwohnung</a></font></b>
</p>
</div>
</body>
</html>