// JavaScript Document
// random class array for background
				var c = [ 'color1','color2','color3','color4','color5','color6','color7','color8','color9','color10','color11','color12','color13','color14','color15','color16','color17','color18','color19','color20' ];
	
// all functions for onload go here
$(document).ready(function(){
													 
// random class array													 
			$("body").randomClass( c );
			
			$('#navigation a.nav').click(function() {
				$('body').removeClass();																		
				$("body").randomClass( c );
			});

// open external links in a new window
			$('a[href^="http://"]')
			.attr("target", "_blank");
	
// navigation
			$('#navigation a.nav').click(function() {
				$('.inner').addClass('hideMe');
				$('.promo').addClass('hideMe'); // temporary promo hiding
			});
			
			$('#navigation a.nav').click(function() {
				$('#navigation a.nav').removeClass('current');
				$(this).addClass('current');
			});
			
			$('#contactClick').click(function() {
				$('#contactContent').removeClass('hideMe');
			});
			
			$('#aboutClick').click(function() {
				$('#aboutContent').removeClass('hideMe');
				$('.promo').removeClass('hideMe'); // temp promo showing
			});
			
			$('#photoClick').click(function() {
				$('#photoContent').removeClass('hideMe');
			});
			
			$('#videoClick').click(function() {
				$('#videoContent').removeClass('hideMe');
			});
			

// show/hide the music player
			$('#musicClick').click(function() {
			$('#player').toggle();
			
			
// hide the mailchimp response messages
$('#pageWrapper').click(function() {
				$('#mce-error-response').hide();
				$('#mce-success-response').hide();
			});
			

});
	
});



