$(document).ready(function(){
    if ($(".table_container").length > 0) {
        $(".table_container .altro").bind('click', function(){
			$(this).css("display", "none");
			$(".hidden_row", $(this).parent()).css("display", "table-row");
		});
    }
	$.each($(".table_container"), hideOther);
});

function hideOther(key, value)
{
	if($("tr", value).length <= 3)
	{
		$(".altro", value).css("display", "none");
	}
}

