setTimeout ("changePage()", 3000);

function changePage() {
	if (self.parent.frames.length != 0)
		self.parent.location=document.location;
	}

