<!--

// For quick navigation lists
function go()
{
	box = document.forms[0].navi;
	destination = box.options[box.selectedIndex].value;
	if (destination) location.href = destination;
}

/* Sample quick nav form; calls go()
	<form>
		<select name="navi" onChange="go()" style="background-color:#eeeeee;">
			<option value=''>select another page...</option>
			<!-- <option value="/meet_corinna/professional.php">professional training</option> -->
			<option value="/meet_corinna/personal.php" >a personal note</option>
			<option value="/meet_corinna/friends.php">meet my friends</option>
		</select>
	</form>
*/


/*
	Parts based on: Tabs Menu (mouseover)- By Dynamic Drive
	For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
	This credit MUST stay intact for use
*/




//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=7000


var submenu=new Array()

submenu[0] = '';
submenu[1] = '';
submenu[2] = '';
submenu[3] = '';
submenu[4] = '';

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
// Home
//submenu[0]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9" alt="diamond">&nbsp;&nbsp; <a href="/about.php">about body celebration</a>';

//submenu[0]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9" alt="diamond">&nbsp;&nbsp; Hello and welcome to my Web site...';

// submenu[0]='';

// Meet Corinna
//submenu[1]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/meet_corinna/professional.php"> professional&nbsp;training</a>&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/meet_corinna/personal.php">a personal note</a>&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/meet_corinna/friends.php">meet my friends</a>';

// submenu[1]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9" alt="diamond">&nbsp;&nbsp;Corinna Joy Kavanagh has been a bodywork practitioner since 1991...';

// Bodywork
//submenu[2]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/bodywork/what_to_expect.php">what to expect</a>&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/bodywork/therapeutic.php">bodywork</a>&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/bodywork/energy.php">energy work</a>&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp;<a href="/bodywork/pregnancy.php">pregnancy massage</a>';

//submenu[2]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9" alt="diamond">&nbsp;&nbsp;What to expect in your bodywork session...';

// Skin Care
//submenu[3]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp; <a href="/skincare/facials.php">facials</a> &nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp; <a href="/skincare/lash_and_brow.php">lash &amp; brow tinting</a> &nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9"> &nbsp;&nbsp;<a href="/skincare/waxing.php">waxing</a> &nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp; <a href="/skincare/wraps.php">body treatments &amp; packages</a>';

// Contact
//submenu[4]='&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp; <a href="/contact/">contacting corinna</a>&nbsp;&nbsp;<img src="/images/diamond.gif" width="9" height="9">&nbsp;&nbsp; <a href="/contact/location.php">the salon</a>';





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];}
}



function rl_swapImage() { //v1.0
  	var i, j=0, x, a=rl_swapImage.arguments; 
	showit(a[4]);
	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];
		}
	}
}



function showit(which){
	clear_delayhide()
	thecontent = (which == -1)? "" : submenu[which]
	
	// Return if no sub menu, such as on home page.
	if(thecontent == '')
		return;
	
	if (document.getElementById || document.all)
		menuobj.innerHTML=thecontent
	else if (document.layers){
		menuobj.document.write(thecontent)
		menuobj.document.close()
	}
}

function resetit(e){
	if (document.all&&!menuobj.contains(e.toElement))
		delayhide=setTimeout("showit(-1)",delay_hide)
	else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
		delayhide=setTimeout("showit(-1)",delay_hide)
	else 
		delayhide=setTimeout("showit(-1)",delay_hide)
}

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

function contains_ns6(a, b) {
	while (b.parentNode)
		if ((b = b.parentNode) == a)
			return true;
	return false;
}

// Quick hack for an ad rollover
// Need to generalize and move to javascript.js
// ron, Nov. 17, 2007

  Rollimage = new Array()

  Rollimage[0]= new Image(150,100)
  Rollimage[0].src = "/images/ads/ad_call_today_or_book.jpg"

  Rollimage[1] = new Image(150,100)
  Rollimage[1].src = "/images/ads/ad_call_today_on.jpg"

  function SwapOut(){
    document.call_today.src = Rollimage[1].src;
    return true;
  }

  function SwapBack(){
    document.call_today.src = Rollimage[0].src; 
    return true;
  }
  
  
  
  ad_igc = new Array()

  ad_igc[0]= new Image(160,200)
  ad_igc[0].src = "/images/ads/ad_instant_gift_cert.jpg"

  ad_igc[1] = new Image(160,200)
  ad_igc[1].src = "/images/ads/ad_instant_gift_cert_on.jpg"

  function ad_igc_swap_out(){
    document.ad_igc.src = ad_igc[1].src;
    return true;
  }

  function ad_igc_swap_back(){
    document.ad_igc.src = ad_igc[0].src; 
    return true;
  }
  
  
  
  
  ad_igc2 = new Array()

  ad_igc2[0]= new Image(160,210)
  ad_igc2[0].src = "/images/ads/ad_instant_gift_cert2.jpg"

  ad_igc2[1] = new Image(160,210)
  ad_igc2[1].src = "/images/ads/ad_instant_gift_cert2_on.jpg"

  function ad_igc2_on(){
    document.ad_igc2.src = ad_igc2[1].src;
    return true;
  }

  function ad_igc2_off(){
    document.ad_igc2.src = ad_igc2[0].src; 
    return true;
  }

// - stop hiding          --> 