window.onresize = setSize;
window.onload = setSize
function setSize()
{
	cnt = document.getElementById('layout_content');
	var x,y;
	if (document.documentElement && document.documentElement.clientHeight)
	{
		x = document.documentElement.clientWidth;
		y = document.documentElement.clientHeight;
	}
	else if (self.innerHeight) // all except Explorer
	{
		x = self.innerWidth;
	      	y = self.innerHeight;
	}
	else if (document.body) // other Explorers
	{
		x = document.body.clientWidth;
		y = document.body.clientHeight;
	}
	if(y > 210)
 		cnt.style.height = (y-170)+"px";
}
