// JavaScript Document
function setHeight(setDiv, reduce) 
{
	// REFERENCE: http://www.howtocreate.co.uk/tutorials/javascript/browserwindow
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' )
	{
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	}
	
	var heightCalc = myHeight - reduce;
	var heightFinal = heightCalc + 'px';
	document.getElementById(setDiv).style.minHeight = heightFinal;
	
	return;
}
