/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="250px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT
//linkset for skincare
linkset[0]='<center><strong>&darr;&nbsp;Select a Skin Care Service&nbsp;&darr;</strong></center>'
linkset[0]+='<hr class="page-splits">' //Optional Separator
linkset[0]+='<a href="#Consultation">&raquo;&nbsp;Skin Care Consultation</a>'
linkset[0]+='<a href="#European Facial">&raquo;&nbsp;European Facial</a>'
linkset[0]+='<a href="#Acne Treatment">&raquo;&nbsp;Acne Treatment</a>'
linkset[0]+='<a href="#Eye Treatment">&raquo;&nbsp;Eye Treatment</a>'
linkset[0]+='<a href="#Rejuvenating Facial">&raquo;&nbsp;Rejuvenating Facial</a>'
linkset[0]+='<a href="#Classique Facial">&raquo;&nbsp;Le\' grand Classique Facial</a>'
linkset[0]+='<a href="#Alpha Vital">&raquo;&nbsp;Alpha Vital Skin Care Facial</a>'
linkset[0]+='<a href="#Soin Purete">&raquo;&nbsp;Soin Purete (Acne Facial)</a>'
linkset[0]+='<a href="#Optimizer Facial">&raquo;&nbsp;Optimizer Facial</a>'
linkset[0]+='<a href="#Hydra Flash">&raquo;&nbsp;Hydra Flash Facial</a>'
linkset[0]+='<a href="#Collagen Moisturizing">&raquo;&nbsp;Collagen Moisturizing</a>'
linkset[0]+='<a href="#Back Facial">&raquo;&nbsp;Back Facial</a>'
linkset[0]+='<a href="#Chemical Peels">&raquo;&nbsp;Face and Body Chemical Peels</a>'
linkset[0]+='<a href="#Microdermabrasion">&raquo;&nbsp;Microdermabrasion</a>'
linkset[0]+='<a href="#Photo Rejuvenation">&raquo;&nbsp;Photo Rejuvenation Treatment</a>'
linkset[0]+='<a href="#NSFL">&raquo;&nbsp;Non-Surgical Face Lift</a>'
linkset[0]+='<a href="#Tints">&raquo;&nbsp;Tints</a>'
linkset[0]+='<a href="#Waxing">&raquo;&nbsp;Waxing</a>'
linkset[0]+='<a href="#IPL">&raquo;&nbsp;Photo Facial (IPL) Treatment</a>'
linkset[0]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase a Gift Certificates</a>'
//linkset[0]+='<a href="#Soft Tissue">&raquo;&nbsp;Soft Tissue Injections</a>'
//linkset[0]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase Gift Certificates</a>'
//linkset for hand and foot care
linkset[1]='<center><strong>&darr;&nbsp;Select a Hand &amp; Foot Service&nbsp;&darr;</strong></center>'
linkset[1]+='<hr class="page-splits">' //Optional Separator
linkset[1]+='<a href="#Deluxe Manicure Pedicure">&raquo;&nbsp;Deluxe Manicure &amp; Pedicure</a>'
linkset[1]+='<a href="#Aromatherapy Footbath Pedicure">&raquo;&nbsp;Aromatherapy Footbath &amp; Pedicure</a>'
linkset[1]+='<a href="#Hand Foot Treatments">&raquo;&nbsp;Hand &amp; Foot Treatments</a>'
linkset[1]+='<a href="#Glycolic Hand or Foot Treatments">&raquo;&nbsp;Glycolic Hand or Foot Treatments</a>'
linkset[1]+='<a href="#Acrylic Nails">&raquo;&nbsp;Acrylic Nails</a>'
linkset[1]+='<a href="#Manicures">&raquo;&nbsp;Manicures</a>'
linkset[1]+='<a href="#Pedicures">&raquo;&nbsp;Pedicures</a>'
linkset[1]+='<a href="#Paraffin Manicures Pedicures">&raquo;&nbsp;Paraffin Manicures &amp; Pedicures</a>'
linkset[1]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase a Gift Certificates</a>'
//linkset for hair care
linkset[2]='<center><strong>&darr;&nbsp;Select a Hair Care Service&nbsp;&darr;</strong></center>'
linkset[2]+='<hr class="page-splits">' //Optional Separator
linkset[2]+='<a href="#Hair Consultation">&raquo;&nbsp;Hair Consultation</a>'
linkset[2]+='<a href="#Men\'s Cut Style">&raquo;&nbsp;Men\'s Cut &amp; Style</a>'
linkset[2]+='<a href="#Women\'s Cut Style">&raquo;&nbsp;Women\'s Cut &amp; Style</a>'
linkset[2]+='<a href="#Chemical Services">&raquo;&nbsp;Chemical Services</a>'
linkset[2]+='<a href="#total makeover">&raquo;&nbsp;Total Makeover Packages</a>'
linkset[2]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase Gift Certificates</a>'
//linkset for make-up
linkset[3]='<center><strong>&darr;&nbsp;Select a Make-up Service&nbsp;&darr;</strong></center>'
linkset[3]+='<hr class="page-splits">' //Optional Separator
linkset[3]+='<a href="#Make-up">&raquo;&nbsp;Make-up Options</a>'
linkset[3]+='<a href="#total makeover">&raquo;&nbsp;Total Makeover Packages</a>'
linkset[3]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase Gift Certificates</a>'
//linkset for massage
linkset[4]='<center><strong>&darr;&nbsp;Select a Massage Service&nbsp;&darr;</strong></center>'
linkset[4]+='<hr class="page-splits">' //Optional Separator
linkset[4]+='<a href="#Swedish Massage">&raquo;&nbsp;Swedish Massage</a>'
linkset[4]+='<a href="#Aromatherapy Massage">&raquo;&nbsp;Aromatherapy Massage</a>'
linkset[4]+='<a href="#Deep Tissue Massage">&raquo;&nbsp;Deep Tissue Massage</a>'
linkset[4]+='<a href="#Stone Therapy Massage">&raquo;&nbsp;Stone Therapy Massage</a>'
linkset[4]+='<a href="#Manual Lymphatic Drainage">&raquo;&nbsp;Manual Lymphatic Drainage</a>'
linkset[4]+='<a href="#Cranio Sacral">&raquo;&nbsp;Cranio Sacral</a>'
linkset[4]+='<a href="#Ortho-bionomy">&raquo;&nbsp;Ortho-bionomy</a>'
linkset[4]+='<a href="#Therastim">&raquo;&nbsp;Therastim</a>'
linkset[4]+='<a href="#Reiki Massage">&raquo;&nbsp;Reiki Massage</a>'
linkset[4]+='<a href="#Pre-Natal Massage">&raquo;&nbsp;Pre-Natal Massage</a>'
linkset[4]+='<a href="#Lomi Lomi">&raquo;&nbsp;Lomi Lomi</a>'
linkset[4]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase a Gift Certificates</a>'
//linkset for body care
linkset[5]='<center><strong>&darr;&nbsp;Select a Body Treatment&nbsp;&darr;</strong></center>'
linkset[5]+='<hr class="page-splits">' //Optional Separator
linkset[5]+='<a href="smoothshapes.php">&raquo;&nbsp;SmoothShapes&reg; Cellulite Therapy</a>'
linkset[5]+='<a href="#Mineral Body Wraps">&raquo;&nbsp;Cellulite Therapy</a>'
linkset[5]+='<a href="#Body Wraps">&raquo;&nbsp;Body Wraps</a>'
linkset[5]+='<a href="#Synergie">&raquo;&nbsp;Synergie</a>'
linkset[5]+='<a href="#Arasys">&raquo;&nbsp;Body Shaping System</a>'
linkset[5]+='<a href="#Papaya Enzyme Bath">&raquo;&nbsp;Papaya Enzyme Bath</a>'
linkset[5]+='<a href="#Foot Reflexology">&raquo;&nbsp;Foot Reflexology</a>'
linkset[5]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase a Gift Certificates</a>'
//linkset for hair removal
linkset[6]='<center><strong>&darr;&nbsp;Select Hair Removal Info.&nbsp;&darr;</strong></center>'
linkset[6]+='<hr class="page-splits">' //Optional Separator
linkset[6]+='<a href="#Overview">&raquo;&nbsp;Photoepilation Overview</a>'
linkset[6]+='<a href="#Anatomy">&raquo;&nbsp;Anatomy of a Hair</a>'
linkset[6]+='<a href="#MaleII">&raquo;&nbsp;Male - Skin Type II</a>'
linkset[6]+='<a href="#FemaleIII">&raquo;&nbsp;Female - Skin Type III</a>'
linkset[6]+='<a href="#FemaleIV">&raquo;&nbsp;Female - Skin Type IV</a>'
linkset[6]+='<a href="#Pricing">&raquo;&nbsp;Pricing Schedule</a>'
linkset[6]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase a Gift Certificates</a>'
//linkset for website overview
linkset[7]='<center><strong>&darr;&nbsp;Select an Area of Interest&nbsp;&darr;</strong></center>'
linkset[7]+='<hr class="page-splits">' //Optional Separator
linkset[7]+='<a href="index.html">&raquo;&nbsp;Home</a>'
linkset[7]+='<a href="about.htm">&raquo;&nbsp;About Us</a>'
linkset[7]+='<a href="https://changesofcherrycreek.com/contact.htm">&raquo;&nbsp;Contact Us</a>'
linkset[7]+='<a href="services.htm">&raquo;&nbsp;Services</a>'
linkset[7]+='<a href="packages.php">&raquo;&nbsp;Packages</a>'
linkset[7]+='<a href="specials.php">&raquo;&nbsp;Specials</a>'
linkset[7]+='<a href="gift_certificates.php">&raquo;&nbsp;Gift Certificates</a>'
linkset[7]+='<a href="directions.php">&raquo;&nbsp;Map/Directions</a>'
linkset[7]+='<a href="site_map.htm">&raquo;&nbsp;Site Map</a>'
linkset[7]+='<a href="privacy.htm">&raquo;&nbsp;Privacy Policy</a>'
linkset[7]+='<a href="terms.htm">&raquo;&nbsp;Terms of Use</a>'
//linkset for specials
linkset[8]='<center><strong>&darr;&nbsp;Select a Special&nbsp;&darr;</strong></center>'
linkset[8]+='<hr class="page-splits">' //Optional Separator
linkset[8]+='<a href="#Special1">&raquo;&nbsp;Special #1</a>'
linkset[8]+='<a href="#Special2">&raquo;&nbsp;Special #2</a>'
linkset[8]+='<a href="#Special3">&raquo;&nbsp;Special #3</a>'
//linkset for services overview
linkset[9]='<center><strong>&darr;&nbsp;Select a Service&nbsp;&darr;</strong></center>'
linkset[9]+='<hr class="page-splits">' //Optional Separator
linkset[9]+='<a href="services.php?silverheader=1">&raquo;&nbsp;Skincare</a>'
linkset[9]+='<a href="services.php?silverheader=2">&raquo;&nbsp;Hand &amp; Foot Care</a>'
linkset[9]+='<a href="services.php?silverheader=3">&raquo;&nbsp;Make-up Services</a>'
linkset[9]+='<a href="services.php?silverheader=4">&raquo;&nbsp;Massage</a>'
linkset[9]+='<a href="services.php?silverheader=5">&raquo;&nbsp;Body Treatments</a>'
linkset[9]+='<a href="services.php?silverheader=6">&raquo;&nbsp;Hair Removal</a>'
linkset[9]+='<a href="services.php?silverheader=7">&raquo;&nbsp;Hair Care</a>'
linkset[9]+='<a href="services.php?silverheader=8">&raquo;&nbsp;Packages</a>'
linkset[9]+='<a href="services.php?silverheader=9">&raquo;&nbsp;Purchase a Gift Certificates</a>'
//linkset for packages
linkset[10]='<center><strong>&darr;&nbsp;Select a Package&nbsp;&darr;</strong></center>'
linkset[10]+='<hr class="page-splits">' //Optional Separator
linkset[10]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase Gift Certificates</a>'
linkset[10]+='<a href="#overview">&raquo;&nbsp;Packages Overview</a>'
linkset[10]+='<a href="#full day">&raquo;&nbsp;Full Day</a>'
linkset[10]+='<a href="#half day">&raquo;&nbsp;Half Day</a>'
linkset[10]+='<a href="#bridal">&raquo;&nbsp;Bridal</a>'
linkset[10]+='<a href="#total makeover">&raquo;&nbsp;Total Makeover</a>'
//linkset for site map
linkset[11]='<center><strong>&darr;&nbsp;Select a Category&nbsp;&darr;</strong></center>'
linkset[11]+='<hr class="page-splits">' //Optional Separator
linkset[11]+='<a href="#INFORMATION">&raquo;&nbsp;Information</a>'
linkset[11]+='<a href="#SERVICES">&raquo;&nbsp;Services</a>'
linkset[11]+='<a href="#SKIN CARE">&raquo;&nbsp;Skin Care</a>'
linkset[11]+='<a href="#HAND FOOT CARE">&raquo;&nbsp;Hand &amp; Foot Care</a>'
linkset[11]+='<a href="#HAIR CARE">&raquo;&nbsp;Hair Care</a>'
linkset[11]+='<a href="#MAKE-UP SERVICES">&raquo;&nbsp;Make-up Services</a>'
linkset[11]+='<a href="#MASSAGE">&raquo;&nbsp;Massage</a>'
linkset[11]+='<a href="#BODY TREATMENTS">&raquo;&nbsp;Body Treatments</a>'
linkset[11]+='<a href="#PHOTOEPILATION HAIR REMOVAL">&raquo;&nbsp;Hair Removal</a>'
linkset[11]+='<a href="#PACKAGES">&raquo;&nbsp;Packages</a>'
//linkset for packages
linkset[12]='<center><strong>&darr;&nbsp;Select a Package&nbsp;&darr;</strong></center>'
linkset[12]+='<hr class="page-splits">' //Optional Separator
linkset[12]+='<a href="gift_certificates.php">&raquo;&nbsp;Purchase Gift Certificates</a>'
linkset[12]+='<a href="packages.php#overview">&raquo;&nbsp;Packages Overview</a>'
linkset[12]+='<a href="packages.php#full day">&raquo;&nbsp;Full Day</a>'
linkset[12]+='<a href="packages.php#half day">&raquo;&nbsp;Half Day</a>'
linkset[12]+='<a href="packages.php#bridal">&raquo;&nbsp;Bridal</a>'
linkset[12]+='<a href="packages.php#total makeover">&raquo;&nbsp;Total Makeover</a>'
////No need to edit beyond here

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu
