function testframeset() {

	if ((self == top) ) {
		self.location.href = "/index.php?url=" + escape(self.location.pathname);
	}
}

function testframesetnourl() {
	if (self == top) {
		self.location.href = "/index.php";
	}
}
