var exp;var jspPath = '';var htmlPath = '';var currPath = location.href;// ********  creating dropdown nav  *****************// Global Vars for nav// initialize and give default values for dropdown menu color variablesvar background = "#6C4611";var bgcolor = "#81561A";var border_color = "#6A4511";var menu_border = "#6A4511";var hovercolor = "#81561A";var dividercolor = "#D8B16B";// Simple Browser Checkvar ie = "Microsoft Internet Explorer";var netscape = "Netscape";var mac = "MacPPC"var browser = navigator.appName;var os = navigator.platform;var No3 = (parseInt(navigator.appVersion) > 3) ? 1:0;if (navigator.userAgent == 'Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC)') { 	No3 = 0; }var layer = (document.getElementById && No3) ? "document.getElementById('L'+menu).style" : (document.all) ? "document.all['L'+menu].style" : (document.layers && No3) ? "document.layers['L'+menu]": 0;var hideMe = (document.all || document.getElementById) ? "hidden" : "hide";var showMe = (document.all || document.getElementById) ? "visible" : "show";var timer;if (document.layers && No3) {	document.write('<style>.navdown {color:#FFCC00; font-size:11px; font-family:verdana,sans-serif; font-weight:normal; text-decoration:none; padding-bottom : 3;	padding-top : 3;}</style>');}///////////////////////////////////////////////*	Create Your layers below by typing:	 Layer[incrementing number] = new LayerSpecs(Left Position, Top Position, Width, cell background color, cell hover color, cell divider color, List of Links Seperated by Commas)*/Layer = new Array();Layer[1] = new LayerSpecs(16,85,60,'#6C4611','#81561A','#D8B16B','<a href="philosophy.html" class="body">&nbsp;&nbsp;Philosophy</a>');Layer[2] = new LayerSpecs(133,85,130,'#6C4611','#81561A','#D8B16B','<a href="wraps.html" class="navdown">&nbsp;&nbsp;Slimming Wraps</a>','<a href="treatments.html" class="navdown">&nbsp;&nbsp;Body Treatments</a>');Layer[3] = new LayerSpecs(278,85,92,'#6C4611','#81561A','#D8B16B','<a href="facials.html" class="navdown">&nbsp;&nbsp;Facials</a>','<a href="waxing.html" class="navdown">&nbsp;&nbsp;Waxing</a>');Layer[4] = new LayerSpecs(380,85,130,'#6C4611','#81561A','#D8B16B','<a href="acupuncture.html" class="navdown">&nbsp;&nbsp;Acupuncture</a>','<a href="healing.html" class="navdown">&nbsp;&nbsp;Healing</a>','<a href="massage.html" class="navdown">&nbsp;&nbsp;Massage Therapy</a>');Layer[5] = new LayerSpecs(512,85,130,'#6C4611','#81561A','#D8B16B','<a href="specials.html#package" class="navdown">&nbsp;&nbsp;Package Specials</a>','<a href="specials.html#gift" class="navdown">&nbsp;&nbsp;Gift Certificates</a>');/////////////////////////////////////////////////////////// Loop to create master nav table(ie/nn6) or layer(nn4.x)for(i=1; i<Layer.length; i++) {	// imgHilite returns the image name to the mouseover/mouseoff function in rollover.js 	var imgHilite = rollArray[(i-1)].name;		if (document.getElementById && No3) { 		document.write('<div onMouseOver="showOver(\''+imgHilite+'\');clearTimeout(timer)" onMouseOut="showOff(\''+imgHilite+'\');Hide('+i+')" ID="L'+i+'" STYLE="position:absolute; visibility:hidden; background:'+background+'; top:'+Layer[i].top+'; left:'+Layer[i].left+';"><table border="0" cellpadding="0" cellspacing="0">'+Layer[i].info+'</TABLE></div>'); 	} else if (document.all && No3) {		document.write('<SPAN onMouseOver="clearTimeout(timer);" onMouseOut="Hide('+i+')" ID="L'+i+'" STYLE="position:absolute; visibility:hidden; background:'+background+'; top:'+Layer[i].top+'; left:'+Layer[i].left+';"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFCC00" onmouseover="showOver(\''+imgHilite+'\');" onmouseout="showOff(\''+imgHilite+'\');">'+Layer[i].info+'</TABLE></SPAN>'); 	} else if (document.layers && No3) {		document.write('<LAYER onMouseOver="clearTimeout(timer);showOver(\''+imgHilite+'\');" onMouseOut="Hide('+i+');showOff(\''+imgHilite+'\');" ID="L'+i+'" VISIBILITY="hide" position="absolute" BGCOLOR="#FFCC00" TOP="'+Layer[i].top+'" LEFT="'+Layer[i].left+'">'+Layer[i].info+'</LAYER>'); 	}}function Show(menuNumber) {	if(timer) { 		clearTimeout(timer); 	}	for(menu=0; menu < Layer.length; menu++) {		if(Layer[menu]) {			eval(layer).visibility = hideMe; 		} 	}	if (menuNumber > 0){		var menu = menuNumber;		eval(layer).visibility = showMe;	}}function Hide(menuNumber) { timer = setTimeout("Show(0)", 200); }function LayerSpecs(Left,Top,Width,bgcolor,hovercolor,dividercolor,bordercolor) { 	if(No3) {		if (document.getElementById && document.all) {			if (homePage=="yes") {				this.left = Left;				this.top = Top;			} else {				this.left = parseInt(Left) + 10;				this.top = parseInt(Top) - 5;			}		} else if (document.getElementById && navigator.userAgent.indexOf('Gecko')) {			if (homePage=="yes") {				this.left = Left;				this.top = Top;			} else {				this.left = parseInt(Left) + 8;				this.top = parseInt(Top) - 12;			}		} else if (document.all) {			if (homePage=="yes") {				this.left = Left;				this.top = Top;			} else {				this.left = parseInt(Left) + 10;				this.top = parseInt(Top) - 5;			}		} else if (document.layers) { 			// Width = Width + 10;			if (homePage=="yes") {				this.left = parseInt(Left) + 0;				this.top = parseInt(Top) - 1;			} else {				this.left = parseInt(Left) + 8;				this.top = parseInt(Top) - 13;			}		} 				this.info  = "";				// initialize layer position for NN4.x		var T = 0;						// Loop to populate master nav table/layer with content		for(i=6; i<arguments.length; i++) {						// check for 2 lines of content within layer and offset accordingly			if( arguments[i].indexOf('<br>&nbsp;') != -1 ){				var addOffset = 13;			} else {				var addOffset = 0;			}						// calculates table cell height for NN6 & IE			var cellheight = 17 + addOffset;			if (document.all){ 				this.info += '<tr bgcolor="'+bgcolor+'" onMouseOver="this.bgColor=\''+hovercolor+'\';return true;" onMouseOut="this.bgColor=\''+bgcolor+'\';return true;"><TD WIDTH="'+Width+'" height="'+cellheight+'"><span style="line-height:102%;">'+arguments[i]+'</span></TD></TR><tr><td bgcolor="'+dividercolor+'"><img src="'+htmlPath+'images/spacer.gif" width="'+Width+'" height="1" border="0" alt=""></td></tr>'; 			} else if (document.getElementById){ 				this.info += '<tr bgcolor="'+bgcolor+'" onMouseOver="this.bgColor=\''+hovercolor+'\';return true;" onMouseOut="this.bgColor=\''+bgcolor+'\';return true;"><TD WIDTH="'+Width+'" height="'+cellheight+'">'+arguments[i]+'</TD></TR><tr><td bgcolor="'+dividercolor+'"><img src="'+htmlPath+'images/spacer.gif" width="'+Width+'" height="1" border="0" alt=""></td></tr>'; 			} else if (document.layers){ 				this.info += '<LAYER position="absolute" bgcolor="'+bgcolor+'" onMouseOver="this.bgColor=\''+hovercolor+'\';return true;" onMouseOut="this.bgColor=\''+bgcolor+'\';return true;" WIDTH="'+Width+'" TOP="'+T+'"><img src="'+htmlPath+'images/spacer.gif" width="'+Width+'" height="1" border="0" alt=""><br>'+arguments[i]+'</LAYER><br>'; 			}					// increment layer position for NN4.x		T += 17 + addOffset;		}	} }