if (window.frames) {
	var host = String(self.location.hostname)
	var loc = String(self.location)
	if (host != "" && host.indexOf(".google.") < 0 && loc.indexOf("/translate") < 0) {
		if (top.location == loc || !top._SCARA_FRAMES) {
			var MyHtml = String(document.location)
			top.location = MyHtml.substring(0,MyHtml.lastIndexOf("\/"))+"/frames.php?"+escape(MyHtml.substring(MyHtml.lastIndexOf("\/")+1,MyHtml.length))
		}
	}
}

function SetPage(_Name) {
	var Name = new String(_Name?_Name:document.location);
	var is2 = Name.lastIndexOf(".")
	if (is2 > 0) Name = Name.substring(Name.lastIndexOf("\/")+1,is2)
	if (parent["Nav"] && parent["Nav"].SetSel) parent["Nav"].SetSel(Name)
	delete Name
}
