//browser = navigator.appName
//ver = navigator.appVersion
//version = ver.substring(0,1)
//if (browser=="Internet Explorer") {
//  if (version=="3")
//    document.location.href="ie.php"
//  if (version=="4")
//    document.location.href="ie.php"
//  if (version=="5")
//    document.location.href="ie.php"
//

var useragent = navigator.userAgent;
var bName = (useragent.indexOf('Opera') > -1) ? 'Opera' : navigator.appName;
var pos = useragent.indexOf('MSIE');
if (pos > -1) 
{
bVer = useragent.substring(pos + 5);
var pos = bVer.indexOf(';');
var bVer = bVer.substring(0,pos);
}
var pos = useragent.indexOf('Opera');
if (pos > -1) 
{
bVer = useragent.substring(pos + 6);
var pos = bVer.indexOf(' ');
var bVer = bVer.substring(0, pos);
}

if (bName == "Netscape") 
{
var bVer = useragent.substring(8);
var pos = bVer.indexOf(' ');
var bVer = bVer.substring(0, pos);
}

if (bName == "Netscape" && parseInt(navigator.appVersion) >= 5) 
{
var pos = useragent.lastIndexOf('/');
var bVer = useragent.substring(pos + 1);
}
/////////////////////////////////////////////////////////////////////
// IE 3 Weiterleitung
/*
if(bName=="Microsoft Internet Explorer"&&bVer >="3.0" &&bVer <"4.0")
{ location="406.html"; }
// IE 4 Weiterleitung
if(bName=="Microsoft Internet Explorer"&&bVer <"5.5" &&bVer >="4.0")
{ location="406.html"; }
// IE 5 Weiterleitung
if(bName=="Microsoft Internet Explorer"&&bVer <"5.5" &&bVer >"4.5")
{ location="406.html"; }
// IE 5.5 Weiterleitung
if(bName=="Microsoft Internet Explorer"&&bVer =="5.5" )
{ location="406.html"; }
// IE 6 Weiterleitung
if(bName=="Microsoft Internet Explorer"&&bVer <"7")
{ location="406.html"; }
// Opera 3 Weiterleitung
if(bName=="Opera"&&bVer >="3.0" && bVer < "4.0")
{ location="browserwarning"; }
// Opera 4 Weiterleitung
if(bName=="Opera"&&bVer>="4.0" &&bVer < "5.0")
{ location="browserwarning"; }
// Opera 5 Weiterleitung
if(bName=="Opera"&&bVer>="5.0" &&bVer < "6.0")
{ location="browserwarning";  }
// Opera 6 Weiterleitung
if(bName=="Opera"&&bVer>="6.0" &&bVer < "7.0")
{ location="browserwarning"; }
// Opera 7 Weiterleitung
if(bName=="Opera"&&bVer>="7.0" &&bVer < "8.0")
{ location="browserwarning"; }
// Netscape 4.x Weiterleitung
if(bName=="Netscape"&&bVer >="4.0" &&bVer < "5.0")
{ location="browserwarning"; }
// Netscape 6 Weiterleitung
if(bName=="Netscape"&&bVer >="6.0" &&bVer < "7.0")
{ location="browserwarning"; }
// Netscape 7 Weiterleitung
if(bName=="Netscape"&&bVer >="7.0" &&bVer < "8.0")
{ location="browserwarning"; }
//-->
*/
