function expandcontract(id) {	
	var ds = $("#obj"+id).css("max-height");
	if (ds == "100px") {	
		$("#obj"+id).css("max-height","100%");
		$("#"+id).html(' menos &#9668;');
		
	} else {
		$("#obj"+id).css("max-height","100px");
		$("#"+id).html(' ler mais &#9660;');
	}
}  

function showhide(id) {	
	var ds = $("#obj"+id).css("display");
	if (ds == "none") {	
		$("#tdobj"+id).css("padding-bottom","30px");
		$("#obj"+id).css("display","block");
		$("#"+id).html(' &#9668;');
		
	} else if (ds == "block") {
		$("#tdobj"+id).css("padding-bottom","0px");
		$("#obj"+id).css("display","none");
		$("#"+id).html(' &#9660;');
	}
}  
