// JavaScript Document
// Opens a new pop-up window
function newWin(url, name, w, h) {
  l = (screen.width - w) / 2;
  t = (screen.height - h) / 2;

  features = "width="+w+",height="+h+",left="+l+",top="+t+",scrollbars=no,resizable,location=0,menubar=0,toolbar=0,status=0"

  win = window.open(url, name, features)
  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}