$(document).ready(function(){
			$("a[rel^='prettyPhoto']").prettyPhoto();
		});
		

$(document).ready(function(){
	
	$(".show-feature").click(function(event){
     
	 
	 var div="#feature-" + this.rel;
	 
	 
	 if(!$(div).hasClass('current-feature'))
		 {
			 $(div).css('left','0');
			 $(div).fadeIn("slow");
			 $('.current-feature').css('display','none');
			 $('.current-feature').css('left','435px');
			 $('.current-feature').removeClass('current-feature show');
			 $(div).addClass('current-feature show');
		 }
	 
   });
	
			
});

$(document).ready(function(){
	
	$('.news-month').click(function(){
		
			i="#month-" + this.id;
			
			if($(i).css('display')=='none')
			{		
				$('.month-links').slideUp();
				$(i).slideDown();
			}
		
		});
			
});


$(document).ready(function(){
	
	$('#myselect').change(function(){
		
		var i = this.value;
		
		
		$('#myselect').children().each(function(index){
			
			t=this.value;
			
			if(t==i)
			{			
			alert(this.innerHTML);
			return false;
			}
			
		});
		
	});
			
});


