

function gen_popup(strPopup,w,h)
{
if (w == null) { w = 450; }
if (h == null) { h = 350; }
var win = null;
var newwin;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars,resizable=yes'
newwin = window.open(strPopup,"Information",settings);
}

function popup_with_browser(strPopup,w,h)
{
var win = null;
var newwin;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 - 50 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=yes,menubar=yes,resizable=yes,status=yes,titlebar=yes,toolbar=yes'
newwin = window.open(strPopup,"feepopup",settings);
}

function popup_noscroll(strPopup, width, height)
{
   if (width == null) { width = 450; }
   if (height == null) { height = 350; }
   var win = null;
   var newwin = null;
   settings = 'height='+ height +',width='+ width +',top=100,left=100,scrollbars=0,menubar=0,resizable=0';
   newwin = window.open(strPopup,"Information",settings);
} // End function popup_noscroll

function security_popup(location)
{ 
   var secureLocation = location + "PbpViewVerisign.do";
   var settings = "height=750,width=650,status=0,scrolling=1,menubar=0,scrollbars=1,resizable=0,toolbar=0";
   var security = window.open(secureLocation,"SecureSite",settings);
} // End function security_popup


