	function printWindow(myFile,myWidth,myHeight) {

	var nuWindow = null; //declare the window object as a var; give it value

		if(nuWindow && nuWindow.open) {
			nuWindow.close();
		}

	window.status = "...loading popup links...";
	// store left and right as vars
	var wLeft = 0;
	var wTop = 0;
	// Redefine these vars to place window in center
	var wLeft = (screen.width - myWidth)/2;
	var wTop = (screen.height - myHeight)/2;

	nuWindow =
window.open(myFile,'wilma','width='+myWidth+',height='+myHeight+',left='+wLeft+',top='+wTop+'');

	nuWindow.focus();

	window.status = "loading complete.";
	}
