   //preload the pictures
   var image1=new Image()
       image1.src="http://ppd.fnal.gov/align/images/vstars1-1.jpg"
   var image2=new Image()
       image2.src="http://ppd.fnal.gov/align/images/lt-1.jpg"
   var image3=new Image()
       image3.src="http://ppd.fnal.gov/align/images/gyro-1.jpg"
   var image4=new Image()
       image4.src="http://ppd.fnal.gov/align/images/gps-1.jpg"

   var idx=1
   var pictureNo=1

   var text=new Array()

   //coresponding description
   text[1]=" Vstars  /  CMS"
   text[2]=" Laser Tracker  /  D0"
   text[3]=" Gyro  /  Control Network"
   text[4]=" GPS  /  MINOS"

   function showSlide()
   {
       if ( !document.images )
            return
       document.images.slide.src = eval( "image"+idx+".src" )
       document.rotater.description.value = text[ idx ];
       pictureNo = idx
       if ( idx < 4)
           idx++
       else
           idx=1
       setTimeout( "showSlide()", 2500 )
   }
    //    showSlide()

    function pictureSlide()
    {
        if ( pictureNo == 1 )
           window.location="http://ppd.fnal.gov/align/images/vstars1-1.jpg"
        else if ( pictureNo == 2 )
           window.location="http://ppd.fnal.gov/align/images/lt-1.jpg"
        else if ( pictureNo == 3 )
           window.location="http://ppd.fnal.gov/align/images/gyro-1.jpg"
        else if ( pictureNo == 4 )
           window.location="http://ppd.fnal.gov/align/images/gps-1.jpg"
    }

