function format_autores(i,short)
{	
	if (short == undefined) short=0;

	if (short==1)
	{
		altura=120;
	}
	else
	{
		altura=76;
	}
	
	tbl = document.getElementById('tblautor' + i);		
	obj = document.getElementById('parautor' + i);
	txt = document.getElementById('text_orig' + i);
	
	
	//window.alert(obj.innerHTML);
	
	txt_a='';	
	obj.style.visibility='visible';	
	obj.innerHTML = txt.value ;


	while (tbl.clientHeight > altura)
	{
	
				
		txt = obj.innerHTML;
		l=txt.length;


		do
		{
			txt = txt.substr(0,l-2);
			l = txt.length;			
		}while (txt.substr(l-1,1)!=' ' && l>0);		

		if (txt == txt_a) 
			break;
		txt_a==txt;	
		obj.innerHTML = txt 
		if (obj.innerHTML != obj.title) obj.innerHTML = obj.innerHTML +  "...";
		
	
	}
		
	//obj.style.height = altura;

}// JavaScript Document