function PopIt(filename, h, w){  
	popup = window.open(filename,"popDialog","height="+h+",width="+w+",left=50,top=50,scrollbars=no")  
	if ( popup.document.close() ) {
		popup.document.close()
	}
}