﻿// JScript File

function centerpopup(varHTM,varWidth,varHeight){
    leftPos=0;
    topPos=0;
    if (screen) {
        leftPos = (screen.width-varWidth)/2;
        topPos = (screen.height-varHeight)/2;
    }
    newWindow = window.open(varHTM, 'newWin', 'width='+varWidth+',height='+varHeight+',left='+leftPos+',top='+topPos+'');
}