//==1==Defining Colors
var menuFrameColor='#000000';
var menuBgColor='#ffcc00';
var menuOverBgColor='#ffffff';
var menuFontColor='#000000';
var menuOverFontColor='#0066cc'//(can be the same as menuFontColor)

//==2==Defining TARGET for the links in the menu
var target='self'//(newWindow or self)(cannot navigate to frame)

//==3==Defining font, menu cell padding & frame border width
var font='verdana,arial,helvetica';
var fontSize='10px';
var fontWeight='bold';//(bold or normal)
var cellPadding='2';
var frameBorderWidth='1';

//==4==Defining The Menus Width
var menuWidth='140';

//==5==Defining The Menus Placement (top left corner of the menus)
var menuTopPixels=49;//from document top & left corner(without quotes)
var menu1LeftPixels=58;
var menu2LeftPixels=105;
var menu3LeftPixels=153;
var menu4LeftPixels=213;
var menu5LeftPixels=342;
//var menu6LeftPixels=400;//(if you want more add like this)

//==6==Defining The Menus Count (how many do you want)
var menuCount=5;//(without quotes)

//=============MENU DEFINITIONS=============
//(be sure to have the same number of array items for both href & text)

//===Menu 1
href1=new Array('/about/about.html','/about/aboutm.html','/about/ommark.html','/about/archive.html');
text1=new Array('about this site','about Mark','om Mark (s)','site archive');

function MV1(){var x='';for(i=0;i<href1.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href1[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text1[i]+"</td></tr>"};return x};
//===Menu 1 END

//===Menu 2
href2=new Array('/notes/marksfavs.html','/notes/marksmovies.html','/notes/1000bestfilms.html','/notes/filmnoir.html','/notes/miniaturymorskie.html','/notes/personal.html','/notes/konvertering.html','/notes/konvertering_2.html','/notes/shoes.html','/notes/valuta.html','/notes/periodicsystem.html','/notes/tabell_paulun_naringslara.html','/notes/tabell_paulun_gi.html','/notes/tabell_paulun_naring.html','/notes/tabell_paulun_komponeringsverktyg.html','/notes/lindberg_SK_kost.html','/notes/calories.html','/notes/games.html','/hanna/');
text2=new Array('Mark&#146;s favs','Mark&#146;s movies','1000 Best Films','Film Noir','Miniatury Morskie','old personal','konverteringstabeller 1','konverteringstabeller 2','shoes','valutanyckel','Det periodiska systemet','Om Glykemiskt index (GI)','GI tabell','N&auml;ringstabell','Komponera din mat','Paleolitisk kost','Kaloritabell','games','Hanna');

function MV2(){var x='';for(i=0;i<href2.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href2[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text2[i]+"</td></tr>"};return x};
//===Menu 2 END

//===Menu 3
href3=new Array('/cycling/markscykling.html','/cycling/markesprov_2004.html');
text3=new Array('Mark&#146;s cykling','M&auml;rkesprov');

function MV3(){var x='';for(i=0;i<href3.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href3[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text3[i]+"</td></tr>"};return x};
//===Menu 3 END

//===Menu 4
href4=new Array('/japaneseaviation/links.html','/japaneseaviation/oscar.html','/japaneseaviation/jaafstructure.html','/japaneseaviation/hien.html','/japaneseaviation/hien_story.html','/japaneseaviation/zero_22.html','/japaneseaviation/val_1.html','/japaneseaviation/kate_1.html','/japaneseaviation/references.html','/japaneseaviation/temp.html','/japaneseaviation/asahi.html');
text4=new Array('links','Ki-43 Oscar Camo','JAAF Structure','Ki-61 Hien survey','Ki-61 Hien story','Zero 22 model','Aichi D3A basics','Nakajima B5N survey','references','temporary notes','Asahi Journal');

function MV4(){var x='';for(i=0;i<href4.length;i++){x=x+"<tr><td class=mxz onclick=doGo('"+href4[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text4[i]+"</td></tr>"};return x};
//===Menu 4 END

//===Menu 5
href5=new Array('/guest/feedback.html');
text5=new Array('feedback');

function MV5(){var x='';for(i=0;i<href5.length;i++){x=x+"<tr><td class=mxz //onclick=doGo('"+href5[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text5[i]+"</td></tr>"};return x};
//===Menu 5 END

//=============MENU DEFINITIONS END=============

// THE SERIOUS SCRIPT PLEASE DO NOT TOUCH
if(document.all){topY=menuTopPixels}else{topY=menuTopPixels-2};/*NS bud*/function rV(){q='';for(z=1;z<=menuCount;z++){if(document.all){q=q+"m"+z+".style.display='none';"}else{q=q+"document.getElementById('m"+z+"').style.display='none';"}};return q};eval("function hide(a){if(a.clientY<=topY){"+rV()+"}};function hide2(){"+rV()+"}");eval("function ov(ok){ok.style.background='"+menuOverBgColor+"';ok.style.color='"+menuOverFontColor+"'};function ou(ok){ok.style.background='"+menuBgColor+"';ok.style.color='"+menuFontColor+"'};function doGo(ok){var tgt='"+target+"';if(tgt=='newWindow'){window.open(ok)}else{document.location.href=ok}};function show(a){if(document.all){eval(a).style.display=''}else{document.getElementById(a).style.display=''}}");document.write("<style>.mxz{font-family:"+font+";font-size:"+fontSize+";color:"+menuFontColor+";font-weight:"+fontWeight+";background:"+menuBgColor+";padding:"+cellPadding+";cursor:hand}</style>");function buildTheAsses(){for(j=1;j<=menuCount;j++){document.write("<div style=position:absolute;top:"+(menuTopPixels-1)+";left:"+(eval('menu'+j+'LeftPixels')-100)+";z-index:3;display:none id="+('m'+j)+"><table cellpadding=0 cellspacing=0 border=0><tr><td colspan=3 height=1></td></tr><tr><td width=100 onmouseover=hide2()></td><td bgcolor="+menuFrameColor+"><table width="+menuWidth+" cellspacing="+frameBorderWidth+" border=0>"+eval('MV'+j+'()')+"</table></td><td width=100 onmouseover=hide2()></td></tr><tr><td colspan=3 height=200 onmouseover=hide2()></td></tr></table></div>")}};buildTheAsses()