var MensSoccerPhotoGalleryListLandscape = new ImageSlideShow.PictureList(450,300,false);
var strEval = "";
// Dynamically fill lists with list of files whos filenames change in a sequestial order (Saves time in file editing)
for(var j=1; j<=29; j++) {
   var strPhotoNumber = "";
   // These files are not landscape. Skip them so they don't show up on the list.
   if(j == 6 || j == 19) continue;
   // File names have there number padded to 3 digits, so we also must pad em
   if(j < 10) strPhotoNumber = "00"+j;
   else if(j < 100) strPhotoNumber = "0"+j;
   else strPhotoNumber = ""+j;
   
   var strDate = "092304";
   if(j >= 19) strDate = "101504";
   var strPriority = "1";
      
   strEval += 'MensSoccerPhotoGalleryListLandscape.AddPicture( "/WolverinesSite/images/images-sports/MensSoccer/Season2004/SlideShow/Gallery/Landscape/Original/mens_soccer_'+strDate+'_'+strPhotoNumber+'.jpg",'+"\n"+
              '                                  "/WolverinesSite/images/images-sports/MensSoccer/Season2004/SlideShow/Gallery/Landscape/Small/mens_soccer_'+strDate+'_'+strPhotoNumber+'_450x300.jpg",'+"\n"+
              '                                  "Pictures of Men\'s Soccer Team in Action", '+strPriority+' );'+"\n";
}

eval(strEval);

MensSoccerPhotoGalleryListLandscape.AddPicture( "/WolverinesSite/images/images-sports/MensSoccer/Season2004/SlideShow/Gallery/Landscape/Original/mens_soccer_092304_teamphoto.jpg",
                                             "/WolverinesSite/images/images-sports/MensSoccer/Season2004/SlideShow/Gallery/Landscape/Small/mens_soccer_092304_teamphoto_450x300.jpg",
                                             "Picture of Men\'s Soccer Team", 1 );

                                             
var MensSoccerPhotoGalleryListPortrait = new ImageSlideShow.PictureList(300,450,false);

strEval = '';
// Dynamically fill lists with list of files whos filenames change in a sequestial order (Saves time in file editing)
for(var j=1; j<=29; j++) {
   var strPhotoNumber = "";
   
   // These files are not portrait. Skip them so they don't show up on the list.
   if(j != 6 && j != 19 ) continue;
   
   // File names have there number padded to 3 digits, so we also must pad em
   if(j < 10) strPhotoNumber = "00"+j;
   else if(j < 100) strPhotoNumber = "0"+j;
   else strPhotoNumber = ""+j;
   
   var strDate = "092304";
   if(j >= 19) strDate = "101504";
   var strPriority = "1";
   
   strEval += 'MensSoccerPhotoGalleryListPortrait.AddPicture( "/WolverinesSite/images/images-sports/MensSoccer/Season2004/SlideShow/Gallery/Portrait/Original/mens_soccer_'+strDate+'_'+strPhotoNumber+'.jpg",'+"\n"+
              '                                  "/WolverinesSite/images/images-sports/MensSoccer/Season2004/SlideShow/Gallery/Portrait/Small/mens_soccer_'+strDate+'_'+strPhotoNumber+'_300x450.jpg",'+"\n"+
              '                                  "Pictures of Men\'s Soccer Team in Action", '+strPriority+' );'+"\n";
}
eval(strEval);
                            
var MensSoccerPhotoGallerySlideShowConfig = new ImageSlideShow.Config();
MensSoccerPhotoGallerySlideShowConfig.iSwitchPause = 6000;
MensSoccerPhotoGallerySlideShowConfig.blnFade = true;
MensSoccerPhotoGallerySlideShowConfig.blnRandom = true;
MensSoccerPhotoGallerySlideShowConfig.strTableAlign = "center";
MensSoccerPhotoGallerySlideShowConfig.iTableCellSpacing = 5;
MensSoccerPhotoGallerySlideShowConfig.iTableCellPadding = 0;

var MensSoccerPhotoGallerySlideShowLandscape = new ImageSlideShow(null,MensSoccerPhotoGalleryListLandscape,MensSoccerPhotoGallerySlideShowConfig);
var MensSoccerPhotoGallerySlideShowPortrait = new ImageSlideShow(null,MensSoccerPhotoGalleryListPortrait,MensSoccerPhotoGallerySlideShowConfig);

