
function resizeWin(w, h)

{
        window.moveTo((screen.width - w) / 2, (screen.height - (h + 50)) / 2);
        window.resizeTo(w, h);
}

resizeWin(1296,1000);

