<!-- Begin

var w;
var h;
myPopup = '';

function NewWindow(mypage, size) {
	if (size == 1){
		w = 350;
		h = 150;}
	else if (size == 2){
		w = 575;
		h = 425;}
	else if (size == 3){
		w = 800;
		h = 600;}

var winl = (screen.width - w) / 10;
var wint = (screen.height - h) / 10;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',resizable,scrollbars'
win = window.open(mypage, 'myname'+size, winprops);
win.focus()
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function CustomWindow(mypage, nWidth, nHeight) {

var winl = (screen.width - nWidth) / 10;
var wint = (screen.height - nHeight) / 10;
winprops = 'height='+nHeight+',width='+nWidth+',top='+wint+',left='+winl+',resizable,scrollbars'
win = window.open(mypage, 'CustomWindow'+nWidth+'x'+nHeight, winprops);
win.focus()
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function corpPopup(url) {
    myPopup = window.open(url,'AllWebWindow','top=0,left=0,width=640,height=480,scrollbars=yes,toolbar=yes,resizable=yes');
    if (!myPopup.opener)
         myPopup.opener = self; 
}

function LoginPopup(url) {
    myPopup = window.open(url,'LoginWindow','top=0,left=0,width=800,height=600,scrollbars=yes,toolbar=yes,resizable=yes,status=yes');
    if (!myPopup.opener)
         myPopup.opener = self; 
}

function PopHelp(URL) 
{
 var HelpWin;
// HelpWin = window.open(URL, 'secondary', 'resizable=yes', 'scrollbars=yes','width=750', //'height=400');
 HelpWin = window.open(URL, 'secondary', 'resizable=yes,scrollbars=yes,width=700,height=400');
 self.name="main";
 HelpWin.focus();
}

function BackToMain(URL) 
{
 var mainWin;
// mainWin = window.open(URL,"main");
// mainWin.focus();
 this.close();
}

//  End -->
