<!-- hide script
var WU_last_window_opened = "";

function WU_close_popup() {
  if (WU_last_window_opened != "") {
    if (eval("self." + WU_last_window_opened)) {
      if (!(eval("self." + WU_last_window_opened + ".closed"))) {
        eval ("self." + WU_last_window_opened + ".close()");
      }
    }
  }
}

function WU_open_popup(width, height, url, name, options) {
  var open = true;

  if (eval("self." + name)){
    if (!(eval("self." + name + ".closed"))) {
      eval ("self." + name + ".focus()");
      open = false;
    }
  }

  if (open) {
    if (WU_last_window_opened != name)      
      WU_close_popup()
     
    if (options == null)
      var options = "toolbar=0,location=0,directories=0,status=1,scrollbars=1,resizable=1,alwaysRaised=1,";

    eval(name + " = window.open(\"" + url + "\",\"" + name + "\",\"" + options + "width=" + width + ",height=" + height + ",top=10,left=10,screeny=25,screenx=50\")");
    WU_last_window_opened = name;
  }
}
// end script -->

