var imagepath="/www/home_neu.nsf/"; var starti=0; var m1=new Array(); var m_mouseover=0; var m_mouseout=0; var timer; var aktmenu=0; function active_L1() { this.style.backgroundImage="url(/icons/ecblank.gif)"; setbgcolor(this,"#FFCC00"); if(this.prevME) this.prevME.style.backgroundImage="url(/icons/ecblank.gif)"; // document.getElementById("headpicture").src=imgsrcs[this.pos]; } function active_L2() { if(this.img.src.indexOf("_i")>-1) this.img.src="navi_2_a.gif"; setbgcolor(this,"#FFCC00"); var tmp=this; while(tmp.prevME) tmp=tmp.prevME; if(tmp.prevlevel) tmp.prevlevel.active(); } function active_L3() { // if(this.img.src.indexOf("_i")>-1) // this.img.src="navi_3_a.gif"; setcolor(this.getElementsByTagName("a")[1],'#000000'); // setbgcolor(this.getElementsByTagName("td")[0],'#000000'); var tmp=this; while(tmp.prevME) tmp=tmp.prevME; if(tmp.prevlevel) tmp.prevlevel.active(); } function inactive_L1() { setbgcolor(this,"#9A9A9A"); this.style.backgroundImage="url(navi1-bg.gif)"; if(this.prevME) this.prevME.style.backgroundImage="url(navi1-bg.gif)"; } function inactive_L2() { if(this.img.src.indexOf("_a")>-1) this.img.src="navi_2_i.gif"; setbgcolor(this,"#CDCDCD"); } function inactive_L3() { // if(this.img.src.indexOf("_a")>-1) this.img.src="navi_3_i.gif"; setcolor(this.getElementsByTagName("a")[1],'#9D9D9D'); // setbgcolor(this.getElementsByTagName("td")[0],'#E6E6E6'); } function initpos(obj) { if(obj.level==1) { var el=obj; var w=getwidth(obj); if(el.childNodes) // für Mozillas bis mind. 1.2.1 { var i; var tmp=el.childNodes[0].offsetWidth; for(i=1;iw) { obj.style.width=tmp+"px"; } } if(obj.prevME) setleft(obj,getleft(obj.prevME)+getwidth(obj.prevME)); else setleft(obj,210); settop(obj,90); }else { if(isvisible(obj)) { if( (!obj.prevME)&& (obj.level==2) ) menuheight[0]=230; //home if(obj.className.indexOf("start")>-1) { if(!obj.nextME) obj.style.borderBottomWidth="1px"; if(!obj.prevME) menuheight[0]=250; } settop(obj,menuheight[0]); setleft(obj,10); menuheight[0]+=getheight(obj); } } if(obj.nextlevel) initpos(obj.nextlevel); if(obj.nextME) initpos(obj.nextME); } function setactivemenuentry(id) { hideall(m1[aktmenu]); var me=getelementbyid(id); if(me) { if(me.nextlevel) me.nextlevel.showlevel(); else me.showlevel(); me.active(); } initpos(m1[aktmenu]); actid=id; } function initmenu(id,sep) { var temp=new Array; var divs=document.getElementById(id).getElementsByTagName("div"); var i; var curlevel=0; m1[aktmenu]=divs[0]; divs[0].splitid=divs[0].getAttribute("id").split(sep); divs[0].level=curlevel+1; divs[0].pos=0; divs[0].init=init_M; divs[0].init(); temp[curlevel]=divs[0]; for(i=1;i0;j--) { if(!temp[curlevel].splitid[j]) temp[curlevel].splitid[j]="0"; } } if(divs[i].splitid[curlevel]!=temp[curlevel].splitid[curlevel]) { for(j=0;j