// JavaScript Document



jQuery(function($) {  
    
    $('.post').hover(function(){
	  
   $(" .boxcaption", this).stop().animate({top:'0px'},{queue:false,duration:400});  
    }, function() {  
        $(" .boxcaption", this).stop().animate({top:'350px'},{queue:false,duration:400});  
	 
	  }); 
	  
						  
	  
	 
   
   
	 
	  $('.contact_button').mousedown(function(){
											  
	
	$('#profile.container').stop().slideUp('slow');										  
												
	 $('body').addClass('contact').removeClass('home about');	

  								
	  
   $("#contact.container").stop().slideDown('slow' , function () {
   
   
    		


   $(this).children('.close').mousedown(function(){
   
    $("#contact.container").stop().slideUp('slow');
	
	 $('body').addClass('home').removeClass('contact');	


												 });
	

   }); 
   

	return false;
   
   
   	});   
	
	  




// Category list tab 
	  
	  
var catContainers = $('.cat_list');
    
    $('#tab_nav a').click(function () {
									  
        catContainers.hide().filter(this.hash).fadeIn('slow');
        
        $('#tab_nav a').removeClass('selected');
		
        $(this).addClass('selected');
        
        return false;
		
    }).filter(':first').click();
		  








	  



	  
    });
