function setHeight()
{
	var bl1 = document.getElementById('bigleft');
	var bl2 = document.getElementById('bigright');
	var bl3 = document.getElementById('bigrightbg');
	var txt = document.getElementById('textplace');
	var txtp = 55;

	var maxheight = 0;
	if(bl1 != null && bl2 != null && bl3 != null)
	{
		if(bl1.offsetHeight > bl2.offsetHeight) {
			maxheight = bl1.offsetHeight;
		}
		else {
			maxheight = bl2.offsetHeight;
		}
		if(bl3.offsetHeight > maxheight) {
			maxheight = bl3.offsetHeight;
		}
		bl1.style.height = maxheight+'px';
		bl2.style.height = maxheight+'px';
		bl3.style.height = maxheight+'px';
		if(txt != null) {
			if((txt.offsetHeight+txtp) < maxheight) {
				txt.style.height = maxheight-398-txtp+'px';
			}
		}
	}
}

addLoadHandler(setHeight);

function addLoadHandler(handler)
{
	if(window.addEventListener)
	{
		window.addEventListener("load",handler,false);
	}
	else if(window.attachEvent)
	{
		window.attachEvent("onload",handler);
	}
	else if(window.onload)
	{
		var oldHandler = window.onload;
		window.onload = function piggyback()
		{
		    oldHandler();
		    handler();
		};
	}
	else
	{
		window.onload = handler;
	}
}


