    var lastidx=0;
    var numImages=8;


function copyrightyr() {
     brsrType=navigator.appName;
     brsrMSIE=(navigator.appName == "Microsoft Internet Explorer");
     brsrNS=(navigator.appName == "Netscape");
     var timestamp=document.lastModified;
     var timesecs=Date.parse(timestamp)
     var datetime=new Date();
     datetime.setTime(timesecs);
     if (brsrMSIE) {
        document.write(datetime.getYear());     
     } else {
        document.write(datetime.getYear()+1900);
     }
}  // end of copyrightyr()


//--- return the document's date stamp as a string
   function docDate() {
     timestamp=document.lastModified;
     var timesecs=Date.parse(timestamp)
     var datetime=new Date();
     datetime.setTime(timesecs);
     return datetime.toLocaleDateString();
   }


//--- set the image (called from getDisplay()-see below)
    function picDisplay(Mimage) {
       var MVimage=Mimage;
       document.nobot.src=MVimage;
    }


//---select the indexed image to display 
   function getDisplay(Mrnd) {
      var getRnd=Mrnd;
      switch (getRnd) {
        case 0 : 
          picDisplay('images/nobot1.jpg');
          break;
        case 1 : 
          picDisplay('images/nobot4.jpg');
          break;
        case 2 : 
          picDisplay('images/nobot6.jpg');
          break;
        case 3 : 
          picDisplay('images/nobot2.jpg');
          break;
        case 4 : 
          picDisplay('images/nobot8.jpg');
          break;
        case 5 : 
          picDisplay('images/nobot7.jpg');
          break;
        case 6 : 
          picDisplay('images/nobot3.jpg');
          break;
        case 7 : 
          picDisplay('images/nobot5.jpg');
          break;

        default :
          picDisplay('images/nobot1.jpg');
          break;
     }  //--- end of switch
   }



//---randomly select an image
   function reDisplay() {
      var MVrnd=Math.round(Math.random()*numImages);
      if (MVrnd==lastidx) { 
         if (MVrnd>0)
            MVrnd=MVrnd-1;
         else
            MVrnd=MVrnd+1;
      }
      lastidx=MVrnd;
      getDisplay(MVrnd);
   }
