<!--
var E_AT = "@";
var DOMAIN = "aravadamassage.com";
var gs_client = navigator.appName;
var gdb_clientversion = parseFloat(navigator.appVersion);
var gb_ie = gs_client.indexOf('Microsoft') != -1;
var gb_nav4 = false;
var gi_base_w = 740;
var gi_base_h = 480;
var gi_w = gi_base_w;
var gi_h = gi_base_h;
var gi_footer_expand = 0;
var gi_dx = 0; // Difference betw/actual and base width
var gi_dy = 0; // Difference betw/actual and base height
var gi_curr_sel = -1;
var gs_sel1 = new Array(8);
gs_sel1[0] = "images/about1.gif";
gs_sel1[1] = "images/rates1.gif";
gs_sel1[2] = "images/benefits1.gif";
gs_sel1[3] = "images/appts1.gif";
gs_sel1[4] = "images/expect1.gif";
gs_sel1[5] = "images/clients1.gif";
gs_sel1[6] = "images/jobs1.gif";
gs_sel1[7] = "images/contact1.gif";
var gs_sel2 = new Array(8);
gs_sel2[0] = "images/about3.gif";
gs_sel2[1] = "images/rates3.gif";
gs_sel2[2] = "images/benefits3.gif";
gs_sel2[3] = "images/appts3.gif";
gs_sel2[4] = "images/expect3.gif";
gs_sel2[5] = "images/clients3.gif";
gs_sel2[6] = "images/jobs3.gif";
gs_sel2[7] = "images/contact3.gif";
function getBtnSrc(ai_btn, ab_on) {
	if (gi_curr_sel == ai_btn)
		return ab_on ? gs_sel1[ai_btn] : gs_sel2[ai_btn];
	else
		return ab_on ? gs_sel2[ai_btn] : gs_sel1[ai_btn];
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function PreloadImages() {
  if (document.images) {
    var imgFiles = PreloadImages.arguments;
    if (document.preloadArray == null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    var exists = 0;

    with (document)
    for (var j=0; j < imgFiles.length; j++) {
      exists = 0;
      if (imgFiles[j].charAt(0) != "#"){
        for (var k=0; k < i; k++){
          if (preloadArray[k].src.indexOf( imgFiles[j] ) >= 0){
            exists = 1;
            break;
        }}
        if (exists == 0){
          preloadArray[i] = new Image;
          preloadArray[i++].src = imgFiles[j];
}}}}}
function getObj(n, d) {
  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 && document.getElementById) x=document.getElementById(n); return x;
}
function showObj(as_n, ab_v) {
	var luo_x = getObj(as_n);
	if (luo_x == null) return;
	if (luo_x.style) luo_x.style.visibility = ab_v ? "visible" : "hidden";
	else luo_x.visibility = ab_v ? "show" : "hide";
}
function show(auo_x, ab_v) {
	if (auo_x == null) return;
	if (auo_x.style) auo_x.style.visibility = ab_v ? "visible" : "hidden";
	else auo_x.visibility = ab_v ? "show" : "hide";
}
function getT(auo_x) {
	if (auo_x == null) return 0;
	if (auo_x.style) return parseInt(auo_x.style.top);
	else return parseInt(auo_x.top);
}
function getL(auo_x) {
	if (auo_x == null) return 0;
	if (auo_x.style) return parseInt(auo_x.style.left);
	else return parseInt(auo_x.left);
}
function getW(auo_x) {
	if (auo_x == null) return 0;
	return auo_x.clientWidth;
}
function getH(auo_x) {
	if (auo_x == null) return 0;
	return auo_x.clientHeight;
}
function setObjX(as_obj, ai_x) {
	var luo_x = getObj(as_obj);
	if (luo_x == null) {alert("NULL OBJECT '"+as_obj+"'"); return;}
	if (ai_x == null) return;
	
	if (luo_x.style) luo_x.style.left = ai_x;
	else luo_x.left = ai_x;
}
function setObjY(as_obj, ai_y) {
	var luo_x = getObj(as_obj);
	if (luo_x == null) {alert("NULL OBJECT '"+as_obj+"'"); return;}
	if (ai_y == null) return;
	
	if (luo_x.style) luo_x.style.top = ai_y;
	else luo_x.top = ai_y;
}
function setObjW(as_obj, ai_w) {
	var luo_x = getObj(as_obj);
	if (luo_x == null) {alert("NULL OBJECT '"+as_obj+"'"); return;}
	if (ai_w == null) return;
	
	if (luo_x.style) luo_x.style.width = ai_w;
	else luo_x.width = ai_w;
}
function setObjH(as_obj, ai_w) {
	var luo_x = getObj(as_obj);
	if (luo_x == null) {alert("NULL OBJECT '"+as_obj+"'"); return;}
	if (ai_w == null) return;
	
	if (luo_x.style) luo_x.style.height = ai_w;
	else luo_x.height = ai_w;
}
function writeMTA(as_a, as_n, as_d) {
	if (as_a == null) as_a = "Webmaster";
	if (as_d == null) as_d = DOMAIN;
	if (as_n == null) as_n = as_a + E_AT + as_d;
	document.write("<a href=\"mailto:");
	document.write(as_a);
	document.write(E_AT);
	document.write(as_d);
	document.write("\">");
	document.write(as_n);
	document.write("</a>");
}
function flushFrames() {
	if (gi_curr_sel >= 0) {
		var guo_i = getObj("img_btn"+gi_curr_sel);
		if (guo_i) guo_i.src = getBtnSrc(gi_curr_sel, false);
	}
	
	if (gb_ie) {
		gi_w = document.body.clientWidth;
		gi_h = document.body.clientHeight;
	} else {
//document.title = "iWH("+window.innerWidth+","+window.innerHeight+") oWH("+document.width+","+document.height+")";
		gi_w = document.width;
		gi_h = window.innerHeight;
	}
	if (gi_w > gi_base_w)
		gi_dx = gi_w - gi_base_w;
	if (gi_h > gi_base_h)
		gi_dy = gi_h - gi_base_h;
	
	setObjH("img_sidespacer", 120 + gi_dy);
	
	flushPage(); // This function defined per page
}
// -->
