$(document).ready(function() {
	  $(".gobackbtn").click(function() {
							$("#page2").fadeOut();
							$(".gobackbtn").hide();
							$(".readmore").fadeIn();
							$("#page1").show('slow');
							$("#viewvid").fadeIn();
							});
	  
	  $(".readmore").click(function() {
						   $("#page1").fadeOut();
						   $(".readmore").hide();
						   $("#viewvid").hide();
						   $("#page2").show('slow');
						   $(".gobackbtn").show();
						   });
	  
	  $("#page1").hide();
	  $("#page2").hide(); 
	  $(".gobackbtn").hide();
	  $("#page1").show('slow');
				  
				  
				  $("a[rel^='prettyPhoto']").prettyPhoto({
														 animationSpeed: 'normal', /* fast/slow/normal */
														 padding: 30, /* padding for each side of the picture */
														 opacity: 0.55, /* Value betwee 0 and 1 */
														 showTitle: true, /* true/false */
														 allowresize: true, /* true/false */
														 counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
														 theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
														 callback: function(){}
														 });
				  
	  
 });