<!-- function to open url in new window //-->
function popupWindow(url) {
	
	wx=eval((screen.width/2)-300);
	wy=eval((screen.height/2)-150);

	window.open(url,'popupWindow','toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,resizable=yes,screenX="+wx+",screenY="+wy+",scrollbars=yes,copyhistory=no,width=1035px,height=400,top="+wy+",left="+wx"')
}
<!-- eof function to open url in new window //-->

