function grapWindowW() {
	var x
	if (self.innerHeight) // all except Explorer
	{
		x = self.innerWidth;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		x = document.documentElement.clientWidth;
	}
	else if (document.body) // other Explorers
	{
		x = document.body.clientWidth;
	}
	return x;
}

function grapWindowH() {
	var y;
	if (self.innerHeight) // all except Explorer
	{
		y = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		y = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		y = document.body.clientHeight;
	}
	return y;
}

var bannerHeight;
function initializeResizer() {
	bannerHeight = parseInt($('banner').style.height.substr(0,$('banner').style.height.indexOf('p')));
	window.onresize = resizeListener;
	resizeListener();
}

function resizeListener() {
	$('mainContent').style.height = grapWindowH() - 188 - 2 + 'px';
}