// Common JavaScript code across your application goes here.

$(document).ready(function() {

	$original_text = "";
	$("#comment-group").hide();

	$("span.comments a").click(function(){
		
		$span = this
		
		$("#comment-group").toggle(1000,function(){
			
			if ($span.textContent == "Ocultar comentarios"){

					$span.textContent = $original_text;			

			}
			else
			{	
					$original_text = $span.textContent;
					$span.textContent = "Ocultar comentarios";

			}

			
			
			
		});
		return false;
		
	});


});


