// ****************************************************************************

//
// $Id: ImageList.js, v. 1.0 2002/01/03 3:32 PM aselimovic Exp $
//

// constructor
function MyImage(imageURL) {

   /*
    * Netscape 4.04 reports the following error message:
    *
    * this.name is read-only.
    */

   //this.name =

   // Set the URL reference to the image to display.
   this.src = imageURL || "";
}
MyImage.prototype = Image; // bug 180177

// default constructor
function ImageList() {
   this.images = [];
   //if (typeof() == "undefined") {
   //}
   this.addImage = addImage;

   // Adds one MyImage object to the image list.
   function addImage(imageURL) {
      return this.images[this.images.length] = new MyImage(imageURL);
   }
}

function openMap(cid) {
   if (cid)
      self.open('/popup/?cid=' + cid, '_Print', 'width=920,height=800,scrollbars=yes,status');
}

function openPopup(cid) {
   if (cid)
      self.open('/popup/?cid=' + cid, '_Print', 'width=820,height=700,scrollbars=yes,status');
}