

function captureHeight(vObj2)
{	
		
	var the_height=
		document.getElementById(vObj2).scrollHeight;
	
	var browseWidth, browseHeight;

	browseHeight=document.body.clientHeight;
	newHeight = (the_height + 80);  

	if ((newHeight) <= (browseHeight - 80))
	{
		document.getElementById(vObj2).style.height= (newHeight);   
	}
    
	
}
