<!--
// Open popup windows
function openWindow(url, name, width, height, simple, resize, scroll, menu) {		
    if(arguments.length < 8) menu = false;
    if(arguments.length < 7) scroll = true;
    if(arguments.length < 6) resize = true;
    if(arguments.length < 5) simple = false;
    var winLeft = Math.round((screen.availWidth - width) / 2);
    var winTop = Math.round((screen.availHeight - (height + 40)) / 2);
    if(winTop < 0) winTop = 0;
    var winStyle = (navigator.appName == 'Netscape' ? 'height=' + height + ',screenX=' + winLeft + ',screenY=' + winTop + ',width=' + width : 'fullscreen=no,height=' + height + ',left=' + winLeft + ',top=' + winTop + ',width=' + width);
    if(simple) {
      if(menu) winStyle += ',menubar=yes;';
    }
    else winStyle += ',location=yes,menubar=yes,status=yes';
    if(resize) winStyle += ',resizable=yes';
    if(scroll) winStyle += ',scrollbars=yes';    
    eval(name + ' = window.open("' + url + '", "' + name + '", "' + winStyle + '");');
    eval(name + '.focus();');
  }
//-->