// (c) Ger Versluis 2000-2004 version 7.00, July 17, 2004
//  You may use this script on non commercial sites
//  www.burmees.nl/menu/


	// Globals effecting all menus
	var PopNoOffMenus=2;	// number of seperate menus
	var BaseHref="";		// Root of the site
	var PopRClick=0;		// Defines which menu reacts on right click. 0=none

	var PopMenuSlide="";
	var PopMenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var PopMenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

	var PopMenuShadow="";
	var PopMenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var PopMenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var PopMenuOpacity="";
	var PopMenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=75)";

	function P_BeforeStart(){return}
	function P_AfterBuild(){return}
	function P_BeforeFirstOpen(){return}
	function P_AfterCloseAll(){return}

	// Globals effecting one menu
	// Notation of PopMenu1 is different from PopMenu2. The result is the same. PopMenu1 is more understandable. PopMenu2 loads faster.

PopMenu1=new Array(		// global variables for PopMenu1
	1,			// number of main items
	0,			// Left position
	0,			// Top position
	"#a2acb6",			// Normal font color
	"",		// Normal back color
	"white",			// High font color
	"",			// High back color
	"",			// Border color
	"trebuchet ms, verdana, arial",	// Fontfamily
	1,			// Bold
	0,			// Italic
	11,			// Font size in pixel
	1,			// First line horizontal
	1,			// First line permanent visible
	0,			// Border width
	"left",			// Text align "left", "center" or "right"
	0,			// Horizontal overlap
	0,			// Vertical overlap
	500,			// Delay
	0,			// Right to left unfold
	"topMenuPos",			// Target div
	0,			// Border between elements
	"left",			// Menu horizontal centered "left", "center" or "right"
	"top",			// Menu vertical centered "top", "center" or "bottom"
	"../../images/1dot.gif",		// Arrow right
	1,			// Arrow Width
	1,			// Arrow Height
	"../../images/1dot.gif",	// Arrow down
	1,			// Arrow Width
	1,			// Arrow Height
	"../../images/1dot.gif",	// Arrow left
	1,			// Arrow Width
	1,			// Arrow Height
	10,			// Top padding
	10,			// Left padding
	0,			// Unfold On Click
	"top");     // final parameter for testing menuBlur

//	Menu Items:
//	MenuX=new Array(ItemText, Link, background image, number of sub elements, height, width,bgcolor,bghighcolor,
//	fontcolor,fonthighcolor,bordercolor,fontfamily,fontsize,fontbold,fontitalic,textalign,statustext);
// 	Fontsize, fontbold and fontitalic are ignored when set to -1.
//	For rollover images ItemText format is:  "rollover?Image1.jpg?Image2.jpg"

//	Notation of PopMenu1_1 is different from PopMenu1_1_1. The result is the same. PopMenu1_1 is more understandable. PopMenu1_1_1 loads faster.

	PopMenu1_1=new Array(
		"Villa Information",	// ElementText
		"../../index.html",		// ElementLink
		"",		// ElementBgImage
		7,		// ElementNoOfSubElements
		27,		// ElementHeight
		120,		// ElementWidth
		"",		// ElementBgColor
		"",		// ElementBgHighColor
		"#a2acb6",		// ElementFontColor
		"white",		// ElementFontHighColor
		"",		// ElementBorderColor
		"trebuchet ms, verdana, arial",		// ElementFontFamily
		-1,		// ElementFontSize in pixel
		-1,		// ElementBold
		-1,		// ElementItalic
		"left",		// ElementTextAlign
		"");		// ElementStatusText

		PopMenu1_1_1=new Array("<img src='images/topMenu.gif' height='1' width='20'>","","",0,12,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_2=new Array("<img src='images/topMenu.gif' height='1' width='20'>Villa Furnishings","../../details/html/furnishings.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_3=new Array("<img src='images/topMenu.gif' height='1' width='20'>Air Conditioning","../../details/html/airConditioning.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_4=new Array("<img src='images/topMenu.gif' height='1' width='20'>Wireless Broadband","../../details/html/wirelessBroadband.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_5=new Array("<img src='images/topMenu.gif' height='1' width='20'>Entertainment Systems","../../details/html/entertainmentSystems.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_6=new Array("<img src='images/topMenu.gif' height='1' width='20'>Swimming Pool","../../details/html/swimmingPool.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_7=new Array("<img src='images/topMenu.gif' height='1' width='20'>Garden Landscaping","../../details/html/gardenLandscaping.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu1_1_8=new Array("<img src='images/topMenu.gif' height='1' width='20'>Backup Systems","../../details/html/backupSystems.html","",0,18,200,"","","","","","",-1,-1,-1,"","");


PopMenu2=new Array(		// global variables for PopMenu1
	3,			// number of main items
	0,			// Left position
	0,			// Top position
	"#a2acb6",			// Normal font color
	"",		// Normal back color
	"white",			// High font color
	"",			// High back color
	"",			// Border color
	"trebuchet ms, verdana, arial",	// Fontfamily
	1,			// Bold
	0,			// Italic
	11,			// Font size in pixel
	1,			// First line horizontal
	1,			// First line permanent visible
	0,			// Border width
	"left",			// Text align "left", "center" or "right"
	0,			// Horizontal overlap
	0,			// Vertical overlap
	500,			// Delay
	0,			// Right to left unfold
	"bottomMenuPos",			// Target div
	0,			// Border between elements
	"left",			// Menu horizontal centered "left", "center" or "right"
	"top",			// Menu vertical centered "top", "center" or "bottom"
	BaseHref+"images/1dot.gif",		// Arrow right
	1,			// Arrow Width
	1,			// Arrow Height
	BaseHref+"images/1dot.gif",	// Arrow down
	1,			// Arrow Width
	1,			// Arrow Height
	BaseHref+"images/1dot.gif",	// Arrow left
	1,			// Arrow Width
	1,			// Arrow Height
	10,			// Top padding
	10,			// Left padding
	0,			// Unfold On Click
	"bottom");     // final parameter for testing menuBlur

	PopMenu2_1=new Array(
		"Location",	// ElementText
		"../../contact/html/location.html",		// ElementLink
		"",		// ElementBgImage
		11,		// ElementNoOfSubElements
		27,		// ElementHeight
		90,		// ElementWidth
		"",		// ElementBgColor
		"",		// ElementBgHighColor
		"#a2acb6",		// ElementFontColor
		"white",		// ElementFontHighColor
		"",		// ElementBorderColor
		"trebuchet ms, verdana, arial",		// ElementFontFamily
		-1,		// ElementFontSize in pixel
		-1,		// ElementBold
		-1,		// ElementItalic
		"left",		// ElementTextAlign
		"");		// ElementStatusText

		PopMenu2_1_1=new Array("<img src='images/1dot.gif' height='1' width='20'>","","",0,12,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_2=new Array("<img src='images/1dot.gif' height='1' width='20'>Location","../../contact/html/location.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_3=new Array("<img src='images/1dot.gif' height='1' width='20'>Map & Directions","../../contact/html/mapDirections.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_4=new Array("<img src='images/1dot.gif' height='1' width='20'>","","",0,12,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_5=new Array("<img src='images/1dot.gif' height='1' width='20'>Local Attractions","../../location/html/attractions.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_6=new Array("<img src='images/1dot.gif' height='1' width='20'>Local Clubs","../../location/html/clubs.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_7=new Array("<img src='images/1dot.gif' height='1' width='20'>Local Restaurants","../../location/html/restaurants.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_8=new Array("<img src='images/1dot.gif' height='1' width='20'>","","",0,12,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_9=new Array("<img src='images/1dot.gif' height='1' width='20'>Bali Overview","../../location/html/overview.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_10=new Array("<img src='images/1dot.gif' height='1' width='20'>Bali Culture","../../location/html/culture.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_11=new Array("<img src='images/1dot.gif' height='1' width='20'>Bali Destinations","../../location/html/destinations.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_1_12=new Array("<img src='images/1dot.gif' height='1' width='20'>Bali Links","../../location/html/links.html","",0,18,200,"","","","","","",-1,-1,-1,"","");

	PopMenu2_2=new Array(
		"Images",	// ElementText
		"javascript:NewWin=window.open(\"http://www.relaxedvillas.com/gallery/html/gallery.php?image=01\",\"NWin\");window[\"NewWin\"].focus()",		// ElementLink
		"",		// ElementBgImage
		0,		// ElementNoOfSubElements
		27,		// ElementHeight
		80,		// ElementWidth
		"",		// ElementBgColor
		"",		// ElementBgHighColor
		"#a2acb6",		// ElementFontColor
		"white",		// ElementFontHighColor
		"",		// ElementBorderColor
		"trebuchet ms, verdana, arial",		// ElementFontFamily
		-1,		// ElementFontSize in pixel
		-1,		// ElementBold
		-1,		// ElementItalic
		"left",		// ElementTextAlign
		"");		// ElementStatusText

		PopMenu2_3=new Array(
		"Contact",	// ElementText
		"../../contact/html/contactDetails.html",		// ElementLink
		"",		// ElementBgImage
		3,		// ElementNoOfSubElements
		27,		// ElementHeight
		80,		// ElementWidth
		"",		// ElementBgColor
		"",		// ElementBgHighColor
		"#a2acb6",		// ElementFontColor
		"white",		// ElementFontHighColor
		"",		// ElementBorderColor
		"trebuchet ms, verdana, arial",		// ElementFontFamily
		-1,		// ElementFontSize in pixel
		-1,		// ElementBold
		-1,		// ElementItalic
		"left",		// ElementTextAlign
		"");		// ElementStatusText

		PopMenu2_3_1=new Array("<img src='../../images/1dot.gif' height='1' width='20'>","","",0,12,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_3_2=new Array("<img src='../../images/1dot.gif' height='1' width='20'>Contact Details","../../contact/html/contactDetails.html","",0,18,200,"","","","","","",-1,-1,-1,"","");
		PopMenu2_3_3=new Array("<img src='../../images/1dot.gif' height='1' width='20'>Map & Directions","../../contact/html/mapDirections.html","",0,18,200,"","","","","","",-1,-1,-1,"","");



