// The following calls the function in the main frameset to load the correct location tab

function runYouAreHere() {
	// The following reloads the page in a frameset if it is not already there

	if (self.name != "Main") {	// if page not loaded into frameset, pass page sourcefile name to window name, omit ".html", which is illegal in window name
		var wname = self.location.href.substring((self.location.href.lastIndexOf("/"))+1, self.location.href.lastIndexOf("."))
		window.name = wname
		top.location.replace("faqframe.html")
	}
	if (self.name == "Main" && self != top) {	//if page is loaded into frameset
		parent.noSearchFlag = true
		parent.youAreHere()	//set "you are here" arrow
	}
}

function leavePage() {
	if (self.name == "Main" && self != top) {	//if page is loaded into frameset
		parent.clearLocTab()
		parent.noSearchFlag = false
	}
}

// ***************************************************

