// JavaScript Document

	function popWin(imgName,winName){ 

	// Define Window width and height right here so that it can easily be modified. 
	var winWidth = 550; 
	var winHeight = 475; 
 
	// Midx and Midy will be used to center the window.
	var midx = (screen.width/2) - (winWidth/2); 
	var midy = (screen.height/2) - (winHeight/2)
 
	// Set up the Propeties String
	var props = "height=" + winHeight + ",scrollbars=yes,resizable=yes,width=" + winWidth + ",screenX=" + midx + ",screenY=" + midy + ",top=" + midy + ",left=" + midx; 
  
	myWin = window.open(imgName, winName, props);
	window.myWin.focus();
	} 	