/*
var config = new Object();


//===================  GLOBAL TOOPTIP CONFIGURATION  =========================//
var tt_Debug	= true		// false or true - recommended: false once you release your page to the public
var tt_Enabled	= true		// Allows to (temporarily) suppress tooltips, e.g. by providing the user with a button that sets this global variable to false
var TagsToTip	= true		// false or true - if true, HTML elements to be converted to tooltips via TagToTip() are automatically hidden;
							// if false, you should hide those HTML elements yourself
							
							
config. Above			= false 	// false or true - tooltip above mousepointer
config. BgColor 		= '#efefef' // Background colour (HTML colour value, in quotes)
config. BgImg			= ''		// Path to background image, none if empty string ''
config. BorderColor		= '#bdb380'
config. BorderStyle		= 'solid'	// Any permitted CSS value, but I recommend 'solid', 'dotted' or 'dashed'
config. BorderWidth		= 2
config. CenterMouse		= false 	// false or true - center the tip horizontally below (or above) the mousepointer
config. ClickClose		= false 	// false or true - close tooltip if the user clicks somewhere
config. ClickSticky		= false		// false or true - make tooltip sticky if user left-clicks on the hovered element while the tooltip is active
config. CloseBtn		= false 	// false or true - closebutton in titlebar
config. CloseBtnColors	= ['#a1934c', '#ffffff', '#ddd6b3', '#712822']	  // [Background, text, hovered background, hovered text] - use empty strings '' to inherit title colours
config. CloseBtnText	= '&nbsp; X &nbsp;'	// Close button text (may also be an image tag)
config. CopyContent		= true		// When converting a HTML element to a tooltip, copy only the element's content, rather than converting the element by its own
config. Delay			= 400		// Time span in ms until tooltip shows up
config. Duration		= 0 		// Time span in ms after which the tooltip disappears; 0 for infinite duration, < 0 for delay in ms _after_ the onmouseout until the tooltip disappears
config. FadeIn			= 0 		// Fade-in duration in ms, e.g. 400; 0 for no animation
config. FadeOut			= 0
config. FadeInterval	= 30		// Duration of each fade step in ms (recommended: 30) - shorter is smoother but causes more CPU-load
config. Fix				= null		// Fixated position - x- an y-oordinates in brackets, e.g. [210, 480], or null for no fixation
config. FollowMouse		= true		// false or true - tooltip follows the mouse
config. FontColor		= '#5e5e5e'
config. FontFace		= 'Arial, "Arial", Times, serif, "Gill Sans"'
config. FontSize		= '12px' 	// E.g. '9pt' or '12px' - unit is mandatory
config. FontWeight		= 'normal'	// 'normal' or 'bold';
config. Height			= 0 		// Tooltip height; 0 for automatic adaption to tooltip content, < 0 (e.g. -100) for a maximum for automatic adaption
config. JumpHorz		= false		// false or true - jump horizontally to other side of mouse if tooltip would extend past clientarea boundary
config. JumpVert		= true		// false or true - jump vertically		"
config. Left			= false 	// false or true - tooltip on the left of the mouse
config. OffsetX			= 14		// Horizontal offset of left-top corner from mousepointer
config. OffsetY			= 8 		// Vertical offset
config. Opacity			= 100		// Integer between 0 and 100 - opacity of tooltip in percent
config. Padding			= 4 		// Spacing between border and content
config. Shadow			= false 	// false or true
config. ShadowColor		= '#C0C0C0'
config. ShadowWidth		= 5
config. Sticky			= false 	// false or true - fixate tip, ie. don't follow the mouse and don't hide on mouseout
config. TextAlign		= 'left'	// 'left', 'right' or 'justify'
config. Title			= ''		// Default title text applied to all tips (no default title: empty string '')
config. TitleAlign		= 'left'	// 'left' or 'right' - text alignment inside the title bar
config. TitleBgColor	= ''		// If empty string '', BorderColor will be used
config. TitleFontColor	= '#ffffff'	// Color of title text - if '', BgColor (of tooltip body) will be used
config. TitleFontFace	= ''		// If '' use FontFace (boldified)
config. TitleFontSize	= '14'		// If '' use FontSize
config. TitlePadding	= 4
config. Width			= 0 		// Tooltip width; 0 for automatic adaption to tooltip content; < -1 (e.g. -240) for a maximum width for that automatic adaption;
									// -1: tooltip width confined to the width required for the titlebar	
									*/
									
/* Nepal menu here */								
												

var nepal=new Array()
nepal[0]='<a href="../nepal/index.php">Nepal</a>'
nepal[1]='<a href="../nepal/know_nepal.php">About Nepal</a>'
nepal[2]='<a href="../nepal/wildlife.php">Jungle Safari</a>'
nepal[3]='<a href="../nepal/rafting.php">Rafting</a>'
nepal[4]='<a href="../nepal/trekking.php">Trekking &amp; Hiking</a>'
nepal[5]='<a href="../nepal/special_activities.php">Special Activities</a>'
nepal[6]='<a href="../nepal/tour.php">Tours &amp; Sightseeing</a>'
nepal[7]='<a href="../nepal/climbing.php">Climbing &amp; Expeditions</a>'
nepal[8]='<a href="../nepal/festivals.php">Festivals of Nepal</a>'
nepal[9]='<a href="../nepal/places_interest_nepal.php">Places of Interest </a>'
nepal[10]='<a href="../nepal/travel_information.php">Travel Information</a>'
nepal[11]='<a href="../nepal/photogallery.php" style="border-bottom:0px;">Photogallery</a>'
//*************end ************** //

/* Tibet menu here */

var tibet=new Array()
tibet[0]='<a href="../tibet/index.php">Tibet</a>'
tibet[1]='<a href="../tibet/index.php">About Tibet</a>'
tibet[2]='<a href="../tibet/tibet_trekking.php">Trekking Hiking</a>'
tibet[3]='<a href="../tibet/tours.php">Tours & Sightseeing</a>'
tibet[4]='<a href="../tibet/climbing.php">Climbing & Expeditions</a>'
tibet[5]='<a href="../tibet/tibet_sightseeing.php">Places to Visit</a>'
tibet[6]='<a href="../tibet/tibet_pilgrimage.php">Pilgrimage Tours</a>'
tibet[7]='<a href="../tibet/general_informations.php">General Information</a>'
tibet[8]='<a href="../tibet/photogallery.php">Photogallery</a>'

//*************end ************** //


/* Tibet menu here */

var bhutan=new Array()
bhutan[0]='<a href="../bhutan/index.php">Bhutan</a>'
bhutan[1]='<a href="../bhutan/general_informations.php">About Bhutan</a>'
bhutan[2]='<a href="../bhutan/trekking.php">Trekking in Bhutan</a>'
bhutan[3]='<a href="../bhutan/tours.php">Tours & Sightseeing</a>'
bhutan[4]='<a href="../bhutan/bhutan_place_visit.php">Places to Visit</a>'
bhutan[5]='<a href="../bhutan/bird_watching.php">Bird Watching</a>'
bhutan[6]='<a href="../bhutan/festivals.php">Bhutan Festivals</a>'
bhutan[7]='<a href="../bhutan/climate.php">Climate Info</a>'
bhutan[8]='<a href="../bhutan/bhutan_information.php">General Information</a>'
bhutan[9]='<a href="../bhutan/photogallery.php">Photogallery</a>'

//*************end ************** //

/* India menu here */

var india=new Array()
india[0]='<a href="../india/index.php">India</a>'
india[1]='<a href="../india/general_information.php">About India</a>'
india[2]='<a href="../india/tours.php">Tours & Sightseeing</a>'
india[3]='<a href="../india/sikkim.php">Sikkim</a>'
india[4]='<a href="../india/darjeeling.php">darjeeling</a>'
india[5]='<a href="../india/ladakh.php">Ladakh</a>'
india[6]='<a href="../india/places_interest.php">Places of Interest</a>'
india[7]='<a href="../india/travel_information.php">Travel Information</a>'
india[8]='<a href="../india/india_biking.php">Mountain Biking Tour</a>'
//india[9]='<a href="#">Photogallery</a>'

//*************end ************** //

/* Nature Trail Services menu Here */

var travelservice=new Array()
travelservice[0]='<a href="../aboutus/trekking.php">Trekking</a>'
travelservice[1]='<a href="../aboutus/tours.php">Tours &amp; Sightseeing</a>'
travelservice[2]='<a href="../nepal/climbing.php">Climbing &amp; Expeditions</a>'
travelservice[3]='<a href="../nepal/rafting.php">Rafting</a>'
travelservice[4]='<a href="../nepal/wildlife.php">Jungle Safari</a>'
travelservice[5]='<a href="../nepal/bird_watching.php">Bird Watching</a>'
travelservice[6]='<a href="../aboutus/ticketing.php">Air Ticketing</a>'
travelservice[7]='<a href="../hotel/index.php">Hotel Booking</a>'
travelservice[8]='<a href="http://www.allnepal.com/blog/">Blog</a>'
//*************end ************** //

/* Company Links menu here */

var aboutcompany=new Array()
aboutcompany[0]='<a href="../aboutus/about_us.php">About Us</a>'
aboutcompany[1]='<a href="../aboutus/legal_document.php">Legal Documents</a>'
aboutcompany[2]='<a href="../aboutus/index.php">Company Profile</a>'
aboutcompany[3]='<a href="../aboutus/about_next.php">Responsible Travel</a>'
aboutcompany[4]='<a href="../aboutus/how_to_book.php">How to Book</a>'
aboutcompany[5]='<a href="../aboutus/cost_payment.php">Cost &amp; Payment Details</a>'
aboutcompany[6]='<a href="../aboutus/our_team.php">Our Team</a>'
aboutcompany[7]='<a href="../aboutus/testimonials.php">Testimonials</a>'
aboutcompany[8]='<a href="../aboutus/useful_links.php">Useful Links</a>'
aboutcompany[9]='<a href="../aboutus/news_events.php">News &amp; Events</a>'
aboutcompany[10]='<a href="../aboutus/contact_us.php">Contact Us</a>'
aboutcompany[11]='<a href="../aboutus/photogallery.php">Photogallery</a>'
aboutcompany[12]='<a href="../aboutus/agents.php">Partner Agent</a>'

var tibet_ts=new Array()

tibet_ts[0]='<a href="tibet/tibet_discovery.php"> Discovery Tours in Tibet</a>'
tibet_ts[1]='<a href="tibet/tibet_pilgrimage.php"> Pilgrimage Tours to Mt. Kailash</a>'
tibet_ts[2]='<a href="tibet/tibet_trekking.php"> Trekking in Tibet</a>'
tibet_ts[3]='<a href="tibet/tibet_trekking_mtkailash_14days.php"> Mt. Kailash Circumambulation</a>'
tibet_ts[4]='<a href="tibet/tibet_introduction.php"> Tibet Introduction</a>'

//*************end ************** //

var menuwidth='200px' //default menu width
var menubgcolor='#e5e1d7'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

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)
//alert(what);
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
//alert(e);
//alert(menucontents)
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 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

