$(document).ready(function(){
//document is ready
	


	$("#comment").elastic();
	$("#comment").blur(function(){
		if (this.value == '') {
			$(this).animate({"height": "23px"}, "fast");
		}
	});
  
	
//	var originalHeight;
//
//	$(".project-image-wrapper").click(
//
//		function(event) {
//			
//			/* event.preventDefault(); */
//			
//			if(originalHeight == null){ 
//				originalHeight = $('.project-image-wrapper').css('height');
//			}
//			
//			if($('.project-image-wrapper').css('height') > originalHeight){
//				//close now
//				$(".project-image-wrapper").animate( { height: originalHeight}, 500 );
//				
//			}else{
//				//open now
//				$(".project-image-wrapper").animate( { height: $('.project-image-wrapper img').css('height')}, 500 );
//			}
//		
//		}
//		
//	);

//end document ready
});
