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=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + intWidth + ',height=' + intHeight + ',left=' + intWindowLeft + ',top=' + intWindowTop); }
