
function newWindow(disclaimer){
pictureWindow=window.open(disclaimer,'disclaimerWin','width=400,height=300,scrollbars=no');
pictureWindow.focus();
}

var currenttherapy = "";
var currenttherapytype = -1;

function changestyle(therapytype, flag) {
	if (therapytype == 0) {
		if(flag == true) {
			document.getElementById("hypnosis").className = "behavioraltherapies";
			document.getElementById("regression").className = "behavioraltherapies";
			document.getElementById("pastlife").className = "behavioraltherapies";
		} else {
			if (currenttherapy != "hypnosis")
				document.getElementById("hypnosis").className = "servicessidebarlink";
			if (currenttherapy != "regression")
				document.getElementById("regression").className = "servicessidebarlink";
			if (currenttherapy != "pastlife")
				document.getElementById("pastlife").className = "servicessidebarlink";
		}
	}

	if (therapytype == 1) {
		if(flag == true) {
			document.getElementById("acupuncture").className = "bodytherapies";
			document.getElementById("deeptissue").className = "bodytherapies";
			document.getElementById("lastone").className = "bodytherapies";
			document.getElementById("phyto").className = "bodytherapies";			
			document.getElementById("massage").className = "bodytherapies";
		} else {
			if (currenttherapy != "acupuncture")
				document.getElementById("acupuncture").className = "servicessidebarlink";
			if (currenttherapy != "deeptissue")
				document.getElementById("deeptissue").className = "servicessidebarlink";
			if (currenttherapy != "lastone")
				document.getElementById("lastone").className = "servicessidebarlink";
			if (currenttherapy != "phyto")
				document.getElementById("phyto").className = "servicessidebarlink";			
			if (currenttherapy != "massage")
				document.getElementById("massage").className = "servicessidebarlink";
		}
		
	}

	if (therapytype == 2) {
		if(flag == true){
			document.getElementById("cranio").className = "energytherapies";
			document.getElementById("jinshin").className = "energytherapies";
		} else {
			if (currenttherapy != "cranio")
				document.getElementById("cranio").className = "servicessidebarlink";
			if (currenttherapy != "jinshin")
			document.getElementById("jinshin").className = "servicessidebarlink";
		}
	}

}




 
 
 
