
 var ie = (document.all ? 1 : 0)

 function gg(d) {
    if(document.getElementById(d))
       return document.getElementById(d);
 }

 function g(d) {
    return gg(d);
 }

 function fenster(wert,b,h,scroll) {
         if(!scroll) scroll="no";
         if(wert)
           {
            var zufall = Math.random();
            zufall2 = zufall.toString(10);
            zufall3 = zufall2.replace(/0./,"");
            Fenster = open(wert,zufall3,"width="+b+",height="+h+",screenX=5,screenY=5,scrollbars="+scroll+",status=yes");
            Fenster.moveTo(screen.width/2-365,screen.height/2-340);
            Fenster.focus();
           }
 }

 function farbwechsel(feld,farbe) {
        document.getElementById(feld).style.background=farbe;
 }

