function resizeDocument() {
	var intDocumentHeight = 0;
	var intDocumentWidth = 0
	if ( typeof( window.innerWidth ) == 'number' ) {
		intDocumentHeight = window.innerHeight;
		intDocumentWidth = window.innerWidth;
	} else if ( document.documentElement && 
				document.documentElement.clientHeight ) {
		intDocumentHeight = document.documentElement.clientHeight;
		intDocumentWidth = document.documentElement.clientWidth;
	} else if ( document.body && document.body.clientHeight ) {
		intDocumentHeight = document.body.clientHeight;
		intDicumentWidth = document.body.clientWidth;
	}
	if ( intDocumentHeight < intFlashHeight ) {
		document.getElementById( 'flashcontainer' ).style.height = intFlashHeight + "px";
		document.getElementById( 'flashobject' ).style.height = intFlashHeight + "px";
	} else {
		document.getElementById( 'flashcontainer' ).style.height = "100%";
		document.getElementById( 'flashobject' ).style.height = "100%";
	}
	if ( intDocumentWidth < intFlashWidth ) {
		document.getElementById( 'flashcontainer' ).style.width = intFlashWidth + "px";
		document.getElementById( 'flashobject' ).style.width = intFlashWidth + "px";
	} else {
		document.getElementById( 'flashcontainer' ).style.width = "100%";
		document.getElementById( 'flashobject' ).style.width = "100%";
	}
}