
function BW(BildID,Bildobjekt)
{
    if(Browser())
    {
        window.document.images[BildID].src = Bildobjekt.src;
    }
    return true;
}

function BW2(BildID,Bildobjekt)
{
    if(Browser())
    {
        parent.menu.document.images[BildID].src = Bildobjekt.src;
    }
    return true;
}

function OpenWindow(datei, breite, hoehe)
{
    new_window = window.open(datei, 'PopUp', 'width='+breite+',height='+hoehe+',resizable=yes,menubar=no,scrollbars=yes,toolbar=no,locationbar=no,screenx=20,screeny=20,top=20,left=20,status=no,innerwidth=0,innerheight=0');
    new_window.resizeTo(breite, hoehe);
    new_window.focus();
}

function OpenWindow2(datei, breite, hoehe)
{
    new_window = window.open(datei, 'PopUp', 'width='+breite+',height='+hoehe+',resizable=no,menubar=no,scrollbars=no,toolbar=no,locationbar=no,screenx=50,screeny=50,top=50,left=50,status=no,innerwidth=0,innerheight=0');
    new_window.resizeTo(breite, hoehe);
    new_window.focus();
}


var noOverwrite = false;
var alertText;
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1) && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));
var is_safari = ((clientPC.indexOf('AppleWebKit')!=-1) && (clientPC.indexOf('spoofer')==-1));
var is_khtml = (navigator.vendor == 'KDE' || (document.childNodes && !document.all && !navigator.taintEnabled ));
if(clientPC.indexOf('opera')!=-1)
{
    var is_opera = true;
    var is_opera_preseven = (window.opera && !document.childNodes);
    var is_opera_seven = (window.opera && document.childNodes);
}

function BW(BildID,Bildobjekt)
{
    if(Browser())
    {
        window.document.images[BildID].src = Bildobjekt.src;
    }
    return true;
}

function OW(datei, breite, hoehe)
{
    new_window = window.open(datei, 'PopUp', 'width='+breite+',height='+hoehe+',resizable=yes,menubar=no,scrollbars=yes,toolbar=no,locationbar=no,screenx=20,screeny=20,top=20,left=20,status=no,innerwidth=0,innerheight=0');
    new_window.resizeTo(breite, hoehe);
    new_window.focus();
}

function FO(n,d)
{
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=FO(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function SH()
{
    var i,p,v,obj,args=SH.arguments;
    for (i=0; i<(args.length-2); i+=3) if((obj=FO(args[i]))!=null) { v=args[i+2];
    if(obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
