function checkBrowser()
{
        this.ver = navigator.appVersion;
        this.dom = document.getElementById?1:0;
        this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
        this.ie55 = (this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?1:0;
        this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
        this.ie4 = (document.all && !this.dom)?1:0;
        this.ns5 = (this.dom && parseInt(this.ver) >= 5) ?1:0;
        this.ns4 = (document.layers)?1:0;
        this.bw  = (this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.ie55);
        this.os  = (this.ver.indexOf("Macintosh")>-1)? "mac":"pc";
        this.ie  = (this.ie5 || this.ie4 || this.ie55 || this.ie6);
        this.ns  = (this.ns4 || this.ns5);
        this.win = (this.ver.indexOf("Win")>-1) ? 1:0;
        this.mac = (this.ver.indexOf("Mac")>-1) ? 1:0;
        this.lin = ((this.ver.indexOf("Lin")>-1) || (this.ver.indexOf("X11")>-1)) ? 1:0;
        return this;
}

function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);

var is = new checkBrowser();

//alert(is.dom);

menu_anz = 5;
Zaehler = setTimeout("hideAll()",600);

function Counter() {
    Zaehler = setTimeout("hideAll()",600);
    }

function hideAll(){
         for (i=1; i < menu_anz+1; i++) {
             if (document.getElementById){
                // Unterstützt DOM
                document.getElementById('menu0'+ eval(i)).style.visibility = 'hidden';
             }
             else {
                // Unterstützt kein DOM
                if ( eval('document.all.menu0' + i)) eval('document.all.menu0' + i).style.visibility = 'hidden';
                }
             }
        }

function show(id){
        hideAll(Zaehler);
        if (Zaehler!=0)
           window.clearTimeout(Zaehler);

        if (document.getElementById) {
           document.getElementById(id).style.visibility='visible';
        }
        else {
			eval('document.all.' + id + '.style.visibility="visible"' );
        }
      }