// JavaScript Document

<!--

//Drop down menu link- © Dynamic Drive (www.dynamicdrive.com)

//For full source code and 100's more DHTML scripts, visit http://www.dynamicdrive.com

//Credit MUST stay intact for use

//Modifications and done commenting done by Vito Marone © 2004 vito.marone@polymtl.ca





<!-------------------------------BEGINNING OF DROP MENU CONTENT---------------------------------->

<!----------------------------------------------------------------------------------------------->



<!--this is the way I did the hover before, here's an example of the menu 2, line 0-->

<!--menu2[0]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=155 onmouseover="bgColor=\'blue\'" onmouseout="bgColor=\'6699CC\'"><a class="Jlink" href=http://www.wow.com> &nbsp;.: Services</a><br></TD></TR></TABLE>'-->





//Contents for menu 1	--	hairsalon width 178

var menu1=new Array()

menu1[0]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=178><a class="menulink1" href=coloring.html> &nbsp;.:  Coloring</a><br></TD></TR></TABLE>'

menu1[1]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=178><a class="menulink1" href=facial.html> &nbsp;.:  Facial Treatments</a><br></TD></TR></TABLE>'

menu1[2]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=178><a class="menulink1" href=haircare.html> &nbsp;.:  Hair Care</a><br></TD></TR></TABLE>'

menu1[3]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=178><a class="menulink1" href=hairremoval.html> &nbsp;.:  Hair Removal</a><br></TD></TR></TABLE>'

menu1[4]='<TABLE><TR><TD width=178><a class="menulink1" href=nailcare.html> &nbsp;.:  Nail Care</a><br></TD></TR></TABLE>'



//Contents for menu 2	--	spa	width 179

var menu2=new Array()

menu2[0]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=179 ><a class="menulink2" href=back.html> &nbsp;.: Back Treatments</a><br></TD></TR></TABLE>'

menu2[1]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=179 ><a class="menulink2" href=beauty.html> &nbsp;.: Beauty Packages</a><br></TD></TR></TABLE>'

menu2[2]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=179 ><a class="menulink2" href=body.html> &nbsp;.: Body Treatments</a><br></TD></TR></TABLE>'

menu2[3]='<TABLE><TR><TD width=179 ><a class="menulink2" href=massages.html> &nbsp;.: Massages</a><br></TD></TR></TABLE>'



//Contents for menu 3	--	location width 191

var menu3=new Array()

menu3[0]='<TABLE><TR><TD width=191><a class="menulink3" href=location.html> &nbsp;.: Location</a><br></TD></TR></TABLE>'



//Contents for meun 4	--	contactus width 182

var menu4=new Array()

var menu4=new Array()

menu4[0]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=182 ><a class="menulink4" href=contactus.html> &nbsp;.: Opening Hours</a><br></TD></TR></TABLE>'

menu4[1]='<TABLE><TR><TD class=CSSsolidBORDER_BotONLY width=182 ><a class="menulink4" href=contactus.html> &nbsp;.: Contact us</a><br></TD></TR></TABLE>'

menu4[2]='<TABLE><TR><TD width=182 ><a class="menulink4" href=press.html> &nbsp;.: News Coverage</a><br></TD></TR></TABLE>'





<!-------------------------------------END OF DROP MENU CONTENT---------------------------------->

<!----------------------------------------------------------------------------------------------->



<!-------------------------------------BEGIN CODE FOR DROPMENU SITE INDEX------------------------>

<!----------------------------------------------------------------------------------------------->





function formHandler(form){

var URL = document.form.site.options[document.form.site.selectedIndex].value;

window.location.href = URL;

}





<!------------------------------------END OF CODE FOR DROPMENU SITE INDEX----------------------->

<!----------------------------------------------------------------------------------------------->









function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

//-->



///////////////////////////////////////////////BEGINNING OF DROP MENU/////////////////////////////////////

//reusable/////////////////////////////







//Drop down menu by http://www.dynamicdrive.com



var zindex=100

var ns4=document.layers

var ns6=document.getElementById&&!document.all

var ie4=document.all

var opr=navigator.userAgent.indexOf("Opera")



function dropit(e,whichone){

curmenuID=ns6? document.getElementById(whichone).id : eval(whichone).id

if (window.themenu&&themenu.id!=curmenuID)

themenuStyle.visibility=ns4?"hide" : "hidden"



themenu=ns6? document.getElementById(whichone): eval(whichone)

themenuStyle=(ns6||ie4)? themenu.style : themenu



themenuoffsetX=(ie4&&opr==-1)? document.body.scrollLeft : 0

themenuoffsetY=(ie4&&opr==-1)? document.body.scrollTop : 0



<!--ONLY USEFULL MODIFICATIONS CAN BE DONE BELOW-->

themenuStyle.left=ns6||ns4? e.pageX-e.layerX-2 : themenuoffsetX+event.clientX-event.offsetX-2

themenuStyle.top=ns6||ns4? e.pageY-e.layerY+27 : themenuoffsetY+event.clientY-event.offsetY+27

<!--above -- distance from opening menu-->



hiddenconst=(ns6||ie4)? "hidden" : "hide"

if (themenuStyle.visibility==hiddenconst){

themenuStyle.visibility=(ns6||ie4)? "visible" : "show"

themenuStyle.zIndex=zindex++

}

else

hidemenu()

return false

}



function hidemenu(){

if ((ie4||ns6)&&window.themenu)

themenuStyle.visibility="hidden"

else if (ns4)

themenu.visibility="hide"

}



if (ie4||ns6)

document.onclick=hidemenu



//reusable/////////////////////////////

///////////////////////////////////////////////////END OF DROP MENU//////////////////////////////////////////



///////////////////////////////////////////////////BEGINNING OF DISABLE RIGHT CLICK//////////////////////////

//Disable right mouse click Script

//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive

//For full source code, visit http://www.dynamicdrive.com

/*

var message="Don't try to copy my shit!";	<!--MESSAGE CAN BE CHANGED HERE-->



///////////////////////////////////

function clickIE4(){

if (event.button==2){

alert(message);

return false;

}

}



function clickNS4(e){

if (document.layers||document.getElementById&&!document.all){

if (e.which==2||e.which==3){

alert(message);

return false;

}

}

}



if (document.layers){

document.captureEvents(Event.MOUSEDOWN);

document.onmousedown=clickNS4;

}

else if (document.all&&!document.getElementById){

document.onmousedown=clickIE4;

}



document.oncontextmenu=new Function("alert(message);return false")

*/

// -->

//////////////////////////////////////////////////////END OF DISABLE RIGHT CLICK///////////////////////////////









		