function openWindow(theURL,winName,features) { 
	window.open(theURL,winName,features);
}
if (top.location != self.location) {
	top.location.replace(self.location);
}