function getBrowserHeight() {
	
	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;
	}

	return(myHeight);
}
	
function checkFlashSize( flashHeight ) {

	var bHeight = getBrowserHeight();
	
	//alert('Browser: checkFlashSize, flashHeight = ' + flashHeight + ', browserHeight = ' + bHeight + ', document.getElementById("flashContainer") = ' + document.getElementById("flashContainer")  + ', .height = ' + document.getElementById("flashContainer").style.height);
	
	var extraHeight = 0;
	
	if (flashHeight > bHeight) {
		document.getElementById("flashContainer").style.height = flashHeight + extraHeight;
	} else {
		document.getElementById("flashContainer").style.height = bHeight + extraHeight;
	}
	
	//document.getElementById("wrapper").style.display = "none";
	
	//parent.window.scrollTo(0,0);
	//window.scroll(0,0);
	
	return bHeight;
}

