$(document).ready(function(){

        $('#videos').click(function(e){
                // Make the id overview show
                $('#videos-wrapper').css('visibility','visible').hide().fadeIn('slow');                       
                $('#logo').fadeOut('slow');
                $('#about-wrapper').fadeOut('slow');
                $('#contact-wrapper').fadeOut('slow');
		$("#message").fadeIn('slow'); 
		$("#email").fadeIn('slow'); 
                $("#messageform").fadeOut('slow');

                // override default a behavior
                e.preventDefault();
              
        });

        $('#about').click(function(e){
                // Make the id overview show
                $('#videos-wrapper').fadeOut('slow');                       
                $('#logo').fadeOut('slow');
                $('#about-wrapper').css('visibility','visible').hide().fadeIn('slow');   
                $('#contact-wrapper').fadeOut('slow');
		$("#message").fadeIn('slow'); 
		$("#email").fadeIn('slow'); 
                $("#messageform").fadeOut('slow');

                // override default a behavior
                e.preventDefault();
              
        });

        $('#contact').click(function(e){
                // Make the id overview show
                $('#videos-wrapper').fadeOut('slow');                       
                $('#logo').fadeOut('slow');
                $('#about-wrapper').fadeOut('slow');
                $('#contact-wrapper').css('visibility','visible').hide().fadeIn('slow');   
		$("#message").fadeIn('slow'); 
		$("#email").fadeIn('slow'); 
                $("#messageform").fadeOut('slow');


                // override default a behavior
                e.preventDefault();
              
        });
        $('.home').click(function(e){
                // Make the id overview show
                $('#videos-wrapper').fadeOut('slow');                       
                $('#logo').fadeIn('slow');
                $('#about-wrapper').fadeOut('slow');
                $('#contact-wrapper').fadeOut('slow');
		$("#message").fadeIn('slow'); 
		$("#email").fadeIn('slow'); 
                $("#messageform").fadeOut('slow');

                // override default a behavior
                e.preventDefault();
              
        });

        $('.nick').click(function(e){
                // Make the id overview show
                $("div.us").fadeIn(800).fadeOut(800);                       

               // override default a behavior
                e.preventDefault();
              
        });



        $('#comments').click(function(e){
                // Make the id overview show
                $('#comments').css('visibility','hidden').hide().fadeIn('fast');   
                $('#comments2').css('visibility','visible').hide().fadeIn('fast');   
                $("#disqus_thread").slideDown('slow');
             

               // override default a behavior
                e.preventDefault();
              
        });


        $('#comments2').click(function(e){
                // Make the id overview show
                $('#comments').css('visibility','visible').hide().fadeIn('fast');   
                $('#comments2').css('visibility','hidden').hide().fadeIn('fast');   
                $("#disqus_thread").slideUp('slow');
             

               // override default a behavior
                e.preventDefault();
              
        });
	
});


