/* Opera  on  */


function newWin(url,name,options) {
    neu = window.open(url,name,options);
}

function checkBrowser() {
  this.ver=navigator.appVersion
  this.dom=document.getElementById?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 && !this.dom)?1:0;
  this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
  return this
}

bw=new checkBrowser()

fromTop=66

function hide() { }

function cursor(l, w) { zo=document.getElementById('Zeigeroben');
zo.style.left=l;
zo.style.width=w;
}
function cursortop(id,color){document.getElementById(id).style.background=color;}
function tdclick(cell) { document.location.href = cell.firstChild.href; }
function showBalloon(divname,txt,x,y,w,event) {d=document.getElementById(divname);d.style.visibility='visible';if (x!=0 || y!=0) {y=y+event.pageY;d.style.left=x+"px";d.style.top=y+"px";} if (w!=0) d.style.width=w;d.innerHTML=txt;}
function hideBalloon(divname) {document.getElementById(divname).style.visibility='hidden';}

/* makeMenuBar Mozilla 5 */
function makeMenuBar(obj,nest,vis){
this.css=document.getElementById(obj).style;
this.hideIt=b_hideIt;this.showIt=b_showIt;
if(vis) this.css.visibility='hidden';
this.evnt=document.getElementById(obj);
}

/* get's the top position */
function b_gettop(){
var gleft=(n) ? eval(this.css.top):eval(this.css.pixelTop);
return gleft;
}


/* show and hide */
function b_showIt(){
this.css.visibility="visible"
}
function b_hideIt(){
this.css.visibility="hidden"
}


/* menuBar-Init */
function menuBarInit(){
initMenu=true;
oSub=new Array()
oTop=new Array()
if (numberOfMenus == 0) return;
for(i=0;i<numberOfMenus;i++){
oTop[i]=new makeMenuBar('divTop'+i,'divBg')
oSub[i]=new makeMenuBar('divSub'+i,'divBg.document.divTop'+i,1)
oSub[i].evnt.onmouseout=evOut;
}
oMenu=new makeMenuBar('divBg')
oMenu.css.top=fromTop;
oMenu.css.visibility='visible'
hide()
}


/* evOut Mozilla 5 */
function evOut(){
}

/* jsShow for Mozilla */
function ieShow(num) {
oSub[num].showIt();
}


/* extract */
function extract(num){
if (initMenu==true){
if(hideAll){
for(i=0;i<oSub.length;i++){
if(num!=i) oSub[i].hideIt()
}
}
swap(0)
oTop[num].css.zIndex="3"
oSub[num].showIt();}
}


/*   */
function swap(i){
if (document.layers){
if (i==1){
 window.document.divBg.visibility = "hidden"}
else{
 window.document.divBg.visibility = "visible"}
}
}


/*   */
function hide(){
if(hideAll && initMenu==true){
cursor(-50,'');
for(i=0;i<oSub.length;i++){
oSub[i].hideIt()
}
}
swap(1)}

function init() { menuBarInit(); }



