/* This script and the one below may only be used on the subscriber's Web site. All other use is prohibited
* This comment must appear where the script is used.
* Copyright 2007 Credit Union National Association Inc.
*/
 var calcWindow;
 var left = (screen.availWidth) ? screen.availWidth - 430 : 10;
 window.onunload = function() { return closePopup(); }
 function popupCalcs(calc) {
	if (calcWindow && !calcWindow.closed)
	  calcWindow.close();
	calcWindow = window.open('http://cucalc.cuna.org/11213/'+calc+'.html?child=1','calculator','HEIGHT=720,WIDTH=380,innerWidth=380,innerHeight=720,SCREENX='+left+',LEFT='+left+',SCREENY=90,TOP=90,SCROLLBARS=yes,RESIZABLE=yes,TOOLBAR=no,STATUS=no,LOCATION=no');
	if(!calcWindow.opener)
	  calcWindow.opener = window;
 }
 function closePopup() {
	if (calcWindow && !calcWindow.closed)
	  calcWindow.close();
 }
