<script language="javascript">
/*** Function to call the two onload functions. ***/
window.onload=TheLoader;

function TheLoader()
{

	ResetHeights();
}

function ResetHeights()
{
	var oLeft 		= document.getElementById("block-1").clientHeight;
	var oMain 		= document.getElementById("block-2").clientHeight;
	var sAbr  		= "px";
	var sAdj = 0;
	
	if (oLeft != null && oMain != null)
	{
		if( oLeft > oMain )
			document.getElementById("block-2").style.height = (oLeft) + sAdj + sAbr;
		else
			document.getElementById("block-1").style.height = (oMain) + sAdj + sAbr;
	}
}

function findPosY(obj)
{
	var curtop = 0;
	if(obj.offsetParent)
		while(1)
		{
		  curtop += obj.offsetTop;
		  if(!obj.offsetParent)
			break;
		  obj = obj.offsetParent;
		}
	else if(obj.y)
		curtop += obj.y;
	return curtop;
}
</script>

