  <!-- hide script from old browsers

  //----------------------------------------------------------------------------------
  //  popup.js
  //
  //    This script contains popup-specific functions shared by all of aaaonline.
  //      
  //    To implement, add the following to the HTML
  //
  //    <SCRIPT LANGUAGE="JavaScript1.1" SRC=/jsincludes/popup.js></SCRIPT>
  //----------------------------------------------------------------------------------

//
//  This function opens a 600 x 450 browser window and is typically used for deep link projects wherein a vendor site is displayed in a standard sized window.
//
//  param url = url to invoke (required)
//  param name = name of window (required)
//  param width = width of window (optional default = 600)
//  param height = height of window (optional default = 450)
//  param othersettings = other window settings such as directories, toolbar, etc.  Defaults to directories=no,status=no,location=no,toolbar=no,scrollbars=yes,resizable=yes,menubar=no,copyhistory=no


function openPopup(url,name,width, height, othersettings)
{
    var settings = "";
    if (width==undefined)
    {
      width = "600";
    }
    if (height==undefined)
    {
      height = "450";
    }
    if (othersettings==undefined)
    {
      settings = "width=" + width + ",height=" + height + ",directories=no,status=no,location=no,toolbar=no,scrollbars=yes,resizable=yes,menubar=no,copyhistory=no";
    } else {
      settings = "width=" + width + ",height=" + height + "," + othersettings;
    }

    var popup = window.open(url,name,settings);
    if ( popup.focus != null )
        popup.focus();
}



  // end hiding from old browsers -->

