var $j = jQuery.noConflict();

      $j(document).ready(function() {
    
   
      
        
      $j(".links:nth-child(3n+1)").addClass('hover1');
       
       
       $j(".links:nth-child(3n+2)").addClass('hover2');
       
                
       $j(".links:nth-child(3n)").addClass('hover3');
       
       
 	
 		$j("#ssp-prev").click(function(){
 		
 		
 		sspPreviousImage();
 		return false;
 		
 		});
 		
 		$j("#ssp-next").click(function(){
 		
 		
 		sspNextImage();
 		return false;
 		});
 		
 		
 		$j("#season-3").css('color', '#ff0101');
 		
 		
 		
 		$j("#season-3").click(function(){
 		sspLoadAlbum("season-3");
 		$j(".seasons").css('color', '#000000');
 		$j(this).css('color', '#ff0101');
 		return false;
 		});
 		
 		$j("#season-2").click(function(){
 		sspLoadAlbum("season-2");
 		$j(".seasons").css('color', '#000000');
 		$j(this).css('color', '#ff0101');
 		return false;
 		});
       
       
       $j("#season-1").click(function(){
 		sspLoadAlbum("season-1");
 		$j(".seasons").css('color', '#000000');
 		$j(this).css('color', '#ff0101');
 		return false;
 		});
       
       
    

       
  
        });
        
    
   	
   	

function sspNextImage() {
    thisMovie("ssp").sspNextImage();
      return false;
        
}

function sspPreviousImage() {
    thisMovie("ssp").sspPreviousImage();
      return false;
        
}



/*
Passes the ID of the album from the XML file
we want SlideShowPro inside the SWF to load
*/
function sspLoadAlbum(album) {
    thisMovie("ssp").sspLoadAlbum(album);
}

function thisMovie(movieName) {
   return swfobject.getObjectById(movieName);
}

		
