$(document).ready(function(){

	$('.pre-spoiler').find(':button').toggle(
		function(){
			$(this).parent().next('.spoiler').animate({height: 'toggle', paddingTop: '10px', opacity: 'toggle'},'slow','easeOutBack',function(){$(this).parent().find(':button').first().attr('value','Hide Spoiler')})
		},
		function(){
			$(this).parent().next('.spoiler').animate({height: 'toggle', paddingTop: '0px', opacity: 'toggle'},'slow','easeOutBack',function(){$(this).parent().find(':button').first().attr('value','Show Spoiler')})
		}
	);




});