<!-- hide JavaScript from non-JavaScript browsers
function securepopup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname); // use defaults
return false;
}
//
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=400,height=200,scrollbars=yes,resizable=yes');
return false;
}
//
function popupnr(mylink, windowname, refocus)
{
var mywin, href;

if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
mywin = window.open('', windowname, 'width=400,height=200,scrollbars=yes,resizable=yes');

// if we just opened the window
if (
   mywin.closed || 
   (! mywin.document.URL) || 
   (mywin.document.URL.indexOf("about") == 0)
   )
   mywin.location=href;
else if (refocus)
   mywin.focus();
return false;

}
//--> end hide JavaScript
