if (top.location == self.location) {
	currentPath = new String(self.location)
	x = (currentPath.lastIndexOf("/") + 1)
	newPath = (currentPath.substring(0,x) + "index.html")
	top.location.replace(newPath)
}
