var myHeight = 1035;
var minHeight = 1035;

function checkSize() {

	if( typeof( window.innerHeight ) == 'number' ) {
		//Non-IE
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientHeight ) ) {
		//IE 4 compatible
		myHeight = document.body.clientHeight;
	}

	if( myHeight >= minHeight || minHeight == 0) {
		document.getElementById('flashcontent').style.height = '100%';
	} else {
		document.getElementById('flashcontent').style.height = minHeight;
	}
}

function setMinSize ( pSize ) {
	minHeight = pSize;
	checkSize();
}

