browser = navigator.appName;
version = navigator.appVersion;
browser_version = navigator.userAgent.toLowerCase();
os = navigator.platform;
ie = "Microsoft Internet Explorer";
nn = "Netscape";
if (browser_version.indexOf("mozilla/4.")>-1 && browser == nn)
{
document.write('');
}
else {document.write('');
}
function check()
{
var str = document.form.email.value
if (document.form.email.value.indexOf ('@', 0) == -1 || str.length < 6 || str.length > 30 || document.form.email.value.indexOf ('.',0) == -1){
alert("\nBitte geben Sie eine gueltige e-Mail-Adresse ein!");
document.form.email.select();
document.form.email.focus();
return false;
}
}
NS4 = (document.layers) ? true : false;
IE4 = (document.all && !document.getElementById) ? true : false;
IE5 = (document.all && document.getElementById) ? true : false;
NS6 = (!document.all && document.getElementById) ? true : false;
var a;
function show(a)
{
if(a == "true")
{
}
else
{
if(document.layers)
{
elm = document.layers[a];
elm.visibility="visible";
}
if(IE4)
{
elm = document.all[a];
elm.style.visibility = "visible";
}
if(IE5||NS6)
{
elm = document.getElementById(a);
elm.style.visibility= "visible";
}
}
}
function initlay(){
if(NS4)
{ z= document.layers;
xx= window.innerHeight;
if(document.layers["bottom_menu1"])
{
x= document.layers["bottom_menu1"].clip.top;
h= document.layers["bottom_menu1"].clip.height;
document.layers["bottom_menu1"].top = xx-h;
if(z["bottom_menu2"])
{
z["bottom_menu2"].top = xx-h;
}
if(z["bottom_menu3"])
{
z["bottom_menu3"].top = xx-h;
}
if(z["bottom_menu4"])
{
z["bottom_menu4"].top = xx-h;
}
if(z["bottom_menu5"])
{
z["bottom_menu5"].top = xx-h;
}
if(z["bottom_menu6"])
{
z["bottom_menu6"].top = xx-h;
}
if(z["bottom_u_menu1"])
{
heigh1 = z["bottom_u_menu1"].clip.height
z["bottom_u_menu1"].top = xx-h-heigh1;
}
if(z["bottom_u_menu2"])
{
heigh2 = z["bottom_u_menu2"].clip.height
z["bottom_u_menu2"].top = xx-h-heigh2;
}
if(z["bottom_u_menu3"])
{
heigh3 = z["bottom_u_menu3"].clip.height
z["bottom_u_menu3"].top = xx-h-heigh3;
}
if(z["bottom_u_menu4"])
{
heigh4 = z["bottom_u_menu4"].clip.height
z["bottom_u_menu4"].top = xx-h-heigh4;
}
if(z["bottom_u_menu5"])
{
heigh5 = z["bottom_u_menu5"].clip.height
z["bottom_u_menu5"].top = xx-h-heigh5;
}
if(z["bottom_u_menu6"])
{
heigh6 = z["bottom_u_menu6"].clip.height
z["bottom_u_menu6"].top = xx-h-heigh6;
}
}
}
if(IE4)
{ z= document.all;
xx= document.body.clientHeight;
if(z["bottom_menu1"])
{
x= z["bottom_menu1"].offsetTop;
h= z["bottom_menu1"].offsetHeight;
z["bottom_menu1"].style.pixelTop = xx-h;
if(z["bottom_menu2"])
{
z["bottom_menu2"].style.pixelTop = xx-h;
}
if(z["bottom_menu3"])
{
z["bottom_menu3"].style.pixelTop = xx-h;
}
if(z["bottom_menu4"])
{
z["bottom_menu4"].style.pixelTop = xx-h;
}
if(z["bottom_menu5"])
{
z["bottom_menu5"].style.pixelTop = xx-h;
}
if(z["bottom_menu6"])
{
z["bottom_menu6"].style.pixelTop = xx-h;
}
if(z["bottom_u_menu1"])
{
heigh1 = z["bottom_u_menu1"].offsetHeight
z["bottom_u_menu1"].style.top = xx-h-heigh1;
}
if(z["bottom_u_menu2"])
{
heigh2 = z["bottom_u_menu2"].offsetHeight
z["bottom_u_menu2"].style.top = xx-h-heigh2;
}
if(z["bottom_u_menu3"])
{
heigh3 = z["bottom_u_menu3"].offsetHeight
z["bottom_u_menu3"].style.top = xx-h-heigh3;
}
if(z["bottom_u_menu4"])
{
heigh4 = z["bottom_u_menu4"].offsetHeight
z["bottom_u_menu4"].style.top = xx-h-heigh4;
}
if(z["bottom_u_menu5"])
{
heigh5 = z["bottom_u_menu5"].offsetHeight
z["bottom_u_menu5"].style.top = xx-h-heigh5;
}
if(z["bottom_u_menu6"])
{
heigh6 = z["bottom_u_menu6"].offsetHeight
z["bottom_u_menu6"].style.top = xx-h-heigh6;
}
}
}
if(IE5||NS6)
{ z= document.getElementById;
xx= document.body.clientHeight;
test = document.getElementById("testing");
test.style.top = xx-20;
if(z("bottom_menu1"))
{
x= z("bottom_menu1").offsetTop;
h= z("bottom_menu1").offsetHeight;
z("bottom_menu1").style.top = xx-h;
if(z("bottom_menu2"))
{
z("bottom_menu2").style.top = xx-h;
}
if(z("bottom_menu3"))
{
z("bottom_menu3").style.top = xx-h;
}
if(z("bottom_menu4"))
{
z("bottom_menu4").style.top = xx-h;
}
if(z("bottom_menu5"))
{
z("bottom_menu5").style.top = xx-h;
}
if(z("bottom_menu6"))
{
z("bottom_menu6").style.top = xx-h;
}
if(z("bottom_u_menu1"))
{
heigh1 = z("bottom_u_menu1").offsetHeight
z("bottom_u_menu1").style.top = xx-h-heigh1;
}
if(z("bottom_u_menu2"))
{
heigh2 = z("bottom_u_menu2").offsetHeight
z("bottom_u_menu2").style.top = xx-h-heigh2;
}
if(z("bottom_u_menu3"))
{
heigh3 = z("bottom_u_menu3").offsetHeight
z("bottom_u_menu3").style.top = xx-h-heigh3;
}
if(z("bottom_u_menu4"))
{
heigh4 = z("bottom_u_menu4").offsetHeight
z("bottom_u_menu4").style.top = xx-h-heigh4;
}
if(z("bottom_u_menu5"))
{
heigh5 = z("bottom_u_menu5").offsetHeight
z("bottom_u_menu5").style.top = xx-h-heigh5;
}
if(z("bottom_u_menu6"))
{
heigh6 = z("bottom_u_menu6").offsetHeight
z("bottom_u_menu6").style.top = xx-h-heigh6;
}
}
}
}
function logwin()
{
x=screen.availHeight;
y=screen.availWidth
windo = window.open('','fenster','width=1024,height=728,left=0,top=0,scrollbars=yes');
windo.resizeTo(y,x);
}
function mailer(s){
location.href=s;
}
function tab_id(){}
function scroll()
{
g = document.getElementById("bottom_menu1");
z= g.offsetTop;
hoehe_scroll = document.body.scrollHeight;
unterschied = hoehe_scroll-xx;
}
function positions(a)
{
if(a == "true")
{
}
else
{
if(document.layers)
{
window.innerWidth;
window.innerHeight;
elm = document.layers[a];
if(y>800)
{
links=230;
}
if(y<801){links=150;}
elm.left = y/2-links;
elm.top = 74;
}
if(IE4)
{
y = document.body.clientWidth || window.innerWidth;
x = document.body.clientHeight || window.innerHeight;
elm = document.all[a];
if(y>800)
{
links=230;
}
if(y<801){links=150;}
elm.style.pixelLeft = y/2-links;
elm.style.pixelTop = 74;
}
if(IE5||NS6)
{
y = document.body.clientWidth || window.innerWidth;
x = document.body.clientHeight || window.innerHeight;
elm = document.getElementById(a);
if(y>800)
{
links=230;
}
if(y<801){links=150;}
elm.style.left = y/2-links;
elm.style.top = 74;
}
}
}