fullloaded = false; MenuBar = new ClassMenuBar(); doscroll = true; /* MenuBar */ function ClassMenuBar() { this.count = 0; this.menues = new Array(); this.append = ClassMenuBar_append this.print = ClassMenuBar_print; this.getMenu = ClassMenuBar_getMenu; this.hide = ClassMenuBar_hide; } function ClassMenuBar_getMenu( nr ) { return this.menues[nr]; } function ClassMenuBar_append( menu ) { menu.nr = this.count; this.menues[this.count++]=menu; } function ClassMenuBar_print( ) { var i; for (i=0;i" /*Clip-Plane*/ style="position:absolute;left:" + this.left + ";top:"+ this.top +";width:"+this.width +";" style=style + "visibility:hidden;" s = s +"
" /*Menu-Plane*/ style="position:absolute;left:" + 0 + ";top:"+ 0 +";width:"+this.width +";" if (this.bgColor != "") style=style + "background-color:"+this.bgColor+";" style=style + "visibility:hidden;" s = s + "
"; document.write(s); border = this.menuborder+this.itemborder this.height=border; for(i=0;i"); document.all('mn'+this.nr).style.height=this.height; /*Clip-Plane*/ document.write("
"); document.all('cl'+this.nr).style.height=this.height; document.all('cl' + this.nr).style.clip = "rect(0 auto auto auto)" /*Bk-Plane*/ document.all('bk'+this.nr).style.height=this.height+50; return; } if (document.layers) { document.open(); /*BK-Plane*/ style="visibility=\"hide\" left=" + (this.left-50) + " top="+ (this.top+5)+" width="+(this.width+100)+" " s="" /*Clip-Plane*/ style="left=" + this.left + " top="+ this.top +" width="+this.width +" " style=style + " visibility=\"hide\"" s = s +"" /*Menu-Plane*/ style="left=" + 0 + " top="+ 0 +" width="+this.width +" " if (this.bgColor != "" ) style=style + " bgColor=" + this.bgColor + " " style=style + " visibility=hide" s = s + ""; document.writeln(s); border = this.menuborder+this.itemborder this.height=border; for(i=0;i"); /*Clip*/ document.write(""); document.close(); document.layers['cl'+this.nr].layers['mn'+this.nr].resizeTo(this.width,this.height); document.layers['cl'+this.nr].resizeTo(this.width,this.height); document.layers['bk'+this.nr].clip.height = this.height+50; return; } /*BK-Plane*/ style="position:absolute;left:" + (this.left-50) + ";top:"+ (this.top+5)+";width:"+(this.width+100)+";" style=style + "visibility:hidden;" s="
" /*Clip-Plane*/ style="position:absolute;left:" + this.left + ";top:"+ this.top +";width:"+this.width +";" style=style + "visibility:hidden;" s = s +"
" /*Menu-Plane*/ style="position:absolute;left:" + 0 + ";top:"+ 0 +";width:"+this.width +";" if (this.bgColor != "") style=style + "background-color:"+this.bgColor+";" style=style + "visibility:hidden;" s = s + "
"; document.write(s); border = this.menuborder+this.itemborder this.height=border; for(i=0;i"); var kk; kk = document.getElementById('mn'+this.nr); //document.all('mn'+this.nr).style.height=this.height; kk.style.height=this.height; /*Clip-Plane*/ document.write("
"); kk = document.getElementById('cl'+this.nr); kk.style.height=this.height; kk.style.clip = "rect(0 auto auto auto)" /*Bk-Plane*/ kk = document.getElementById('bk'+this.nr); kk.style.height=this.height+50; return; } /* MenuItem */ function ClassMenuItem(text,onclick,bgcolor,selbgcolor,height) { this.height = height; this.text=text;this.onclick=onclick;this.bgColor=bgcolor;this.selbgColor=selbgcolor; this.print = ClassMenuItem_print; } function OnMenuItemOut(obj,color) { if (color == "") return; if (document.all) obj.style.backgroundColor = color; else { if (document.layers) obj.bgColor = color; else obj.style.backgroundColor = color; } } function OnMenuItemOver(obj,color) { if (document.all) { if (color != "") obj.style.backgroundColor = color; obj.style.cursor = "hand"; return; } if (document.layers) { if (color != "") obj.bgColor = color; return; } if (color != "") obj.style.backgroundColor = color; obj.style.cursor = "hand"; } function ClassMenuItem_print(left,top,width,menunr) { var s; var style; if (document.all) { style="position:absolute;left:" + left + ";top:"+ top + ";width:"+ width+";height:" + this.height + "; " if (this.bgColor != "" ) style=style + "background-color:"+this.bgColor+";" s = "
"; document.write(s); document.write(this.text); document.write("
"); return; } if (document.layers) { style="left=" + left + " top="+ top + " width="+ width+" height=" + this.height + " " if (this.bgColor != "" ) style=style + "bgcolor=\""+this.bgColor+"\" " s = ""; s = s + ""+ this.text +""; document.write(s); return; } style="position:absolute;left:" + left + ";top:"+ top + ";width:"+ width+";height:" + this.height + "; " if (this.bgColor != "" ) style=style + "background-color:"+this.bgColor+";" s = "
"; document.write(s); document.write(""); document.write(this.text); document.write("
"); } function ScrollMenu(nr) { var obj = MenuBar.getMenu(nr); var s; if (obj.state == 1) { if (!doscroll) { obj.pos= 0; if (document.all) document.all('mn'+nr).style.top = obj.pos; else{ if (document.layers) document.layers['cl'+nr].layers['mn'+nr].top = obj.pos; else document.getElementById('mn'+nr).style.top = obj.pos; } obj.state = 2; return; } if ( obj.pos < 0) { obj.pos= ( obj.pos+15 ) < 0 ? obj.pos+15 : 0; if (document.all) { document.all('mn'+nr).style.top = obj.pos; }else{ if (document.layers) { document.layers['cl'+nr].layers['mn'+nr].top = obj.pos; }else{ document.getElementById('mn'+nr).style.top = obj.pos; } } setTimeout("ScrollMenu("+ nr +")",5); }else{ obj.state = 2; } } if (obj.state == 3) { if (!doscroll) { obj.pos= -obj.height; if (document.all) { document.all('mn'+nr).style.top = obj.pos; }else{ if (document.layers) { document.layers['cl'+nr].layers['mn'+nr].top = obj.pos; }else{ document.getElementById('mn'+nr).style.top = obj.pos; } } obj.state = 0; return; } if ( obj.pos > (-obj.height)) { obj.pos= ( obj.pos-15 ) > -obj.height ? obj.pos-15 : -obj.height; if (document.all) { document.all('mn'+nr).style.top = obj.pos; }else{ if (document.layers) { document.layers['cl'+nr].layers['mn'+nr].top = obj.pos; }else{ document.getElementById('mn'+nr).style.top = obj.pos; } } setTimeout("ScrollMenu("+ nr +")",5); }else{ if (document.all) { document.all('bk'+nr).style.visibility = "hidden"; document.all('cl'+nr).style.visibility = "hidden"; document.all('mn'+nr).style.visibility = "hidden"; }else{ if (document.layers) { document.layers['bk'+nr].visibility = "hide"; document.layers['cl'+nr].visibility = "hide"; document.layers['cl'+nr].layers['mn'+nr].visibility = "hide"; }else{ document.getElementById('bk'+nr).style.visibility = "hidden"; document.getElementById('cl'+nr).style.visibility = "hidden"; document.getElementById('mn'+nr).style.visibility = "hidden"; } } obj.state = 0; } } } function ShowMenu(nr) { var obj; var s; if (! fullloaded) return; obj = MenuBar.getMenu(nr); if (obj==null) return; if ((obj.state == 1)||(obj.state==2)) return; if (obj.state==0) { obj.pos = -obj.height; if (document.all) { document.all('mn'+nr).style.top = -obj.height; document.all('bk'+nr).style.visibility = "visible"; document.all('cl'+nr).style.visibility = "visible"; document.all('mn'+nr).style.visibility = "visible"; }else{ if (document.layers) { document.layers['cl'+nr].layers['mn'+nr].top = -obj.height; document.layers['bk'+nr].visibility = "show"; document.layers['cl'+nr].visibility = "show"; document.layers['cl'+nr].layers['mn'+nr].visibility = "show"; }else{ document.getElementById('mn'+nr).style.top = -obj.height; document.getElementById('bk'+nr).style.visibility = "visible"; document.getElementById('cl'+nr).style.visibility = "visible"; document.getElementById('mn'+nr).style.visibility = "visible"; } } } obj.state = 1; /*Scroll-Anzeigen*/ ScrollMenu(nr); MenuBar.hide(nr); } function HideMenu(nr) { var obj; obj = MenuBar.getMenu(nr); if ((obj.state == 1)||(obj.state == 2)){ obj.state=3; ScrollMenu(nr); } } MenuBar.append(Menu = new ClassMenu(54,140,111,"#D1E6F8",0,0)); Menu.append (new ClassMenuItem("","location.href='cms.asp?Bereich=Registriert&Hauptbereich=Einstieg'","#D1E6F8","#BFDAF2",37)); Menu.append (new ClassMenuItem("","location.href='#A1'","#000000","#000000",2)); Menu.append (new ClassMenuItem("","location.href='cms.asp?Bereich=DocCheck&Hauptbereich=Einstieg'","#D1E6F8","#BFDAF2",37)); Menu.append (new ClassMenuItem("","location.href='#A1'","#000000","#000000",2)); //Menu.append (new ClassMenuItem("","location.href='cms.asp?Bereich=Referenten&Hauptbereich=Einstieg'","#D1E6F8","#BFDAF2",26)); Menu.append (new ClassMenuItem("","location.href='#A1'","#000000","#000000",2)); MenuBar.append(Menu = new ClassMenu(294,140,111,"#D1E6F8",0,0)); Menu.append (new ClassMenuItem("","location.href='cms.asp?Bereich=RegistriertAnwender&Hauptbereich=Einstieg'","#D1E6F8","#BFDAF2",37)); Menu.append (new ClassMenuItem("","location.href='#A1'","#000000","#000000",2)); //location.href='cms.asp?Bereich=Registrieren&Hauptbereich=Einstieg'