

//sets container dimensions to enable background to fully stretch to browser size
var windowHeight;

function setHeight()
{
document.body.style.height = windowHeight + "px";
//IE sucks hack
document.getElementById("genericContainer").style.height =  windowHeight + "px";
}

/**
 * Checks browser type and sets clientHeight variable accordingly
 */
function checkForBrowser()
{
	var version = navigator.userAgent;
	var findIE = version.indexOf('MSIE');
	if(findIE == -1)
	{
		windowHeight = window.innerHeight;
	} 
	else
	{
		windowHeight = document.documentElement.clientHeight;
	}
}
