// ------------------------------- //
// -------- Start of File -------- //
// ------------------------------- //
// ----------------------------------------------------------- // 
// JavaScript File Name: popups.js 
// Browser support: Internet Explorer, Netscape, Firefox
// Produced By: NWS Miami
// File Creation Date: 04/28/2008  
// Date Last Modified: 04/28/2008 
// ----------------------------------------------------------- // 
// ------------- Program Description and Details ------------- // 
// ----------------------------------------------------------- // 
//
// External JavaScript code for popup windows
//
// ----------------------------------------------------------- // 

function popup(mylink, windowname)
{
  if (! window.focus)return true;
  var href;
  if (typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
  window.open(href, windowname, 'width=400,height=150,scrollbars=yes');
  return false;
}

function popUp(URL) {
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600, height=350,left = 180,top = 20');");
}

function new_window(URL,winName,features) {
  self.name = "Parent_Window";
  window.open(URL,winName,features);
}
// ----------------------------------------------------------- //
// ------------------------------- //
// --------- End of File --------- //
// ------------------------------- //
