<!--

//do browser detect stuff

wd = screen.width;
if (wd == 1024)
var x = 280;
if (wd == 800)
{var x=281;}
if (wd == 640)
var x=96;

var isNS = (navigator.appName == "Netscape");
var isMacIE = ( (navigator.userAgent.indexOf("IE 4")  > -1) && (navigator.userAgent.indexOf("Mac")  > -1) );
var layerRef = (isNS) ? "document" : "document.all";
var styleRef = (isNS) ? "" : ".style";
var isDynamic = ( (document.layers || document.all) && !isMacIE );

//track which menu is active
var activeMenu = 0;

//display a selected menu
function activateMenu(menuLayerRef, offset, voffset) {
        
        if (isDynamic && activeMenu != menuLayerRef) {

                if (activeMenu) hideMenu("menu" + activeMenu);
                        
                menuID = "menu" + menuLayerRef;
                activeMenu = menuLayerRef;
                hmenuoff = offset;
                vmenuoff = voffset;
                if (isNS) {
                        document[menuID].top = 12 + voffset;
			if(wd == 1024)
                        document[menuID].left = offset+282;
			if(wd == 800)
                        document[menuID].left = offset+170;
			if(wd == 640)
                        document[menuID].left = offset+90;

			document[menuID].zIndex = 2;
                } else {
                        document.all[menuID].style.pixelTop = 25 + voffset;
                        document.all[menuID].style.pixelLeft = offset;
                } // if is NS else

                showMenu(menuID)
        } // if is dynamic and new menu needed
        // kill menu if browser is IE
        if (isDynamic && !isNS) window.event.cancelBubble = true;
} // activateMenu

function showMenu(layerID) {
        eval(layerRef + '["' + layerID + '"]' + styleRef + '.visibility = "visible"');
}


function hideMenu(layerID) {
        eval(layerRef + '["' + layerID + '"]' + styleRef + '.visibility = "hidden"');
}

// get rid of menus when outside menu or button
function killMenu(e) {
  //check if theres a menu active

  if (activeMenu) {
    menuID = "menu" + activeMenu;
    if (isNS) {
	// top menus
        if (activeMenu <=4) {
	  menuX1 = document[menuID].left;
	  menuX2 = menuX1 + document[menuID].clip.right;
	  menuY1 = document[menuID].top;
	  menuY2 = menuY1 + document[menuID].clip.bottom;
	//alert(menuX1+"  "+menuX2+"  "+menuY1+"  "+menuY2);
	} // if menu 1 through 4
	// side menus
        if (activeMenu >=5) {
 	  menuX1 = 0;
          menuX2 = 245;
	  menuY1 = document[menuID].top;
	  menuY2 = menuY1 + document[menuID].clip.bottom;
        } // if menu 5 or greater
        if ((e.pageX < menuX1) || (e.pageX > menuX2) ||
             (e.pageY < menuY1) || (e.pageY > menuY2)) {
             hideMenu(menuID);
	     activeMenu = 0;
        } // if in menu
    } else { // if not NS
	hideMenu(menuID);
	activeMenu = 0;
    }  //if isNS else
  }  //if activeMenu
}  //function

// initialize the menu system
function init() {
  if (isDynamic) {
    if (isNS) { 
	document.captureEvents(Event.MOUSEOUT); 
	document.onmouseout = killMenu;
    } else {
	document.onmouseover = killMenu;
    } // if NS else
		
  } // if dynamic
} // init


document.write("</head>\
<body bgcolor=\"#141C1F\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\" onload=\"init();\">");

if (isDynamic) {
        document.write("<div id=\"menu1\" class=\"menu\" onMouseover=\"activateMenu(1,410,290)\">\
<A href=\"current-projects.html\"></b></a><br />\
<A href=\"lucknow.html\">&nbsp;&nbsp;</a><br />\
<A href=\"kanpur.html\">&nbsp;&nbsp;</a><br />\
<A href=\"ncr-delhi.html\">&nbsp;&nbsp;.</a><br />\
<A href=\"agra.html\">&nbsp;&nbsp;</a><br />\
</div>");



document.write("<div id=\"menu3\" class=\"menu\" onmouseover=\"activateMenu(3,x,270)\">\
<A href=\"http://www.india-discovery.com/short-breaks/tiger-fotress.html\"><span style=\"color:#ffffff\"> >  </span> Tiger's Fotress. 2006  </a><br />\
</div>");

document.write("<div id=\"menu5\" class=\"menu\" onmouseover=\"activateMenu(5,x,270)\">\
<A href=\"http://www.india-discovery.com/wildlife/index.html\"><span style=\"color:#ffffff\"> >  </span>Introduction </a><br />\
</div>");

document.write("<div id=\"menu4\" class=\"menu\" onmouseover=\"activateMenu(4,x,280)\">\
<A href=\"http://www.india-discovery.com/culture/index.html\"><span style=\"color:#ffffff\"> >  </span>Introduction</a><br />\
</div>");

document.write("<div id=\"menu6\" class=\"menu\" onmouseover=\"activateMenu(6,x,180)\">\
<A href=\"http://www.india-discovery.com/adventure/himalayan-homestay.html\"><span style=\"color:#ffffff\"> >  </span>Himalayan Home Stay</a><br />\
<A href=\"http://www.india-discovery.com/adventure/north-east-adventure.html\"><span style=\"color:#ffffff\"> >  </span>North east adventure </a><br />\
<A href=\"http://www.india-discovery.com/adventure/shadow-nandadevi.html\"><span style=\"color:#ffffff\"> >  </span>In the shadow of nanda devi </a><br />\
<A href=\"http://www.india-discovery.com/adventure/slowly-down-ganges-12.html\"><span style=\"color:#ffffff\"> >  </span>Slowly down the ganges </a><br />\
<A href=\"http://www.india-discovery.com/adventure/shadow-nandadevi-1.html#kanc\"><span style=\"color:#ffffff\"> >  </span>In the shadow of kangchenjunga </a><br />\
<A href=\"http://www.india-discovery.com/adventure/stok-kangri-2.html#shivling\"><span style=\"color:#ffffff\"> >  </span>In the shadow of shivling  </a><br />\
<A href=\"http://www.india-discovery.com/adventure/bike-challenge-3.html#bike-challenge\"><span style=\"color:#ffffff\"> >  </span>Bike challenge </a><br />\
<A href=\"http://www.india-discovery.com/adventure/bike-challenge-3.html#bike-challenge\"><span style=\"color:#ffffff\"> >  </span>Himalayan bike challenge </a><br />\
<A href=\"http://www.india-discovery.com/adventure/riding-in-india-9.html#ridding\"><span style=\"color:#ffffff\"> >  </span>Riding the bhagirathi river </a><br />\
<A href=\"http://www.india-discovery.com/adventure/riding-in-india-9.html\"><span style=\"color:#ffffff\"> >  </span>Riding in india </a><br />\
<A href=\"http://www.india-discovery.com/adventure/riding-in-india-9.html#Shang-la\"><span style=\"color:#ffffff\"> >  </span>Shang & rushpu valley</a><br />\
<A href=\"http://www.india-discovery.com/adventure/riding-in-india-9.html#markha-valley\"><span style=\"color:#ffffff\"> >  </span>Stok to hemis  </a><br />\
<A href=\"http://www.india-discovery.com/adventure/trans-zanskar-10.html\"><span style=\"color:#ffffff\"> >  </span>Trans zanskar </a><br />\
<A href=\"http://www.india-discovery.com/adventure/trans-zanskar-10.html#spiti-kangra\"><span style=\"color:#ffffff\"> >  </span>Journey through spiti & kangra </a><br />\
<A href=\"http://www.india-discovery.com/adventure/trans-zanskar-10.html#ladakh-nubra.valley\"><span style=\"color:#ffffff\"> >  </span>Ladakh & nubra valley</a><br />\
<A href=\"http://www.india-discovery.com/adventure/trans-zanskar-10.html#ladakh-nubra.valley\"><span style=\"color:#ffffff\"> >  </span>In search of shangri - la  </a><br />\
<A href=\"http://www.india-discovery.com/adventure/arunachal-trekking.html\"><span style=\"color:#ffffff\"> >  </span> Trekking in Arunachal</a><br />\
</div>");


document.write("<div id=\"menu7\" class=\"menu\" onmouseover=\"activateMenu(7,x,180)\">\
<A href=\"http://www.india-discovery.com/expedition/index.html\"><span style=\"color:#ffffff\"> >  </span>Introduction</a><br />\
</div>");

document.write("<div id=\"menu8\" class=\"menu\" onmouseover=\"activateMenu(8,x,180)\">\
<A href=\"http://www.india-discovery.com/spiritual-holidays/index.html\"><span style=\"color:#ffffff\"> >  </span>Introduction</a><br />\
</div>");




document.write("<div id=\"menu9\" class=\"menu\" onmouseover=\"activateMenu(9,x,180)\">\
<center><b>Cuisine Tours</b></center><br />\
<A href=\"http://www.india-discovery.com/themes/indian-cuisine-tour.html\"><span style=\"color:#ffffff\"> >  </span>North India Cuisine Tour With &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp;  Pushkar Festival </a><br />\
</div>");


document.write("<div id=\"menu10\" class=\"menu\" onmouseover=\"activateMenu(10,x,180)\">\
<A href=\"golden-triangle.html#delhi\">Golden Triangle - Delhi</a><br />\
<A href=\"golden-triangle-agra.html\">Golden Triangle - Agra</a><br />\
<A href=\"golden-triangle-jaipur.html\">Golden Triangle - Jaipur</a><br />\
</div>");


}


//-->
