function setHeight()
{
	if (typeof window.innerWidth != 'undefined')
		h = window.innerHeight;
	else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0)
		h = document.documentElement.clientHeight;
	else
		h = document.getElementsByTagName('body')[0].clientHeight;

	obj = document.getElementById('middle');
	obj.style.height = (h - 110) + 'px';
}

window.onload = function ()
{
	setHeight();
}

window.onresize = function()
{
	setHeight();
}