rem: if(tableRows.length > 5) { neededHeight = singleRowHeight*5; 
add: if(tableRows.length > 4) { neededHeight = singleRowHeight*4; 
context: function addAddressRow(_tableRow){	// the table body	var tableBody = _tableRow.parentNode;	// all table rows	var tableRows = tableBody.getElementsByTagName('tr');	var newTableRow		= _tableRow.cloneNode(true);	var inputElements	= newTableRow.getElementsByTagName('input');	var spanElements	= newTableRow.getElementsByTagName('span');	var tdElements		= newTableRow.getElementsByTagName('td');	//alert(inputElements.length);	inputElements[0].value		= '';	inputElements[0].disabled	= false;	inputElements[0].style.width	= '450px';	for(i=0; i<spanElements.length; i++) {		if(spanElements[i].className == 'selectFolder') {			spanElements[i].style.display	= 'none';		}	}		tableBody.appendChild(newTableRow);//	inputElements[0].focus();	singleRowHeight = _tableRow.clientHeight;	if(tableRows.length > 5) {		neededHeight = singleRowHeight*5;	} else {		neededHeight = singleRowHeight*tableRows.length;	}	document.getElementById('addressDIV').style.height = neededHeight+'px';	document.getElementById('addressDIV').scrollTop = document.getElementById('addressTable').clientHeight;}
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/089ac5e2564b772b33e2845ba26f26bf21b3d8a1/composeMessage.js/buggy/felamimail/js/jscode/composeMessage.js