var SetPath = 'http://www.indiatravelplanner.in/';


////////////////////MENU FOR INCREDIBLE INDIA//////
var menu3=new Array()
menu3[0]='<a href="' + SetPath + 'india/india.html" class="menulink">India </a>'
menu3[1]='<a href="' + SetPath + 'india/geography.html" class="menulink">Geography </a>'
menu3[2]='<a href="' + SetPath + 'india/history.html" class="menulink">History</a>'
menu3[3]='<a href="' + SetPath + 'india/religion.html" class="menulink">Religion</a>'
menu3[4]='<a href="' + SetPath + 'india/languages.html" class="menulink">Languages </a>'
menu3[5]='<a href="' + SetPath + 'india/temples.html" class="menulink">Temples of India </a>'
menu3[6]='<a href="' + SetPath + 'india/festivals.html" class="menulink">Festivals</a>'
menu3[7]='<a href="' + SetPath + 'india/cusines.html" class="menulink">Cuisines </a>'
menu3[8]='<a href="' + SetPath + 'india/dance-music.html" class="menulink">Dances and Music</a>'
menu3[9]='<a href="' + SetPath + 'india/shopping.html" class="menulink">Shopping</a>'
menu3[10]='<a href="' + SetPath + 'india/wildlife.html" class="menulink">Wildlife </a>'
menu3[11]='<a href="' + SetPath + 'cityfacts/agra_city.html" class="menulink" target="_new">City Information </a>'
menu3[12]='<a href="' + SetPath + 'india_map.html" class="menulink" >State Maps of India </a>'
menu3[12]='<a href="' + SetPath + 'india_hotel.html" class="menulink" >Hotels in India </a>'

////////////////////MENU FOR FAQ"S//////
var menu4=new Array()
menu4[0]='<a href="' + SetPath + 'FAQ/india.html" class="menulink">India</a>'
menu4[1]='<a href="' + SetPath + 'FAQ/payments.html" class="menulink">Payment</a>'
menu4[2]='<a href="' + SetPath + 'FAQ/services.html" class="menulink">Services</a>'
menu4[3]='<a href="' + SetPath + 'FAQ/troubleshooting.html" class="menulink">Trouble Shooting</a>'

////////////////////MENU FOR TRAVEL TIPS//////
var menu5=new Array()
menu5[0]='<a href="' + SetPath + 'traveltools/travel_tips.html" class="menulink">Travel Tips</a>'
menu5[1]='<a href="' + SetPath + 'traveltools/IndianEmbassies.html" class="menulink">Indian Embassies</a>'
menu5[1]='<a href="' + SetPath + 'traveltools/generalinfo.html" class="menulink">General Information </a>'
menu5[2]='<a href="' + SetPath + 'traveltools/restrictions.html" class="menulink">Restrictions on Export</a>'
menu5[3]='<a href="' + SetPath + 'traveltools/restricted.html" class="menulink">Restricted Areas</a>'
menu5[4]='<a href="' + SetPath + 'traveltools/airlines.html" class="menulink">Airlines to India</a>'
menu5[5]='<a href="' + SetPath + 'traveltools/airtport_tax.html" class="menulink">Airport Tax</a>'
menu5[6]='<a href="' + SetPath + 'traveltools/custom_visa.html" class="menulink">Customs/ Immigration/ Visa</a>'
menu5[7]='<a href="http://weather.nic.in/current.htm" target="_blank" class="menulink">Weather </a>'
menu5[8]='<a href="' + SetPath + 'distance.aspx" class="menulink">Distance Calculator</a>'
menu5[9]='<a href="http://www.xe.com/" target="_blank" class="menulink">Currency Converter</a>'

/////////////////menu for GREAT INDIAN JOURNEYS/////////
var menu7=new Array()
menu7[0]='<a href="' + SetPath + 'bestsellers.html" class="menulink">Best Seller Tours</a>'
menu7[1]='<a href="' + SetPath + 'golden_triangle_Tours.html" class="menulink">Golden Triangle Tours</a>'
menu7[2]='<a href="' + SetPath + 'ayurveda.html" class="menulink">Ayurveda Tours</a>'
menu7[3]='<a href="' + SetPath + 'yoga.html" class="menulink">Yoga & Spa Tours</a>'
menu7[4]='<a href="' + SetPath + 'adventure.html" class="menulink">Adventure Tours</a>'
menu7[5]='<a href="' + SetPath + 'wildlifet.html" class="menulink">Wildlife & Safari Tours</a>'
menu7[6]='<a href="' + SetPath + 'honeymoon.html" class="menulink">Honeymoon Tours</a>'
menu7[7]='<a href="' + SetPath + 'trains.html" class="menulink">Luxury Trains</a>'
menu7[8]='<a href="' + SetPath + 'weddings.html" class="menulink">Dream Weddings</a>'
menu7[9]='<a href="' + SetPath + 'cruises.html" class="menulink">Cruises</a>'
menu7[10]='<a href="' + SetPath + 'specialint.html" class="menulink">Special Interest Tours</a>'
menu7[11]='<a href="' + SetPath + 'lost_frontiers.html" class="menulink">Indias Lost Frontiers</a>'
menu7[12]='<a href="' + SetPath + 'pilgrimage.html" class="menulink">Pilgrimage & Religious Tours</a>'
menu7[13]='<a href="' + SetPath + 'nepal_bhutan_tours.html" class="menulink">Nepal & Bhutan Tours </a>'


////////menu for CITYSTOPOVERS//////////////////http://www.indiatravelplanner.in/test1/citystopover/agra.html
var menu8=new Array()
menu8[0]='<a href="' + SetPath + 'citystopover/agra.html" class="menulink">Agra</a>'
menu8[1]='<a href="' + SetPath + 'citystopover/aurangabad.html" class="menulink">Aurangabad </a>'
menu8[2]='<a href="' + SetPath + 'citystopover/bangalore.html" class="menulink">Bangalore</a>'
menu8[3]='<a href="' + SetPath + 'citystopover/chennai.html" class="menulink">Chennai</a>'
menu8[4]='<a href="' + SetPath + 'citystopover/delhi.html" class="menulink">Delhi</a>'
menu8[5]='<a href="' + SetPath + 'citystopover/hyderabad.html" class="menulink">Hyderabad</a>'
menu8[6]='<a href="' + SetPath + 'citystopover/jaipur.html" class="menulink">Jaipur</a>'
menu8[7]='<a href="' + SetPath + 'citystopover/kochi.html" class="menulink">Kochi</a>'
menu8[8]='<a href="' + SetPath + 'citystopover/kolkata.html" class="menulink">Kolkata</a>'
menu8[9]='<a href="' + SetPath + 'citystopover/mumbai.html" class="menulink">Mumbai </a>'
menu8[10]='<a href="' + SetPath + 'citystopover/udaipur.html" class="menulink">Udaipur </a>'
menu8[11]='<a href="' + SetPath + 'citystopover/varanasi.html" class="menulink">Varanasi </a>'

////////////////////////////
		
var menuwidth='40%' //
var menubgcolor='#980200'  //gifting helpline
var disappeardelay=150  //
var hidemenu_onclick="yes" //
/////

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function dropdownmenu3(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")-41+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}
/* */

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

