function popup(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,width=540,height=700');");
}

function popupJob(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,width=770,height=630');");
}

function popupMap(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=840,height=730');");
}

function popupWanted(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=0,width=535,height=684');");
}

function popup_mod(URL,sWidth,sHeight) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,width=" + sWidth + ",height=" + sHeight + "');");
}

var screenW = 640, screenH = 480;

function popup_full(URL) {
day = new Date();
id = day.getTime();
screenSize();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=" + screenW + ",height=" + screenH + "');");
}

function screenSize() {
  if (parseInt(navigator.appVersion)>3) {
   screenW = screen.width;
   screenH = screen.height;
  }
  else if (navigator.appName == "Netscape" 
      && parseInt(navigator.appVersion)==3
      && navigator.javaEnabled()
     ) 
  {
   var jToolkit = java.awt.Toolkit.getDefaultToolkit();
   var jScreenSize = jToolkit.getScreenSize();
   screenW = jScreenSize.width;
   screenH = jScreenSize.height;
  }
}