var menuBorderColor='#996633';
var menuBgColor='#D8B089';
var menuOverBgColor='#996633';
var menuFontColor='#FFFFFF';
var menuOverFontColor='#FFFFFF'//(can be the same as menuFontColor)

var font='verdana,arial,helvetica';
var fontSize='10px';
var fontWeight='bold';//(bold or normal)
var cellPadding=2;
var frameBorderWidth=1;
var hideElementsIfOnWay=0;//1 or 0
   /*hides the elements that are shown over the menus by default
   like EMBED, IFRAME(not in Opera), OBJECT, SELECT
   if set to 0 performance is much better
   so if you don`t have these elements near the menus
   set this to 0
   view samples\hiding\hiding.html*/
var hideElementsInOpera=0;
   /*added separetely because Opera hides all FORMs not only
   those which are 'in the menus way', so you decide*/
var menuIE55filter='progid:DXImageTransform.Microsoft.GradientWipe(duration=0.3,wipeStyle=0)';
   /*cool filter effects that are applied in IE4+
   if u don`t want leave [='']
   view samples\IE4(5.5)Filters for more*/
var hideTimeout=100;//1000=1 second
   /*time to wait before hiding the menu on mouseout*/
var subMenuOffset=4;//pixels (if no subs, leave as u like)
   /*the sub menus will be displaced from their normal
   position by the pixels specified here*/

// ==2== Default TARGET for all the links
   /*for navigation to frame, calling functions or
   different target for any link view
   IMPORTANT HOWTOS 1 NOTES in the readme.html*/
var target='self'//(newWindow or self)

// ==3== The Menus Width
var menuWidth=140;

// ==4== Menus Placement (absolute positioned)
var menu1TopPixels=170;//from document top & left corner(without quotes)
var menu1LeftPixels=2;
var menu2TopPixels=170;
var menu2LeftPixels=54;
var menu3TopPixels=170;
var menu3LeftPixels=156;
var menu4TopPixels=170;
var menu4LeftPixels=230;
var menu5TopPixels=170;
var menu5LeftPixels=360;

// ==5== IMPORTANT: The Menus Count (how many do u want)
var menuCount=5;
var subMenuCount=4;//if no, set to 0

// ===== MENU DEFINITIONS =====
// u MUST have the same number of array items for both href & text (subhref & subtext)
// ==Menu 1
href1=new Array('notyetdone.asp','dictionary.asp','tipps.asp','literatur.asp','ratings.asp','sizes.asp','temp_conversion.asp');
text1=new Array('Ausrüstung','Wörterbuch','Tipps','Literaturtipps','Schwierigkeitsgrade','Grössenumrechnung','Temperaturumrechnung');
// ==Menu 1 END
// ==Menu 2
href2=new Array('notyetdone.asp','guestbook.asp');
text2=new Array('Diskussion','Gästebuch');

// ==Menu 2 END
// ==Menu 3
href3=new Array('texte.asp','foto_archiv.asp','notyetdone.asp');
text3=new Array('Texte','Fotos','Links');
// ==Menu 3 END
// ==Menu 4
href4=new Array('Gebiete_Voralptal.asp','Topos_MujaHedder.asp','Topos_Alnasca.asp');
text4=new Array('Gebiet - Voralptal','Topo - Muja Hedder','Topo - Himmelsfinger');
// ==Menu4 END
// ==Menu 5
href5=new Array('author.asp','coauthors.asp','copyright.asp','notyetdone.asp');
text5=new Array('Autor','Koautoren','Copyright','Beiträge');
// ==Menu 5 END
// ===== MENU DEFINITIONS END =====

// ===== SUB MENUS =====
// ==SUB MENU 1
subhref1=new Array('topos_alnasca.asp','topos_mujahedder.asp');
subtext1=new Array('Alnasca / Himmelsfinger','Voralptal / Muja Hedder');
// ==SUB MENU 1 END
// ==SUB MENU 2
subhref2=new Array('Gebiete_Voralptal.asp');
subtext2=new Array('Voralptal / Göscheneralp');
// ==SUB MENU 2 END
// ==SUB MENU 3
subhref3=new Array('javascript:;','javascript:;','javascript:;');
subtext3=new Array('crazy3','crazy3','crazy3');
// ==SUB MENU 3 END
// ==SUB MENU 4
subhref4=new Array('javascript:;','javascript:;','javascript:;','javascript:;');
subtext4=new Array('crazy4','crazy4','crazy4','crazy4');
// ==SUB MENU 4 END
// ===== SUB MENUS END =====

// THE SERIOUS SCRIPT PLEASE DO NOT TOUCH
for(k=1;k<=menuCount;k++){mvf='';mvf="function MV"+k+"(){x='';for(i=0;i<href"+k+".length;i++){x+="+'"'+"<tr><td class=mxz ";mvf=mvf+"onmousedown=doGo('"+'"'+"+href"+k+"[i]+"+'"'+"') onmouseover=ov(this,'"+'"'+"+href"+k+"[i]+"+'"'+"')>"+'"'+"+text"+k+"[i]+'</td></tr>'};return x};";eval(mvf)};for(k=1;k<=subMenuCount;k++){mvf='';mvf=mvf+"function SMV"+k+"(){x='';for(i=0;i<subhref"+k+".length;i++){x=x+"+'"'+"<tr><td class=mxz ";mvf=mvf+"onmousedown=doGo('"+'"'+"+subhref"+k+"[i]+"+'"'+"') onmouseover=ov2(this) onmouseout=ou(this)>"+'"'+"+subtext"+k+"[i]+'</td></tr>'};return x};";eval(mvf)};iE=document.all&&!window.innerWidth?1:0;oP=navigator.userAgent.indexOf("Opera")!=-1&&document.getElementById?1:0;nS=document.getElementById&&!document.all&&navigator.userAgent.indexOf("Opera")==-1?1:0;cur=iE?'hand':'default';TIM=0;isHiden=0;acE=0;acE2=0;nSPad=nS?('padding:'+cellPadding+'px;'):'';function hTg(tagN,s){if(hideElementsIfOnWay||(oP&&hideElementsInOpera)){srav=iE?document.all.tags(tagN).length:document.getElementsByTagName(tagN).length;for(i=0;i<srav;i++){mO=iE?document.all.tags(tagN)[i]:document.getElementsByTagName(tagN)[i];MENU=iE?eval(s):document.getElementById(s);mOLeft=mO.offsetLeft;mOTop=mO.offsetTop;mOParent=mO.offsetParent;mOW=mO.offsetWidth;mOH=mO.offsetHeight;while(mOParent){mOLeft+=mOParent.offsetLeft;mOTop+=mOParent.offsetTop;mOParent=mOParent.offsetParent};if(oP&&hideElementsInOpera)mO.style.visibility='hidden';if(((mOLeft+mOW)>MENU.offsetLeft&&mOLeft<MENU.offsetLeft+MENU.offsetWidth)&&((mOTop+mOH)>MENU.offsetTop&&mOTop<MENU.offsetTop+MENU.offsetHeight))mO.style.visibility="hidden";isHiden=1}}};function sTg(tagN){if(hideElementsIfOnWay||(oP&&hideElementsInOpera)){srav=iE?document.all.tags(tagN).length:document.getElementsByTagName(tagN).length;for(i=0;i<srav;i++){mO=iE?document.all.tags(tagN)[i]:document.getElementsByTagName(tagN)[i];mO.style.visibility ="visible";isHiden=0}}};function overer(){TIM?clearTimeout(TIM):0};function hide(){TIM=setTimeout("hideSub();hide2();if(oP){sTg('FORM');sTg('OBJECT');sTg('EMBED')};if(iE){sTg('SELECT');sTg('EMBED');sTg('OBJECT');sTg('IFRAME')};if(nS){sTg('EMBED');sTg('IFRAME')}",hideTimeout)};function rV(){q='';for(z=1;z<=menuCount;z++){iE?q=q+"m"+z+".style.visibility='hidden';":q=q+"document.getElementById('m"+z+"').style.visibility='hidden';"};return q};function rV2(){q='if(subMenuCount){';for(z=1;z<=subMenuCount;z++){iE?q=q+"if(s!='subMenu"+z+"')subMenu"+z+".style.visibility='hidden';":q=q+"if(s!='subMenu"+z+"')document.getElementById('subMenu"+z+"').style.visibility='hidden';"};q+='}';return q};function cBack(s,c){if(s){s.style.background=menuBgColor;s.style.color=menuFontColor};if(c){c.style.background=menuBgColor;c.style.color=menuFontColor}};function ov2(ok){ok.style.background=menuOverBgColor;ok.style.color=menuOverFontColor;acE2=ok};function ov(ok,x){cBack(acE);acE=ok;ok.style.background=menuOverBgColor;ok.style.color=menuOverFontColor;b=x.substring(0,5)=='show:'?x.substring(5,x.length):0;hideSub(b);if(subMenuCount&&b){F=iE?document.body.scrollLeft+document.body.clientWidth:pageXOffset+innerWidth;SA=iE?ok.offsetParent.offsetParent.offsetParent.offsetParent:oP?ok.offsetParent.offsetParent.offsetParent.offsetParent.offsetParent.offsetParent:0;r=iE?eval(b).style:document.getElementById(b).style;if(iE||oP){r.pixelTop=SA.offsetTop+ok.offsetParent.offsetTop+ok.offsetTop-frameBorderWidth+subMenuOffset;if(iE&&(SA.offsetTop+ok.offsetTop-frameBorderWidth+subMenuOffset+eval(b).offsetHeight>document.body.scrollTop+document.body.clientHeight))r.pixelTop=document.body.scrollTop+document.body.clientHeight-eval(b).offsetHeight;if(SA.offsetLeft+ok.offsetLeft+menuWidth*2-frameBorderWidth*2-subMenuOffset<F){r.pixelLeft=SA.offsetLeft+ok.offsetLeft+menuWidth-frameBorderWidth*2-subMenuOffset;showSub(b)}else{r.pixelLeft=SA.offsetLeft+ok.offsetLeft-menuWidth+subMenuOffset;showSub(b)}}else{if(ok.offsetTop-frameBorderWidth+subMenuOffset+document.getElementById(b).offsetHeight+14<pageYOffset+innerHeight){r.top=ok.offsetTop-frameBorderWidth+subMenuOffset}else{r.top=pageYOffset+innerHeight-document.getElementById(b).offsetHeight-14};if(ok.offsetLeft+menuWidth*2-frameBorderWidth*2-subMenuOffset+14<F){r.left=ok.offsetLeft+menuWidth-frameBorderWidth*2-subMenuOffset;showSub(b)}else{r.left=ok.offsetLeft-menuWidth+subMenuOffset;showSub(b)}}}};function ou(ok){ok.style.background=menuBgColor;ok.style.color=menuFontColor};eval("function hide2(){"+rV()+";cBack(acE,acE2)};function hideSub(s){if(iE){if(!s&&!isHiden){sTg('SELECT');sTg('OBJECT');sTg('EMBED');sTg('IFRAME')}};if(nS){if(!s&&!isHiden){sTg('EMBED');sTg('IFRAME')}};"+rV2()+"}");function show(a){TIM?clearTimeout(TIM):0;hideSub();cBack(acE);o=iE?eval(a).style:document.getElementById(a).style;if(iE||oP){if(o.visibility!='visible'){if(oP){sTg('FORM');sTg('OBJECT');sTg('EMBED')}else{sTg('SELECT');sTg('OBJECT');sTg('EMBED');sTg('IFRAME')};if(iE&&(eval(a).filters&&eval(a).filters.length!=0)){hTg('SELECT',a);hTg('OBJECT',a);hTg('EMBED',a);hTg('IFRAME',a);hide2();eval(a).filters[0].apply();o.visibility='visible';eval(a).filters[0].play()}else{if(oP){hTg('FORM',a);hTg('OBJECT',a);hTg('EMBED',a)}else{hTg('SELECT',a);hTg('OBJECT',a);hTg('EMBED',a);hTg('IFRAME',a)};hide2();o.visibility='visible'}}}else{if(o.visibility!='visible'){sTg('EMBED');sTg('IFRAME');hTg('EMBED',a);hTg('IFRAME',a);hide2();o.visibility='visible'}}};function showSub(a){o=iE?eval(a).style:document.getElementById(a).style;if(iE||oP){if(o.visibility!='visible'){hideSub();if(iE&&(eval(a).filters&&eval(a).filters.length!=0)){hTg('SELECT',a);hTg('OBJECT',a);hTg('EMBED',a);hTg('IFRAME',a);eval(a).filters[0].apply();o.visibility='visible';eval(a).filters[0].play()}else{if(oP){hTg('FORM',a);hTg('OBJECT',a);hTg('EMBED',a)}else{hTg('SELECT',a);hTg('OBJECT',a);hTg('EMBED',a);hTg('IFRAME',a)};hideSub();o.visibility='visible'}}}else{if(o.visibility!='visible'){hideSub();hTg('EMBED',a);hTg('IFRAME',a);o.visibility='visible'}}};function doGo(ok){if(ok.substring(0,5)=='show:')return;hide();hideSub();if(ok.charAt(0)=='*'){if(ok.substring(0,6)=='*self*'){document.location.href=ok.substring(6,ok.length);return};if(ok.substring(0,11)=='*newWindow*'){window.open(ok.substring(11,ok.length));return};for(s=1;s<ok.length;s++){if(ok.charAt(s)=='*'){eval('top.'+ok.substring(1,s)+'.location="'+ok.substring(s+1,ok.length)+'"')}}return};if(ok.substring(0,11)=='javascript:'){document.location.href=ok;return};if(target=='self'){document.location.href=ok;return};if(target=='newWindow'){window.open(ok);return};alert("ERROR:\nThe \"target\" variable is not set correctly!")};document.write("<style>.mxz{font-family:"+font+";font-size:"+fontSize+";color:"+menuFontColor+";font-weight:"+fontWeight+";background:"+menuBgColor+";"+nSPad+"cursor:"+cur+"}</style>");if(iE||oP||nS){for(j=1;j<=subMenuCount;j++){document.write("<div style='position:absolute;z-index:4;top:-1000px;left:-1000px;visibility:hidden;width:"+menuWidth+"px;filter:"+menuIE55filter+"' id="+('subMenu'+j)+" onmouseover=overer() onmouseout=hide()><table cellpadding=0 cellspacing=0 border=0><tr><td bgcolor="+menuBorderColor+"><table cellpadding="+cellPadding+" width="+menuWidth+" cellspacing="+frameBorderWidth+" border=0>"+eval('SMV'+j+'()')+"</table></td></tr></table></div>")}};if(iE||oP||nS){for(j=1;j<=menuCount;j++){document.write("<div style='position:absolute;top:"+eval('menu'+j+'TopPixels')+";left:"+eval('menu'+j+'LeftPixels')+";z-index:3;visibility:hidden;width:"+menuWidth+"px;filter:"+menuIE55filter+"' id="+('m'+j)+" onmouseover=overer() onmouseout=hide()><table cellpadding=0 cellspacing=0 border=0><tr><td bgcolor="+menuBorderColor+"><table cellpadding="+cellPadding+" width="+menuWidth+" cellspacing="+frameBorderWidth+" border=0>"+eval('MV'+j+'()')+"</table></td></tr></table></div>")}}
