function loadPopup(URL,w,h,name) {
  var width= w;
  var height=h;
  if (navigator.appName == "Microsoft Internet Explorer")
        {
                if (navigator.userAgent.indexOf("Mozilla\/4") != -1)
                {
                height = height +2
                }
        }
  else if (navigator.appName == "Netscape")
        {
                height = height +4
        }
  var newWin = open(URL,name,'width='+width+',height='+height+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes');
  if (navigator.userAgent.indexOf("Mozilla/2") != -1) {
    if ((navigator.userAgent.indexOf("Mac") != -1) || (navigator.userAgent.indexOf("X11") != -1)) {
      newWin = window.open(URL, name)
    }
  }
}

function loadPrivSec(URL,w,h,name) {
  var width= w;
  var height=h;
  if (navigator.appName == "Microsoft Internet Explorer")
        {
                if (navigator.userAgent.indexOf("Mozilla\/4") != -1)
                {
                height = height +2
                }
        }
  else if (navigator.appName == "Netscape")
        {
                height = height +4
        }
  var newWin = open(URL,name,'width='+width+',height='+height+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no');
  if (navigator.userAgent.indexOf("Mozilla/2") != -1) {
    if ((navigator.userAgent.indexOf("Mac") != -1) || (navigator.userAgent.indexOf("X11") != -1)) {
      newWin = window.open(URL, name)
    }
  }
}
