﻿// JScript File

 var win = null;
        function newWindow(mypage,myname,w,h,features) {
	        var winl = (screen.width-w)/2;
	        var wint = (screen.height-h)/2;
	        if (winl < 0) winl = 0;
	        if (wint < 0) wint = 0;
	        var settings = 'height=' + h + ',';
	        settings += 'width=' + w + ',';
	        settings += 'top=' + wint + ',';
	        settings += 'left=' + winl + ',';
	        settings += features;
	        win = window.open(mypage,myname,settings);
	        win.window.focus();
	        }
function newWindow2(mypage)
{
    window.open(mypage,'','fullscreeen=1,menubar=0,toolbar=0,resizable=1,scrollbars=1','');
}
function popup(url,width,height,left,top,name){
		var props = "fullscreen=1,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,titlebar=no,menubar=no,left="+left+",top="+top+",width="+width+",height="+height;
		w = window.open(url, name, props);
		if (w) {
		w.focus();
		}
}