var nS=new Array;var hS=new Array;var nL=new Array;var hL=new Array;var nTCode=new Array;var AnimStep=0;var AnimHnd=0;var HTHnd=new Array;var MenusReady=false;var imgLRsc=new Image;var imgRRsc=new Image;var smHnd=0;var lsc=null;var tmrHideHnd=0;var IsOverHS=false;var IsContext=false;var IsFrames=false;var AnimSpeed=36;var TimerHideDelay=1066;var SubMenusDelay=200;var cntxMenu='';var DoFormsTweak=true;var DMB_MM_swapImgRestore;var DMB_MM_nbGroup;function GetOPStyle(){;}function SetOPStyle(){;}var nsOW;var nsOH;var mFrame;var cFrame=self;var OpenMenus=new Array;var nOM=0;var mX;var mY;var BV=parseFloat(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);var BN=navigator.appName;var IsWin=(navigator.userAgent.indexOf('Win')!=-1);var IsMac=(navigator.userAgent.indexOf('Mac')!=-1);var KQ=(BN.indexOf('Konqueror')!=-1&&(BV>=5))?true:false;var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false;var NS=(BN.indexOf('Netscape')!=-1&&(BV>=4&&BV<5)&&!OP)?true:false;var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false;var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM||KQ)?true:false;if(!eval(frames['self'])){frames.self=window;frames.top=top;}function myMMfcn(){if(nOM>0){m=OpenMenus[1];if(m.state==0||typeof(m.state=='undefined'))m.state=1;if(m.state==1){m.state=2;var f='DMB_MM_nbGroup(';for(var i=0;i<arguments.length;i++){switch(typeof(arguments[i])){case 'string':f+="'"+arguments[i]+"'";break;case 'number':f+=arguments[i].toString();break;}if(i<arguments.length-1) f+=',';}f+=')';eval(f);}}}var fx=0;hS[0]="border:0px solid S:U:11px000000ECECEC;";hS[1]=hS[0];hS[2]=hS[0];hS[3]=hS[0];hS[4]=hS[0];hS[5]=hS[0];hS[6]=hS[0];hS[7]=hS[0];hS[8]=hS[0];hS[9]=hS[0];hS[10]=hS[0];hS[11]=hS[0];hS[12]=hS[0];hS[13]=hS[0];hS[14]=hS[0];hS[15]=hS[0];hS[16]=hS[0];hS[17]=hS[0];hS[18]=hS[0];hS[19]=hS[0];hS[20]=hS[0];hS[21]=hS[0];hS[22]=hS[0];hS[23]=hS[0];hS[24]=hS[0];hS[25]=hS[0];hS[26]=hS[0];hS[27]=hS[0];hS[28]=hS[0];hS[29]=hS[0];hS[30]=hS[0];hS[31]=hS[0];hS[32]=hS[0];hS[32]=hS[0];hS[33]=hS[0];hS[34]=hS[0];hS[35]=hS[0];hS[36]=hS[0];hS[37]=hS[0];hS[38]=hS[0];hS[39]=hS[0];hS[40]=hS[0];hS[41]=hS[0];hS[42]=hS[0];hS[43]=hS[0];hS[44]=hS[0];hS[45]=hS[0];hS[46]=hS[0];hS[47]=hS[0];hS[48]=hS[0];hS[49]=hS[0];hS[50]=hS[0];var ABRIOff=new Image;var ABRIOn=ABRIOff;ABRIOff.src='/images/pfeil.gif';var AHRIOff=ABRIOff;var AHRIOn=ABRIOff;var AKRIOff=ABRIOff;var AKRIOn=ABRIOff;var ACRIOff=ABRIOff;var ACRIOn=ABRIOff;var tbUseToolbar=false;var lmcHS=null;function GetCurCmd(e){if(SM) var cc=e;else{var cc=mFrame.window.event;if(!cc) cc=cFrame.window.event;cc=cc.srcElement;}while(cc.id==""){cc=cc.parentElement;if(cc==null) break;}return cc;}function HoverSel(mode,imgLName,imgRName,e){var nS;var mc;if(mode==0&&OpenMenus[nOM].SelCommand!=null) HoverSel(1);if(mode==0){mc=GetCurCmd(e);if(nOM>1){if(mc==OpenMenus[nOM-1].SelCommand) return false;while(((BV>=5)?mc.parentNode.parentNode.id!=OpenMenus[nOM].mName:mc.parentElement.parentElement.id!=OpenMenus[nOM].mName)) Hide();}if(imgLName) imgLRsc=eval(imgLName+"On");if(imgRName) imgRRsc=eval(imgRName+"On");if(OP) mc.opw=OpenMenus[nOM].width-2*mc.style.left;else{mc.opw=mc.style.width;mc.b=mc.style.borderLeft;mc.hasBorder=mc.b.split(" ").length>1;}if(!mc.nS){if(OP) mc.nS=GetOPStyle(mc);else mc.nS=SM?mc.getAttribute("style"):mc.style.cssText;mc.hS=GetCStyle(mc.style)+((SM||KQ)?xrep(hS[mc.id],"hand","pointer"):hS[mc.id]);}OpenMenus[nOM].SelCommand=mc;OpenMenus[nOM].SelCommandPar=[imgLName,imgRName,mc.nS];if(SM||KQ){IsOverHS=false;if(OP) SetOPStyle(mc,mc.hS);else mc.setAttribute("style",mc.hS);}else mc.style.cssText=mc.hS;}else{mc=(mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;imgLName=(mode==1)?OpenMenus[nOM].SelCommandPar[0]:OpenMenus[nOM].OpenerPar[0];imgRName=(mode==1)?OpenMenus[nOM].SelCommandPar[1]:OpenMenus[nOM].OpenerPar[1];nS=(mode==1)?OpenMenus[nOM].SelCommandPar[2]:OpenMenus[nOM].OpenerPar[2];mc.style.background="";if(IsMac) mc.style.border="0px none";if(SM||KQ){if(OP) SetOPStyle(mc,nS);else mc.setAttribute("style",nS);}else mc.style.cssText=((BV<5)?GetCStyle(mc.style):"")+nS;if(imgLName) imgLRsc=eval(imgLName+"Off");if(imgRName) imgRRsc=eval(imgRName+"Off");OpenMenus[nOM].SelCommand=null;}if(imgLName) mFrame.document.images[imgLName].src=_fip(imgLRsc);if(imgRName) mFrame.document.images[imgRName].src=_fip(imgRRsc);if(!OP) FixHover(mc,mode);return true;}function FixHover(mc,mode){var hasBorder;var bw;if(mode==0){if(BV>=5) s=mc.getElementsByTagName("SPAN")[0];else s=mc.document.all.tags("SPAN")[0];mc.s=s;mc.stop=s.style.top;mc.sleft=s.style.left;hasBorder=mc.style.borderLeft.split(" ").length>1;if(hasBorder != mc.hasBorder){bw=(hasBorder?-GetBorderWidth(mc.style.borderLeft):GetBorderWidth(mc.b));s.style.left=parseInt(s.style.left)+bw+"px";s.style.top=parseInt(s.style.top)+bw+"px";if(SM) with(mc.style){mc.cwidth=width;mc.cheight=height;width=parseInt(width)+2*bw+"px";height=parseInt(height)+2*bw+"px";}}}else{mc.s.style.top=mc.stop;mc.s.style.left=mc.sleft;if(SM){mc.style.width=mc.cwidth;mc.style.height=mc.cheight;}}}function NSHoverSel(mode,mc){var mcN;ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM]=0;if(!nOM) return false;if(mode==0&&OpenMenus[nOM].SelCommand!=null) NSHoverSel(1);if(mode==0){mcN=mc.parentLayer.layers[mc.name.substr(0,mc.name.indexOf("EH"))+"N"];mcN.mcO=mc.parentLayer.layers[mc.name.substr(0,mc.name.indexOf("EH"))+"O"];if(nOM>1) if(mc==OpenMenus[nOM-1].SelCommand) return false;while(!InMenu()&&nOM>1) Hide();OpenMenus[nOM].SelCommand=mcN;mcN.mcO.visibility="show";mcN.visibility="hide";}else{mcN=(mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;mcN.visibility="show";mcN.mcO.visibility="hide";OpenMenus[nOM].SelCommand=null;}return true;}function Hide(){ClearTimer(HTHnd[nOM]);HTHnd[nOM]=0;ClearTimer(AnimHnd);AnimHnd=0;ClearTimer(tmrHideHnd);if(nOM){if(OpenMenus[nOM].SelCommand!=null){if(IE) HoverSel(1);if(NS) NSHoverSel(1);}if(OpenMenus[nOM].Opener!=null){if(IE) HoverSel(3);if(NS) NSHoverSel(3);}OpenMenus[nOM].visibility="hidden";nOM--;if(nOM==0){if(DMB_MM_swapImgRestore)DMB_MM_swapImgRestore();if(DMB_MM_nbGroup){OpenMenus[1].state=1;DMB_MM_nbGroup('out');}}}if(nOM==0){if(tbUseToolbar&&lmcHS){if(IE) hsHoverSel(1);if(NS) hsNSHoverSel(1);}FormsTweak("visible");status="";}else if(!InMenu()) HTHnd[nOM]=window.setTimeout("Hide()",TimerHideDelay/20);}function ShowMenu(mName,x,y,isCascading,hsImgName,algn){ClearTimer(smHnd);smHnd=0;if(isCascading){lsc=OpenMenus[nOM].SelCommand;smHnd=window.setTimeout("if(nOM)if(lsc==OpenMenus[nOM].SelCommand)ShowMenu2('"+mName+"',0,0,true,'',"+algn+")",SubMenusDelay);}else ShowMenu2(mName,x,y,false,hsImgName,algn);}function ShowMenu2(mName,x,y,isCascading,hsImgName,algn){var xy;ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM]=0;x=parseInt(x);y=parseInt(y);if(IE) if(BV>=5) var Menu=mFrame.document.getElementById(mName);else var Menu=mFrame.document.all[mName];if(NS) var Menu=mFrame.document.layers[mName];if(!Menu) return false;if(IE){Menu=Menu.style;if(BV>=5) Menu.frmt=mFrame.document.getElementById(mName+"frmt").style;else Menu.frmt=mFrame.document.all[mName+"frmt"].style;}if(nOM>0) if(OpenMenus[1].mName==mName&&!isCascading){IsOverHS=true;return false;}if(Menu==OpenMenus[nOM]) return false;if(AnimHnd&&nOM>0){AnimStep=100;Animate();}if(!isCascading){var oldlmcHS=lmcHS;lmcHS=null;HideAll();lmcHS=oldlmcHS;}Menu.mName=mName;Menu.Opener=nOM>0?OpenMenus[nOM].SelCommand:null;Menu.OpenerPar=nOM>0?OpenMenus[nOM].SelCommandPar:null;Menu.SelCommand=null;if(OP){Menu.width=Menu.pixelWidth;Menu.height=Menu.pixelHeight;}if(!isCascading){if(hsImgName){var imgObj=NS?FindImage(cFrame.document,hsImgName.split("|")[0]):cFrame.document.images[hsImgName.split("|")[0]];if(imgObj){var tbMode=hsImgName.split("|")[1];if(tbMode&2) x=AutoPos(Menu,imgObj,algn)[0]+(IsFrames?GetLeftTop()[0]:0);if(tbMode&1) y=AutoPos(Menu,imgObj,algn)[1]+(IsFrames?GetLeftTop()[1]:0);if(IsMac&&IE&&!SM&&(BV>=5)){x+=parseInt(mFrame.document.body.leftMargin);y+=parseInt(mFrame.document.body.topMargin);}}}}var pW=GetWidthHeight()[0]+GetLeftTop()[0];var pH=GetWidthHeight()[1]+GetLeftTop()[1];if(IE){if(SM) Menu.display="none";if(isCascading){xy=GetSubMenuPos(Menu,algn);x=xy[0];y=xy[1];x+=2;}Menu.left=((x+parseInt(Menu.width)>pW)?(isCascading?parseInt(OpenMenus[nOM].left):pW)-parseInt(Menu.width):x)+"px";Menu.top= ((y+parseInt(Menu.height)>pH)?pH-parseInt(Menu.height):y)+(OP?"":"px");if(IsWin&&!SM) Menu.clip="rect(0 0 0 0)";}if(NS){if(isCascading){xy=GetSubMenuPos(Menu,algn);x=xy[0];y=xy[1];x+=2;}Menu.moveToAbsolute((x+Menu.w>pW)?(isCascading?OpenMenus[nOM].left:pW)-Menu.w:x,(y+Menu.h>pH)?pH-Menu.h:y);}if(isCascading) Menu.zIndex=parseInt(OpenMenus[nOM].zIndex)+1;OpenMenus[++nOM]=Menu;if(SM&&!OP) FixCommands(mName);if(SM) Menu.display="inline";Menu.visibility="visible";HTHnd[nOM]=0;if((IE&&IsWin&&!SM)||(NS&&Menu.clip.width==0)) AnimHnd=window.setTimeout("Animate()",10);FormsTweak("hidden");if(!isCascading&&!IsContext) IsOverHS=true;IsContext=false;ClearTimer(tmrHideHnd);tmrHideHnd=window.setTimeout("AutoHide()",TimerHideDelay);return true;}function GetSubMenuPos(mg,a){var x;var y;var pg=OpenMenus[nOM];var sc=pg.SelCommand;if(NS){pg.width=pg.w;pg.height=pg.h;mg.width=mg.w;mg.height=mg.h;sc.width=sc.clip.width;sc.height=sc.clip.height;}else sc=sc.style;var lp=parseInt(pg.left)+parseInt(sc.left);var tp=parseInt(pg.top)+parseInt(sc.top);switch(a){case 0:x=lp;y=tp+parseInt(sc.height);break;case 1:x=lp+parseInt(sc.width)-parseInt(mg.width);y=tp+parseInt(sc.height);break;case 2:x=lp;y=tp-parseInt(mg.height);break;case 3:x=lp+parseInt(sc.width)-parseInt(mg.width);y=tp-parseInt(mg.height);break;case 4:x=lp-parseInt(mg.width);y=tp;break;case 5:x=lp-parseInt(mg.width);y=tp+parseInt(sc.height)-parseInt(mg.height);break;case 6:x=lp+parseInt(sc.width);y=tp;break;case 7:x=lp+parseInt(sc.width);y=tp+parseInt(sc.height)-parseInt(mg.height);break;}return [x,y];}function FixCommands(mName){var m=mFrame.document.getElementById(mName);if(!m.Fixed){var sd=m.getElementsByTagName("DIV");with(sd[0].style){var b=GetBorderWidth(borderLeft);width=parseInt(width)-2*b+"px";height=parseInt(height)-2*b+"px";}for(i=1;i<(sd.length);i++) with(sd[i].style){if(borderLeft.indexOf("none")==-1){width=parseInt(width)-2*GetBorderWidth(borderLeft)+"px";height=parseInt(height)-2*GetBorderWidth(borderTop)+"px";}}}m.Fixed=true;}function Animate(){var r='';var nw=nh=0;if(AnimStep+AnimSpeed>100) AnimStep=100;switch(fx){case 1:if(IE) r="0 "+AnimStep+"% "+AnimStep+"% 0";if(NS) nw=AnimStep;nh=AnimStep;break;case 2:if(IE) r="0 100% "+AnimStep+"% 0";if(NS) nw=100;nh=AnimStep;break;case 3:if(IE) r="0 "+AnimStep+"% 100% 0";if(NS) nw=AnimStep;nh=100;break;case 0:if(IE) r="0 100% 100% 0";if(NS) nw=100;nh=100;break;}if(OpenMenus[nOM]){with(OpenMenus[nOM]){if(IE) clip= "rect("+r+")";if(NS){clip.width=w*(nw/100);clip.height=h*(nh/100);}}AnimStep+=AnimSpeed;if(AnimStep<=100) AnimHnd=window.setTimeout("Animate()",25);else{ClearTimer(AnimHnd);AnimStep=0;AnimHnd=0;}}}function InTBHotSpot(){if(!tbUseToolbar) return false;var m=lmcHS;if(!m) return false;var l=parseInt(m.left);var r=l+(IE?parseInt(m.width):m.clip.width);var t=parseInt(m.top);var b=t+(IE?parseInt(m.height):m.clip.height);return ((mX>=l&&mX<=r)&&(mY>=t&&mY<=b))||IsOverHS||(nOM>0);}function InMenu(){var m=OpenMenus[nOM];if(!m) return false;var l=parseInt(m.left);var r=l+(IE?parseInt(m.width):m.clip.width);var t=parseInt(m.top);var b=t+(IE?parseInt(m.height):m.clip.height);return ((mX>=l&&mX<=r)&&(mY>=t&&mY<=b))||IsOverHS;}function SetPointerPos(e){if(IE){if(!SM){if(mFrame!=cFrame||event==null) if(mFrame.window.event==null) return;else e=mFrame.window.event;else e=event;}mX=e.clientX+GetLeftTop()[0];mY=e.clientY+GetLeftTop()[1];}if(NS){mX=e.pageX;mY=e.pageY;}}function HideMenus(e){if(nOM>0){SetPointerPos(e);if(OpenMenus[nOM].SelCommand!=null) if(!InMenu()&&!HTHnd[nOM]) HTHnd[nOM]=window.setTimeout("if(nOM>0)if(!InMenu())Hide()",TimerHideDelay);}}function FormsTweak(state){var fe;if(DoFormsTweak&&IE) for(var f=0;f<=(mFrame.document.forms.length-1);f++) for(var e=0;e<=(mFrame.document.forms[f].elements.length-1);e++){fe=mFrame.document.forms[f].elements[e];if(fe.type) if(fe.type.indexOf("select")==0) fe.style.visibility=state;}}function execURL(url,tframe){HideAll();window.setTimeout("execURL2('"+escape(_purl(url))+"','"+tframe+"')",100);}function execURL2(url,tframe){var fObj=(tframe=="_blank"?window.open(""):(tframe=="_parent"?mFrame.parent:eval(rStr(tframe))));url=rStr(unescape(url));url.indexOf("javascript:")!=url.indexOf("vbscript:")?eval(url):fObj.location.href=url;}function rStr(s){s=xrep(s,"%1E","'");s=xrep(s,"\x1E","'");if(OP&&s.indexOf("frames[")!=-1){s=xrep(s,String.fromCharCode(s.charCodeAt(7)),"'");}return xrep(s,"\x1D","\x22");}function hNSCClick(e){eval(this.TCode);}function HideAll(){if(nOM) while(nOM>0) Hide();else Hide();}function GetLeftTop(f){if(!f) f=mFrame;if(IE) if(SM) return [OP?0:f.scrollX,OP?0:f.scrollY];else if(f.document.body) return [f.document.body.scrollLeft,f.document.body.scrollTop];else return [0,0];if(NS) return [f.pageXOffset,f.pageYOffset];}function tHideAll(){IsOverHS=false;HTHnd[nOM]=window.setTimeout("if(!InMenu()&&!InTBHotSpot())HideAll();else HTHnd[nOM]=0;",TimerHideDelay);}function GetWidthHeight(f){if(!f) f=mFrame;if(IE&&!SM) return [f.document.body.clientWidth,f.document.body.clientHeight];if(NS||SM) return [f.innerWidth,f.innerHeight];}function GetBorderWidth(b){if(OP) return 0;var w;var l=b.split(" ");for(var i=0;i<l.length;i++){w=parseInt(l[i]);if(w>0) return w;}return 0;}function GetCStyle(cmc){return "position:absolute;left:"+cmc.left+    ";top:"+cmc.top+    ";width:"+(OP?cmc.pixelWidth:cmc.width)+    ";height:"+(OP?cmc.pixelHeight:cmc.height)+";";}function AutoPos(Menu,imgObj,arAlignment){var x=GetImgXY(imgObj)[0];var y=GetImgXY(imgObj)[1];var mW=parseInt(NS?Menu.w:Menu.width);var mH=parseInt(NS?Menu.h:Menu.height);switch(arAlignment){case 0:y+=GetImgWH(imgObj)[1];break;case 1:x+=GetImgWH(imgObj)[0]-mW;y+=GetImgWH(imgObj)[1];break;case 2:y-=mH;break;case 3:x+=GetImgWH(imgObj)[0]-mW;y-=mH;break;case 4:x-=mW;break;case 5:x-=mW;y-=mH-GetImgWH(imgObj)[1];break;case 6:x+=GetImgWH(imgObj)[0];break;case 7:x+=GetImgWH(imgObj)[0];y-=mH-GetImgWH(imgObj)[1];break;}return [x,y];}function GetImgXY(imgObj){var x;var y;if(IE){x=getOffset(imgObj)[0];y=getOffset(imgObj)[1];}else{y=GetImgOffset(cFrame,imgObj.name,0,0);x=imgObj.x+y[0];y=imgObj.y+y[1];}return [x,y];}function GetImgWH(imgObj){return [parseInt(imgObj.width),parseInt(imgObj.height)];}function getOffset(imgObj){x=imgObj.offsetLeft;y=imgObj.offsetTop;ce =imgObj.offsetParent;while (ce!=null){y+=ce.offsetTop;x+=ce.offsetLeft;ce=ce.offsetParent;}return [x,y];}function FindImage(d,img){var i;var tmp;if(d.images[img]) return d.images[img];for(i=0;i<d.layers.length;i++){tmp=FindImage(d.layers[i].document,img);if(tmp) return tmp;}return null;}function GetImgOffset(d,img,ox,oy){var i;var tmp;if(d.left){ox+=d.left;oy+=d.top;}if(d.document.images[img]) return [ox,oy];for(i=0;i<d.document.layers.length;i++){tmp=GetImgOffset(d.document.layers[i],img,ox,oy);if(tmp) return [tmp[0],tmp[1]];}return null;}function AutoHide(){var original_nOM=nOM;var OktoClose=true;for(;nOM>0;nOM--) if(InMenu()){OktoClose=false;break;}nOM=original_nOM;if(OktoClose&&!IsOverHS) Hide();if(nOM) if(!InMenu()) tmrHideHnd=window.setTimeout("AutoHide()",TimerHideDelay);}function ShowContextMenu(e){if(cntxMenu!=''){if(IE){SetPointerPos(e);IsContext=true;cFrame.ShowMenu(cntxMenu,mX-1,mY-1,false);return false;}if(NS) if(e.which==3){IsContext=true;cFrame.ShowMenu(cntxMenu,e.x-1,e.y-1,false);return false;}}return true;}function SetUpEvents(){if(!SM) onerror=errHandler;if(!mFrame) mFrame=cFrame;if(typeof(mFrame)=="undefined") window.setTimeout("SetUpEvents()",10);else{if(NS){mFrame.captureEvents(Event.MOUSEMOVE);mFrame.onmousemove=HideMenus;if(cntxMenu!=""){mFrame.window.captureEvents(Event.MOUSEDOWN);mFrame.window.onmousedown=ShowContextMenu;}nsOW=GetWidthHeight()[0];nsOH=GetWidthHeight()[1];window.onresize=rHnd;PrepareEvents();}if(IE){document.onmousemove=HideMenus;mFrame.document.onmousemove=document.onmousemove;mFrame.document.oncontextmenu=ShowContextMenu;if(SM&&!OP){var i=0;var m;while(mFrame.document.getElementById(i)){m=mFrame.document.getElementById(i++);m.style.width=parseInt(m.style.width)-2*parseInt(m.style.paddingLeft)+"px";m.style.height=parseInt(m.style.height)-2*parseInt(m.style.paddingTop)+"px";}}}IsFrames=(cFrame!=mFrame);MenusReady=true;if(IE) FixImages();}if(!DMB_MM_swapImgRestore&&typeof(MM_swapImgRestore)!='undefined'){DMB_MM_swapImgRestore=MM_swapImgRestore;MM_swapImgRestore=new Function('if(nOM==0)DMB_MM_swapImgRestore();');}if(!DMB_MM_nbGroup&&typeof(MM_nbGroup)!='undefined'){DMB_MM_nbGroup=MM_nbGroup;MM_nbGroup=myMMfcn;}}function errHandler(sMsg,sUrl,sLine){if(sMsg.substr(0,16)!="Access is denied"&&sMsg!="Permission denied") alert("Java Script Error\n"+      "\nDescription:"+sMsg+      "\nSource:"+sUrl+      "\nLine:"+sLine);return true;}function FixPointSize(s){if(IsWin||!NS) return s;for(var i=54;i>1;i--) if(s.indexOf("point-size="+i)!=-1) s=xrep(s,"point-size="+i,"point-size="+(i+3));return s;}function ClearTimer(t){if(t) window.clearTimeout(t);}function xrep(s,f,n){if((s.length>100)&&SM) while(s.indexOf(f)!=-1) s=s.substr(0,s.indexOf(f))+n+s.substr(s.indexOf(f)+f.length);else s=s.split(f).join(n);return s;}function rHnd(){if((GetWidthHeight()[0]!=nsOW)||(GetWidthHeight()[1]!=nsOH)) frames["top"].location.reload();}function PrepareEvents(){for(var l=0;l<mFrame.document.layers.length;l++){var lo=mFrame.document.layers[l];if(lo.layers.length){lo.w=lo.clip.width;lo.h=lo.clip.height;for(var sx=0;sx<lo.layers.length;sx++) for(var sl=0;sl<lo.layers[sx].layers.length;sl++){var slo=mFrame.document.layers[l].layers[sx].layers[sl];if(slo.name.indexOf("EH")>0){slo.document.onmouseup=hNSCClick;slo.document.TCode=nTCode[slo.name.split("EH")[1]];}}}}}function FixImages(){;}function _purl(u){return u;}SetUpEvents();function Expand(code){code=xrep(code, "","px;width:");code=xrep(code, "","px;height:");code=xrep(code, "",";z-index:1000;visibility:hidden\"><div id=\"");code=xrep(code, "",";background-color:#");xA("",";background-color:#");code=xrep(code, "        ",";border-top:");code=xrep(code, "",";border-right:");code=xrep(code, "",";border-bottom:");code=xrep(code, "","solid");code=xrep(code, "",";font-family");xA("",";font-family");code=xrep(code, "",";font-size");xA("",";font-size");code=xrep(code, "",";font-weight");xA("",";font-weight");code=xrep(code, "",";font-style");xA("",";font-style");code=xrep(code, "",";text-decoration:");xA("",";text-decoration:");code=xrep(code, "",":normal");xA("",":normal");code=xrep(code, "","none;color:#");xA("","none;color:#");code=xrep(code, "",";cursor:default");xA("",";cursor:default");code=xrep(code, ""," OnMouseOver=\"cFrame.HoverSel(0,\'");code=xrep(code, "","px;\"><img name=");code=xrep(code, ""," src=\"");code=xrep(code, "",".gif\" width=");code=xrep(code, " "," height=");code=xrep(code, "!","px;left:");code=xrep(code, "&","\',\'");code=xrep(code, ")",");\" OnClick=\"cFrame.execURL(\'");code=xrep(code, "*","px;\" align=left>");xA("*","px;\" align=left>");code=xrep(code, "-","\',0,0,true,\'\',");code=xrep(code, "3"," style=\"position:absolute;top:");xA("3"," style=\"position:absolute;top:");code=xrep(code, "8","></span></span></div>");xA("8","></span></span></div>");code=xrep(code, ":","<div nowrap style=\"position:absolute;border:");code=xrep(code, "<","this\');\"><span");code=xrep(code, "=","px;\"><div");code=xrep(code, ">","</div></span></div></div></div><div id=\"");code=xrep(code, "?",";top:");code=xrep(code, "@","</div></span></div>");code=xrep(code, "A",";\" id=");code=xrep(code, "D","</div><span");code=xrep(code, "O","#FFFFFF");code=xrep(code, "S","#FFFFFF");xA("S","#FFFFFF");code=xrep(code, "U","Verdana");xA("U","Verdana");code=xrep(code, "V","/images/");xA("V","/images/");return code;}function xA(o,n){for(var i=0;i<hS.length;i++){hS[i]=xrep(hS[i],o,n);}}

function newImage(arg) {
        if (document.images) {
                rslt = new Image();
                rslt.src = arg;
                return rslt;
        }
}

function changeImages() {
        if (document.images && (preloadFlag == true)) {
                for (var i=0; i<changeImages.arguments.length; i+=2) {
                        document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
                }
        }
}

var preloadFlag = false;
function preloadImages() {
        if (document.images) {
                images_05_over = newImage("/images/images/images_05-over.gif");
                images_08_over = newImage("/images/images/images_08-over.gif");
                preloadFlag = true;
        }
}

function preloadImagesoff() {
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function ricken(){;}
function armsport(){;}
function rickenloipe(){;}
function rickenschwinget(){;}
function sportclub(){;}
function wirobit(){;}
function moser_raschle(){;}

function popUp(url,w,h)
{
  var dim=eval
    ("'width='+w+',height='+h+',location=0,directories=0,menubar=0,scrollbars=0,status=0,locationbar=0,resizable=1,top=5,left=5'");
    Npop = window.open(url,"pop",dim);
}

function popUp2(url,titel,w,h,w2,h2,t,l,style,style2,bgcolor,format,format2,text,r,s,m,lo,st,lb,d)
{
     var dim=eval
       ("'width='+w+',height='+h+',top='+t+',left='+l+',resizable='+r+',scrollbars='+s+',menubar='+m+',location='+lo+',status='+st+',locationbar='+lb+',directories='+d+''");
     win = window.open(url,"Fenster",dim);
     win.document.open();
     win.document.write('<html><head><title>'+titel+'</title><link rel="stylesheet" href="'+style+'formate/script'+style2+'.css" type="text/css"></head>');
     win.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" class="'+bgcolor+'" onBlur=self.close()>');
     win.document.write('<center><img src='+url+' width="'+w2+'" height="'+h2+'">');
     win.document.write('<center><img src="" height="19" width="0">');
     win.document.write('<span class="'+format2+'">'+text+'</span>');
     win.document.write('<a href=javascript:self.close() class="'+format+'">Schliessen</a>');
     win.document.write('</center></body></html>');
     win.document.close();
     if(win.focus != null)win.focus();
}

function popUp3(url,titel,w,h,w2,h2,t,l,style,style2,bgcolor,format,format2,text,r,s,m,lo,st,lb,d)
{
     var dim=eval
       ("'width='+w+',height='+h+',top='+t+',left='+l+',resizable='+r+',scrollbars='+s+',menubar='+m+',location='+lo+',status='+st+',locationbar='+lb+',directories='+d+''");
     win = window.open(url,"Fenster",dim);
     win.document.open();
     win.document.write('<html><head><title>'+titel+'</title><link rel="stylesheet" href="'+style+'formate/script'+style2+'.css" type="text/css"></head>');
     win.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" class="'+bgcolor+'" onBlur=self.close()>');
     win.document.write('<center><img src='+url+' width="'+w2+'" height="'+h2+'">');
     win.document.write('<center><img src="" height="19" width="0">');
     win.document.write('<span class="'+format2+'">'+text+'</span>');
     win.document.write('<center><img src="" height="19" width="0">');
     win.document.write('<a href=javascript:self.close() class="'+format+'">Schliessen</a>');
     win.document.write('</center></body></html>');
     win.document.close();
     if(win.focus != null)win.focus();
}

function anfahrt()
{
     win = window.open("","Fenster","width=520,height=360,left=10,top=10");
     win.document.open();
     win.document.write('<html><head><title>Ricken Sportclub</title><link rel="stylesheet" href="/formate/script.css" type="text/css"></head>');
     win.document.write('<body topmargin="10" marginheight="10" class="f00" onBlur=self.close()>');
     win.document.write('<center><img src=/sportclub/images/sportc108.jpg width="500" height="314">');
     win.document.write('<span class="t00"></span>');
     win.document.write('<a href=javascript:self.close() class="t00"><br><br>Schliessen</a>');
     win.document.write('</center></body></html>');
     win.document.close();
     if(win.focus != null)win.focus();
}

function wohnung()  {
     win = window.open("/aktuell/wohnung.htm","Fenster","width=470,height=450,left=10,top=10,scrollbars");
     if(win.focus != null)win.focus();
}

function refresh()  {
     window.location.reload( false );
}

function wannwirdaktualisiert()  {
     alert("Die Kamera macht alle 10 Sekunden ein neues Bild, mit der F5 Taste können Sie es immer wieder aktualisieren.");
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function swapImage() {
  var i,j=0,obj,swapArray=new Array,oldArray=document.swapImgData;
  for (i=0; i < (swapImage.arguments.length-1); i+=2) {
    obj = eval(swapImage.arguments[i]);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = swapImage.arguments[i+1];
      }
    }
  document.swapImgData = swapArray;
}

function swapImgRestore2() { //v1.2
  if (document.swapImgData != null)
    for (var i=0; i<(document.swapImgData.length-1); i+=2)
      document.swapImgData[i].src = document.swapImgData[i+1];
}