function popupWin(theURL,winName,features,W,H) { 
	win_name = window.open(theURL,winName,features);
	try {
		var l = (screen.width) ? (screen.width - W)/2 : 0;
		var t = (screen.height) ? (screen.height - H)/2 : 0;
		win_name.moveTo(l,t);
	}
	catch(e) {}
	win_name.focus();
	
}
