//force frames scriptif(top.location==self.location){	//we need to relaod in the appropriate frameset	var myLoc=self.location.toString();		//find this page name	var slashLoc=myLoc.lastIndexOf("/");	if(slashLoc==myLoc.length){		//there was a slash at the end		myLoc=myLoc.substring(0,(myLoc.length-1));		slashLoc=myLoc.lastIndexOf("/");		}	var pageName=myLoc.substring((slashLoc+1),myLoc.length);			//find server root -- to work both locally for dev and at any url	var rootURL=myLoc.substring(0,slashLoc)+"/";		//now we check for the directory	var myDirectory="";	var directoryArray= new Array("booking","calendar","services","links","contact","directions");	for(looper=0;looper<directoryArray.length;looper++){		if(myLoc.indexOf(directoryArray[looper])>(-1)){			myDirectory=directoryArray[looper];			endPoint=myLoc.indexOf(directoryArray[looper])			rootURL=myLoc.substring(0,endPoint)+myDirectory+"/";			}		}	myLoc=rootURL+"index.html?"+pageName;	top.location=myLoc;}