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

var ImgPath = ""

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)
	ImgPath = "img/"+Name+"/"+Name
	if (parent["Nav"] && parent["Nav"].SetSel) parent["Nav"].SetSel(Name)
	delete Name
}
