﻿//this code blocks unauthorized domains from accessing the script.
//block script 
//var accepted_domains=new Array("starlight.atlantistechservices.com","rosewellnessnetwork.com")

//var domaincheck=document.location.href //retrieve the current URL of user browser
//var accepted_ok=false //set acess to false by default

//if (domaincheck.indexOf("http")!=-1){ //if this is a http request
//for (r=0;r<accepted_domains.length;r++){
//if (domaincheck.indexOf(accepted_domains[r])!=-1){ //if a match is found
//accepted_ok=true //set access to true, and break out of loop
//break
//}
//}
//}
//else
//accepted_ok=true

//if (!accepted_ok){
//alert("You\'re not allowed to directly link to this .js file on our server!")
//history.back(-1)
//}
////end block script
var link = new Array;
var linkname = new Array;

//The code below is your template. every where it says "NameMe" is the where you should fill in your values.
//the function name and the link name must match for this to work.
//function NameMe(){
//document.getElementById("ServiceName").value = "NameMe"
//document.getElementById("Cost").value = "NameMe"
//document.getElementById("ServiceInformation").innerHTML = "NameMe"
//};
//link[0] = "NameMe()";
//linkname[0] = "NameMe";

function Reiki(){
document.getElementById("ServiceName").value = "Reiki Sessions"
document.getElementById("Cost").value = "$100.00, $75.00, $200.00"
document.getElementById("ServiceInformation").innerHTML = "$100- first visit and all home/office visits.<br /> $75- subsequent sessions at The Well.<br /> $200- three pre-paid sessions at The Well.<br />A session is 60 minutes."};
link[0] = "Reiki()";
linkname[0] = "Reiki Sessions";

function BrainGYM(){
document.getElementById("ServiceName").value = "Brain Gym Sessions"
document.getElementById("Cost").value = "$75.00, $75.00, $150.00"
document.getElementById("ServiceInformation").innerHTML = "$100- initial visit and all home/office visits.<br /> $75- subsequent sessions at The Well.<br /> $200- three pre-paid sessions at The Well.<br />A Session is 60 minutes.<br />I work well with all ages!"
};
link[1] = "BrainGYM()";
linkname[1] = "Brain Gym";

function PhoneConsultation(){
document.getElementById("ServiceName").value = "Phone Consultation"
document.getElementById("Cost").value = "$60.00"
document.getElementById("ServiceInformation").innerHTML = "$40- 30 minute sessions. Pre-paid Only! <br />Phone Consultations are $1 per minute when pre-paid."
};
link[2] = "PhoneConsultation()";
linkname[2] = "Phone Consultation";
