HMenus = new Array(); HMenus['Traumtheorie'] = new Array(); HMenus['Traumtheorie']['ID'] = 'Traumtheorie'; HMenus['Traumtheorie']['Title'] = 'Traumtheorie_Traumtheorie'; HMenus['Angebot'] = new Array(); HMenus['Angebot']['ID'] = 'Angebot'; HMenus['Angebot']['Title'] = 'Angebot'; HMenus['Portraet'] = new Array(); HMenus['Portraet']['ID'] = 'Portraet'; HMenus['Portraet']['Title'] = 'Portraet_Portraet'; HMenus['Traummotive'] = new Array(); HMenus['Traummotive']['ID'] = 'Traummotive'; HMenus['Traummotive']['Title'] = 'Traummotive_Traummotive'; HMenus['Kontakt'] = new Array(); HMenus['Kontakt']['ID'] = 'Kontakt'; HMenus['Kontakt']['Title'] = 'Kontakt_Adresse'; var oWin=new oWIN(); var DHTML=0, DOM=0, MS=0, NS=0, OP=0; function DHTML_init(){ if(window.opera){OP=1;} if(document.getElementById){DHTML=1;DOM=1;} if(document.all && !OP){DHTML=1;MS=1;} if(window.netscape && window.screen && !DOM && !OP){DHTML=1;NS=1;} } function oID(ID){ if(DOM){if(typeof document.getElementById(ID)=='object')return(document.getElementById(ID)); else return(void(0)); }else if(MS){if(typeof document.all[ID]=='object')return(document.all[ID]);else return(void(0)); }else if(NS){if(typeof document[ID]=='object')return(document[ID]);else return(void(0));} } function oName(p2){ if(DOM){if(typeof document.getElementsByName(p2)=="object")return(document.getElementsByName(p2)[0]); else return(void(0)); }else if(MS){if(typeof document[p2]=="object")return(document[p2]); else return(void(0)); }else if(NS){if(typeof document[p2]=="object")return(document[p2]); else return(void(0));} } DHTML_init(); var curMenu=""; var curUMenu=""; var oldUMenu=""; function hide(ID){ oID(ID).style.visibility="hidden"; } function show(ID){ oID(ID).style.visibility="visible"; } function hideD(ID){ oID(ID).style.display="none"; } function showD(ID){ oID(ID).style.display="block"; } function hideIF(Name){ oID(Name).style.visibility="hidden"; } function showIF(Name){ oID(Name).style.visibility="visible"; } function LoadIFrame(mytarget,file){ oID(mytarget).src=file; } function LoadTeam(me,wich){ parent.LoadTeam(me,wich); } function myOnload(){ //alert(1) // showD('scrollLinks'); } function __LoadHMenu(me,which){ } function LoadHMenu(me,which){ if(which=='Home'){ me.target='_self'; me.href='$BaseHRef'; }else{ if(me.href.search(/\?publishMode=inline/) == -1 ){ me.target='IFContent'; me.href=me.href+'?publishMode=inline'; } me.blur(); hideD('iBackground'); hideD('StartPic'); showD('IFContent'); showD('CBox'); showD('CBackground'); oID('IFContent').src='d/'+which+'.php?publishMode=inline'; hideD('StartPic'); aWhich=which.split('_'); oldMMenu=curMMenu; curMMenu=aWhich[0]; oldSMenu=curSMenu; if(aWhich.length > 1){ curSMenu=aWhich[1]; }else{ acurSMenu=HMenus[curMMenu]['Title'].split('_'); curSMenu=acurSMenu[1]; } if(oldMMenu != ''){ if(oID('ULS_'+oldMMenu) && (curMMenu != oldMMenu)){ MMout(oldMMenu); hideD('ULS_'+oldMMenu); } } if(oldSMenu != ''){ if(oID('a_'+oldMMenu+'_'+oldSMenu)){ SMout(oID('a_'+oldMMenu+'_'+oldSMenu),oldSMenu); } if(oID('ULS_'+oldMMenu)){ hideD('ULS_'+oldMMenu); } } showD('ULS_'+curMMenu) if(oID('ULS_'+curMMenu)){ if(oID('a_'+curMMenu+'_'+curSMenu))SMover(oID('a_'+curMMenu+'_'+curSMenu)) } oID('CBox').style.display='block'; } } function MMover(whichID){ oID('img_'+whichID).src='nav/'+whichID+'_AKT.gif' } function MMout(whichID){ if(curMMenu != whichID){ oID('img_'+whichID).src='nav/'+whichID+'.gif' } } function SMover(which){ which.style.color='#EC6600'; } function SMout(which,whichID){ if(curSMenu != whichID){ which.style.color='#4C4A30'; } } function oWIN(){ this.BodyName='Index'; this.Width=0; this.Height=0; this.init=_oWIN_init; this.setName=_oWIN_SetName; this.resize2min=_oWIN_resize2min; } function _oWIN_SetName(BodyName){ this.BodyName=BodyName; } function _oWIN_init(){ if((document.all)&& (OP==0)){ this.Width=oID(this.BodyName).offsetWidth; this.Height=oID(this.BodyName).offsetHeight; }else{ this.Width=window.innerWidth; this.Height=window.innerHeight; } if(typeof this.Width=="string")this.Width=parseInt(this.Width); if(typeof this.Height=="string")this.Height=parseInt(this.Height); } function _oWIN_resize2min(minWidth,minHeight){ if(this.Width < minWidth){ window.resizeBy(minWidth-this.Width,0); } if(this.Height < minHeight){ window.resizeBy(0,minHeight-this.Height); } this.init(); } function mlncdm(maddress,mdomain){ mailaddr=maddress+"@"+mdomain; location.href="mailto:"+mailaddr.replace(/ /g,"."); } function mlncd(maddress,mdomain,what){ mailaddr=maddress+"@"+mdomain; return mailaddr.replace(/ /g,"."); }