// dimpopup.js: small popup window for package dimensions
//
/*
	Created 6/20/03
	DATEL (datel.com)
*/
//
// Open and define popup window


//Start script
function openWin(url)
{
var MyScreenWidth;
var MyScreenHeight;
//gets top and left positions based on user's resolution so popup window is centered.
MyScreenWidth = (window.screen.width/2) - (122 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
MyScreenHeight = (window.screen.height/2) - (27 + 50); //half the screen height minus half the new window height (plus title and status bars).
var win1 = window.open(url,"thewindow","height=250,width=630,resizable,left=" + MyScreenWidth + ",top=" + MyScreenHeight + ",screenX=" + MyScreenWidth + ",screenY=" + MyScreenHeight + ",scrollbars=no");
// win1.focus();
}


