﻿// JScript File

function NewWindow(url,name,width,height,scroll)
{
    var w = window.screen.width;
    var h = screen.height;
    var left = (w-width)/2;
    var top  = (h-height)/2;
    var win = window.open(url,name,'width='+width+',height='+height+',scrollbars='+status+',left='+left+',top='+top+',resizable')
    if(parseInt(navigator.appVersion)>=4)
    {
        win.window.focus();
    }
}


function NewWindow1(mypage, myname, w, h, scroll) 
{
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}