	//top.sidebar.document.writeln(top.document.location);
	//top.sidebar.document.writeln(self.document.location);
	//alert("TOP:" + top.location.href);
	//alert("PARENT:" + parent.location.href);
	//alert("SELF:" + self.location.href);
	if(parent==self){//It's the top page - no frame!
		//alert("I am the top");
		self.location.replace("index.htm?"+ self.location.pathname);
	}else{
		if(top.frames[0].name== "menu"){
			if(parent!=top){
			//There are two "index.htm"s!
			alert("Two index.htm");
			//Pop off a layer
			top.main.location.replace(parent.main.location.href);
			}
		}else{
			//The page is in someone else's frame!  
			//alert("I am in a frame.");
				
			//Allow this, but only within our own frame.
			if(parent.main!=self){
				self.location.replace("index.htm?"+ self.location.pathname);
			}
		}
	}