$(document).ready(function() {
						   
$("#news_content .all_news").hide();
$("#news_content .show_hide").click(
							 
							 function() {
								 $("#news_content .all_news").animate({height: 'toggle', opacity: 'toggle'}, "slow");
								
							 }
							 
);

$("#shows_ul .shows_past").hide();
$("#shows_content .show_hide").click(
							 
							 function() {
								 $("#shows_ul .shows_future").toggle();
								 $("#shows_ul .shows_past").toggle();
								
							 }
							 
);


$("#flash_player").hover(function(){
  $(this).addClass("hover");
},function(){
  $(this).removeClass("hover");
});

$("#news_h1").click( function() { $("#news_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );
$("#shows_h1").click( function() { $("#shows_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );
$("#photos_h1").click( function() { $("#photos_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );
$("#audio_h1").click( function() { $("#audio_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );
$("#video_h1").click( function() { $("#video_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );
$("#mailing_list_h1").click( function() { $("#mailing_list_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );
$("#press_h1").click( function() { $("#press_content").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );



// photo gallery stuff


$("#main_photo").hide();



$("#main_photo").dblclick( function() { $("#main_photo").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );

$("#thumbs img").dblclick( function() { $("#main_photo").animate({height: 'toggle', opacity: 'toggle'}, "slow"); } );

						  
$("#thumbs img").click( function() 
									{ 
									


									var thumbSrc = this.src;
									var mainSrc = thumbSrc.replace("_thumb", "");

									$("#main_photo img").attr("src",mainSrc ); 
									} 
									);

$("#shows_past_ul").hide();



});
