 
	$(document).ready(
	function(){
	$('#home').toggle (
	
	
	
	function (event){
	event.preventDefault();
	$('#home_icon').animate({ top: '32' , opacity: 1.0} , {duration:500 , easing:'easeOutBounce' } );
	},
	
    function () {
    $('#home_icon').animate( {top : '-=64' ,opacity: 0.1}, { duration:600 , easing: 'easeInBounce' });
     }
     
    

	); // end of #home link

    $('#home_icon').click( function(){
     $('#content').find('h1:first').css({ "margin-top": "80px"}).fadeIn("slow" , function(){$(this).next().fadeIn();})}
     
    
     
     );// end of #home and #home_icon
     
     
     $('#about').toggle (
	
	
	
	function (event){
	event.preventDefault();
	$('#about_icon').animate({ top: '32' , opacity: 1.0} , {duration:500 , easing:'easeOutBounce' } );
	}, 
	
    function () {
    $('#about_icon').animate( {top : '-=64' , opacity: 0.3}, { duration:600 , easing: 'easeInBounce' });
     }
    
    
	); // end of #about
	
    $('#about_icon').click ( function(e){
     $('#content').find('h1:eq(1)' ).fadeToggle("slow" , function(){$(this).next().fadeToggle("slow");})}
     
    ); // end of #about_icon
       
     
     $('#portfolio').toggle (
	
	
	
	function (event){
	event.preventDefault();
	$('#portfolio_icon').animate({ top: '32' , opacity: 1.0} , {duration:500 , easing:'easeOutBounce' } );
	}, 
	
    function () {
    $('#portfolio_icon').animate( {top : '-=64' , opacity: 0.3}, { duration:600 , easing: 'easeInBounce' });
     }
    
    
	); // end of #portfolio link
	
    $('#portfolio_icon').click ( function(e){
     $('#content').find('h1:contains("Portfolio")').fadeToggle("slow" , function(){$(this).next().fadeToggle("slow");})
     $('.hidden_ul').fadeToggle();}
     
    ); // end of #portfolio_icon

     $('#contact').toggle (
	
	
	
	function (event){
	event.preventDefault();
	$('#contact_icon').animate({ top: '32' , opacity: 1.0} , {duration:500 , easing:'easeOutBounce' } );
	}, 
	
    function () {
    $('#contact_icon').animate( {top : '-=64' , opacity: 0.3}, { duration:600 , easing: 'easeInBounce' });
     }
    
    
	); // end of #contact link
	
    $('#contact_icon').click ( function(e){
     $('#content').find('.hidden_ul').next().fadeToggle( "fast", function(){$('p:contains("07990606862")').fadeToggle();});}
     
     
    ); // end of #contact_icon

     $('#share').toggle (
	
	
	
	function (event){
	event.preventDefault();
	$('#services_icon').animate({ top: '32' , opacity: 1.0} , {duration:500 , easing:'easeOutBounce' } );
	}, 
	
    function () {
    $('#services_icon').animate( {top : '-=64' , opacity: 0.3}, { duration:600 , easing: 'easeInBounce' });
     }
    
    
	); // end of #services link
	
	$('#services_icon').click ( function(e){
     $('#right-side').find('p').fadeToggle();}
     
     
    ); // end of #services_icon


    

 

});




