   function ThreeStateRollOver(label,inactive,active,selected,status) {
      this._canRoll   = _canThisBrowserHandleImageRolls();
      this._imageId   = label;      this._winStatus = status;
      this.isSelected = false;      this.isActive   = false;
      if( this._canRoll ) {         this.activeImg         = new Image();
         this.activeImg.src     = active;
         this.inactiveImg       = new Image();
         this.inactiveImg.src   = inactive;
         this.selectedImg       = new Image();
         this.selectedImg.src   = selected;      }
      this.select    = _rollSelected;      this.mouseOver = _rollActive;
      this.mouseOut  = _rollInactive;      this.toggle    = _rollToggleSelected
   }////////////////////
   function _rollToggleSelected() {
      if( this.isSelected ){
         document.images[this._imageId].src = this.activeImg.src; this.isSelected = false;
      } else {
         document.images[this._imageId].src = this.selectedImg.src; this.isSelected = true;
      }
   } ////////////////////
	  function _rollActive(){
      if ( this._canRoll && !this.isSelected ){
         document.images[this._imageId].src = this.activeImg.src;      }
      window.status = this._winStatus;      this.isActive = true;
   }////////////////////
   function _rollInactive(){      if ( this._canRoll ){
         if( !this.isSelected ) {document.images[this._imageId].src = this.inactiveImg.src;}
      }      window.status   = '';      this.isActive   = false;
   }////////////////////
   function _rollSelected(){      if ( this._canRoll ){
         this.isSelected = true; document.images[this._imageId].src = this.selectedImg.src;
         this.isSelected = true;      }   }////////////////////
   function _canThisBrowserHandleImageRolls() {
      if (navigator.appName == "Microsoft Internet Explorer") {
         if(parseInt(navigator.appVersion) >= 4) {            return( 1 );
         } else {            return( 0 );         }
      } else if (navigator.appName == "Netscape") {
         if(parseInt(navigator.appVersion) >= 3) {            return( 1 );
         } else {            return( 0 );         }      }   }