function IEbrowser()

{

if (navigator.appName == "Microsoft Internet Explorer") {return true}

else {return false}  

}





function openwindow(seite,titel,breite,hoehe,posX,posY,params)

{

if (IEbrowser())

 {

 fenster = window.open(seite,titel,"width="+breite+",height="+hoehe+",top="+posX+",left="+posY+","+params+"screenX=$blabla.focus()");

 }

else

 {

 fenster = window.open(seite,titel,"width="+breite+",height="+hoehe+",screenx="+posX+",screeny="+posY+","+params+"screenX=$blabla.focus()");

 }

}



function startfenster()

{

 Xpos = (screen.width-700)/2;

 Ypos = (screen.height-400)/2;

 openwindow("flashstart.html","main","700","400",Xpos,Ypos,"resizable=no,scrollbars=no,toolbar=no,menubar=no,personalbar=no,statusbar=no");

}



function refwin(ref)

{

 Xpos = (screen.width - 310)/2;

 Ypos = (screen.height - 350)/2;

 openwindow("ref/bild.php?bverz="+ref,"refwindow","310","350",Ypos,Xpos,"resizable=no,scrollbars=no,toolbar=no,menubar=no,personalbar=no,statusbar=no");

}



function kalkfenster()

{

 Xpos = (screen.width-700)/2+20;

 Ypos = (screen.height-400)/2+20;

 openwindow("dvd/index.html","kalkulator","700","400",Xpos,Ypos,"resizable=no,scrollbars=no,toolbar=no,menubar=no,personalbar=no,statusbar=no");

}


function newswin()
{
 Xpos = (screen.width-150)/2;
 Ypos = (screen.height-200)/2;
 openwindow("news.html","news","150","200",Xpos,Ypos,"resizable=no,scrollbars=no,toolbar=no,menubar=no,personalbar=no,statusbar=no");
}


