window.addEvent('domready', function()
{
	if (
		$('leftcontainer') &&
		$('rightcontainer')
	)
	{
		var i_leftcontainer_y = $('leftcontainer').getSize().y.toInt();
		var i_rightcontainer_y = $('rightcontainer').getSize().y.toInt();

		//if the rightcontainer is bigger than the left, we set the left the same size as the right:
		if (i_rightcontainer_y >  i_leftcontainer_y)
			$('leftcontainer').setStyle('height', i_rightcontainer_y);
	}
});


