
   <!--
   //  sIMPLE sLIDE sHOW with Description sCRIPT by
   //  Chetan M Soni(csoni@email.com), 8/1999.
   //
   //  NOTICE: To my knowledge this script works with
   //  Netscape 3.0+ and Internet Explorer 4.0+.  By 
   //  using this script you agree that I am not     
   //  responsible for any type of damage it causes. 
   //  To use this script freely, you must leave this
   //  comment intact.
   //
   //  If you need help using the script, email me at 
   //  csoni@email.com, and I'll be happy to help.
   // Assign name to the window
 
 	
   num_of_slides = 10;    
   slide_num = 1;
   
   var imageSwap = [];
   	imageSwap[1] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap0.jpg';
	imageSwap[2] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap1.jpg';
	imageSwap[3] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap2.jpg';
	imageSwap[4] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap3.jpg';
	imageSwap[5] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap5.jpg';
	imageSwap[6] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap6.jpg';
	imageSwap[7] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap7.jpg';
	imageSwap[8] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap8.jpg';
	imageSwap[9] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap9.jpg';
	imageSwap[10] = 'http://portal.utpa.edu/portal/page/portal/utpa_main/dess_home/dos_home/slts_home/csc_home/csc_imagesfiles/swap10.jpg';



   //  These functions alter the slide_num accordingly
   function firstslide(){
     slide_num = 1;
     changeslide();
   }
   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();
   }
   function lastslide(){
     slide_num = 10;
     changeslide();
   }



   //  This function changes the slide and the description box according to the slide_num
   function changeslide(){ 

     //  Changes the slide
     //eval('document.picbox.src = "images/gallery/pic' + slide_num + '.jpg"');
	 document.picbox.src = imageSwap[slide_num];

	 
   }
   // end hiding contents -->