var menuAnzahl=7;          // Anzahl der Menus
var menuexpandby=10;       // expand in schritten
var menuexpandspeed=2;     // expand in time
var hideMenuTimer=5000;

function menuon(x,y) {
  var txt="top.content.scrollTo(0,0)"; eval(txt);
      txt="top.content.document.getElementById('menu"+x+"').style.left=-200"; eval(txt);
      txt="top.content.document.getElementById('menu"+x+"').style.visibility='visible'"; eval(txt);
  myheight=0; 
  mymenu=x;
  mymenuleft=y;
  menuExpand();
  }

function menuExpand() {
  var txt="top.content.document.getElementById('menu"+mymenu+"').style.left="+mymenuleft; eval(txt);
      txt="top.content.document.getElementById('menu"+mymenu+"').style.height="+myheight; eval(txt);
  myheight+=menuexpandby;
  if(myheight<200) { 
    checkMenuExpand=setTimeout("menuExpand()",menuexpandspeed);
	}
  else {
    clearTimeout(checkMenuExpand);
    }
  }  

function menuoff() {
  for(i=0;i<menuAnzahl;i++) {
    var txt="top.content.document.getElementById('menu"+i+"').style.visibility='hidden'"; eval(txt);
    }
  }

