function OpenWindow(strURL, strTitle, intWidth, intHeight) {
var intWindowLeft;
var intWindowTop;
var msgWindow;
//find out the numbers to center the screen.
intWindowLeft = (screen.width - intWidth) / 2; intWindowTop = (screen.height - intHeight) / 2; msgWindow =window.open(strURL,strTitle,'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=' + intWidth + ',height=' + intHeight + ',left=' + intWindowLeft + ',top=' + intWindowTop); }
