
   Browser_Name = navigator.appName;
   Browser_Ver  = parseInt(navigator.appVersion);
   if((Browser_Name == "Netscape" && Browser_Ver >= 3) || (Browser_Name == "Microsoft Internet Explorer" && Browser_Ver >= 4)) Browser_Gen = ">=3rd";
   else Browser_Gen = "<3rd";

   if (Browser_Gen == '>=3rd') {
   

   num_of_slides = 7;    // Declare the number of slides in your show
   slide_num = 1;        // Which slide loads ups first

  }

   //  These functions alter the slide_num accordingly
  
   function prevslide(){
     slide_num = slide_num - 1;
     if(slide_num < 1){
       slide_num = num_of_slides;
     }
     changeslide();
   }
   function nextslide(){
     slide_num = slide_num + 1;
     if(slide_num > num_of_slides){
       slide_num = 1
     }
     changeslide();
   }
  


   //  This function changes the slide and the description box according to the slide_num
   function changeslide(){        

     //  Changes the slide
     eval('document.picbox.src = "/photos/usaero_' + slide_num + '.jpg"');

    }
   // end hiding contents -->