// TO SEE THE FILE BETTER USE WORDWRAP

//------------------------------------------+
// SmartMenus v.1                           |
// ©2001 VASIL DINKOV - PLOVDIV, BULGARIA   |
// http://mp3.dinkov.com | vasko@dinkov.com |
//------------------------------------------+
// For Internet Explorer 4 and Netscape 6   |
//------------------------------------------+

//==1==Defining Colors
var menuFrameColor='#ff9900';
var menuBgColor='#ffffcc';
var menuOverBgColor='#ff9900';
var menuFontColor='#4d4c76';
var menuOverFontColor='#ffffcc'//(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='150';

//==5==Defining The Menus Placement (top left corner of the menus)
var menuTopPixels=15;//from document top & left corner(without quotes)
var menu1LeftPixels=0;
var menu2LeftPixels=80;
var menu3LeftPixels=130;
var menu4LeftPixels=190;
var menu5LeftPixels=260;
var menu6LeftPixels=370;
var menu7LeftPixels=485;//(if you want more add like this)

//==6==Defining The Menus Count (how many do you want)
var menuCount=7;//(without quotes)

//=============MENU DEFINITIONS=============
//(be sure to have the same number of array items for both href & text)

//===Menu 1
href1=new Array('darjeeling_history.html','geography.html','rivers.html','tiger_hill.html','kanchenjunga.html');
text1=new Array('Darjeeling History','Geography...','Rivers','Tiger Hill','Kanchenjunga');

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('how_to_reach.html','travel_agents.html','darjeeling_hotels.html','darjeeling_restaurants.html','tourist_offices_booths.html','internet_cafes.html','important_phone_numbers.html','darjeeling_map.html');
text2=new Array('How to Reach','Travel Agents','Darjeeling Hotels','Restaurants in Town','Tourist Offices & Booths','Internet Cafes','Important Phone Nos.','Map of Darjeeling');

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('places_of_interest.html','conducted_tours.html','darjeeling_tea.html','darjeeling_himalayan_railway.html','cinchona_plantation.html','himalayan_mountaineering_institute.html','pnhz_park.html','tibetan_refugee_center.html','salamanders.html','religious_shrines.html','kalimpong.html','kurseong.html','mirik.html');
text3=new Array('Places of Interest','Conducted Tours','Darjeeling Tea','The DHR','Cinchona Plantation','HMI','PNHZ Park','Tibetan Refugee Centre','Rare Salamanders','Religious Shrines','Kalimpong','Kurseong','Mirik');

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('darjeeling_schools.html','darjeeling_colleges.html','institutes.html');
text4=new Array('Darjeeling Schools','Darjeeling Colleges','Institutes');

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};
//===Menu4 END

//===Menu 5
href5=new Array('darjeeling_festivals.html','darjeeling_people.html','languages.html','darjeeling_food_wine.html','darjeeling_eminent_personalities.html');
text5=new Array('Darjeeling Festivals','People','Languages','Food & Wine','Eminent Personalities');

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 6
href6=new Array('trekking_information.html','river_rafting.html','mountaineering.html','jungle_safari.html','mountain_biking.html');
text6=new Array('Trekking Information','River Rafting','Mountaineering','Jungle Safari','Mountain Biking');

function MV6(){var x='';for(i=0;i<href6.length;i++){x=x+"<tr><td class=mxz //onclick=doGo('"+href6[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text6[i]+"</td></tr>"};return x};
//===Menu 6 END

//===Menu 7
href7=new Array('doctors.html','hospitals.html','darjeeling_ngos.html','darjeeling_links.html','entertainment_houses.html');
text7=new Array('Doctors','Hospitals','List of Local NGOs','Other Darjeeling Links','Entertainment Houses');

function MV7(){var x='';for(i=0;i<href7.length;i++){x=x+"<tr><td class=mxz //onclick=doGo('"+href7[i]+"') onmouseover=ov(this) onmouseout=ou(this)>"+text7[i]+"</td></tr>"};return x};
//===Menu 7 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:default}</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()