wname="mainFrame";
if(self.name != wname){
	window.print();
}
