//===== relative URL handling code for js files ================
sWZBaseFolder = "www.rendezvousindia.com";                          
sWZ = window.location.href;                                     
iWZ = sWZ.indexOf(sWZBaseFolder) + sWZBaseFolder.length + 1;    
sWZBase = sWZ.substring(0,iWZ);                                 
//===== Copyright © 2001 Spidersoft. All rights reserved. ======

<!--

//do browser detect stuff

wd = screen.width;
if (wd == 1024)
var x = 289;
if (wd == 800)
{var x=177;}
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+60;
			if(wd == 800)
                        document[menuID].left = offset;
			if(wd == 640)
                        document[menuID].left = offset-10;

			document[menuID].zIndex = 2;
                } else {
                        document.all[menuID].style.pixelTop = 25 + voffset;
			if(wd == 1024)
                        document.all[menuID].style.pixelLeft = offset+70;
			if(wd == 800)
                        document.all[menuID].style.pixelLeft = offset;
			if(wd == 640)
                        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=\"#FFFFFF\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"2\" leftmargin=\"0\" onload=\"init();\">



<!-- Spidersoft WebZIP Banner Ad Insert -->
<!-- For removal instructions see:  http://www.spidersoft.com/webzip/help/noads.asp  -->

<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
  initAd();
</SCRIPT>

<script language="JScript">
<!--

function initAd() {
  document.all.AdLayer.style.posTop = -200;
  document.all.AdLayer.style.visibility = 'visible'
  MoveLayer('AdLayer');
}

function MoveLayer(layerName) {
  var x = 10;
  var y = 10;
  var diff = (document.body.scrollTop + y - document.all.AdLayer.style.posTop)*.40;
  var y = document.body.scrollTop + y - diff;
  eval("document.all." + layerName + ".style.posTop =  y");
  eval("document.all." + layerName + ".style.posLeft = x");
  setTimeout("MoveLayer('AdLayer');", 60);
}

if (navigator.onLine){
  document.write("<div bgcolor=#000000 style='height=70px;'></div>");
  document.write("<div id=AdLayer style='position:absolute; width:100%; height:80px; z-index:20; visibility:hidden;'>");
  document.write("<IFRAME SRC='http://www.spidersoft.com/ads/bwz468_60.asp' width=100% height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></IFRAME>");
  document.write("</div>");
}
 //-->
</script>

<!-- /Spidersoft WebZIP Banner Ad Insert -->


");

if (isDynamic) {
        document.write("<DIV id=\"menu1\" class=\"menu\" onMouseover=\"activateMenu(1,410,190)\">\
<A href=\"adventure-tours.html#zanskar\">&nbsp;&nbsp;Zanskar</A><BR>\
<A href=\"adventure-tours.html#flower-valley\">&nbsp;&nbsp;Valley of Flowers</A><BR>\
<A href=\"adventure-tours.html#har-ki-doon-sangle\">&nbsp;&nbsp;Har-Ki-Doon Sangla</A><BR>\
<A href=\"adventure-tours.html\">&nbsp;&nbsp;more...</A><BR>\
</DIV>");

document.write("<DIV id=\"menu2\" class=\"menu\" onmouseover=\"activateMenu(2,320,220)\">\
<A href=\"cultural-tours.html\">&nbsp;&nbsp;Golden Triangle</A><BR>\
<A href=\"cultural-tours.html#northindian-panaroma\">&nbsp;&nbsp;North India Panorama</A><BR>\
<A href=\"cultural-tours1.html\">&nbsp;&nbsp;Hidden Rajasthan</A><BR>\
<A href=\"cultural-tours1.html#splendours-south-india\">&nbsp;&nbsp;Splendors of South India</A><BR>\
</DIV>");

document.write("<DIV id=\"menu3\" class=\"menu\" onmouseover=\"activateMenu(3,x,270)\">\
<A href=\"beach-tours.html\">&nbsp;&nbsp;Beach Comber</A><BR>\
<A href=\"beach-tours.html#tiger-heaven\">&nbsp;&nbsp;Tiger Haven</A><BR>\
<A href=\"beach-tours.html#regal-train-journeys\">&nbsp;&nbsp;Regal Train Journeys</A><BR>\
<A href=\"beach-tours.html#nature-tours\">&nbsp;&nbsp;Nature Tours</A><BR>\
<A href=\"beach-tours.html#angler-delight\">&nbsp;&nbsp;Angler's Delight</A><BR>\
</DIV>");

document.write("<DIV id=\"menu4\" class=\"menu\" onmouseover=\"activateMenu(4,x,280)\">\
<A href=\"spices-of-kerala.html\">&nbsp;&nbsp;Spices of Kerala</A><BR>\
<A href=\"spices-of-kerala.html#best-of-south-india\">&nbsp;&nbsp;Best of South India</A><BR>\
<A href=\"highlights-south-india.html\">&nbsp;&nbsp;Highlights of South India</A><BR>\
<A href=\"highlights-south-india.html#pilgrimage-tour-south-india\">&nbsp;&nbsp;Pilgrimage Tour</A><BR>\
</DIV>");


document.write("<DIV id=\"menu5\" class=\"menu\" onmouseover=\"activateMenu(5,x,25)\">\
<A href=\"jamnagar.html\"><B class=\"bld\">Hotels of Jamnagar</B></A><BR>\
<A href=\"hotel-express-jamnagar.html\">&nbsp;&nbsp;Hotels Express</A><BR>\
<A href=\"hotel-president.html\">&nbsp;&nbsp;Hotel President</A><BR>\
</DIV>");

}


//-->

