	
function resizeFlash()
{
	var siteWidth = 1024;
	var siteHeight = 768;
	
	/*if ( window.innerWidth == undefined )// || window.innerWidth == 0 )
	{
		document.getElementById( "flashDiv" ).style.width = Math.max( siteWidth, document.body.clientWidth );
		document.getElementById( "flashDiv" ).style.height = Math.max( siteHeight, document.body.clientHeight );
	}
	else
	{
		document.getElementById( "flashDiv" ).style.width = Math.max( siteWidth, window.innerWidth );
		document.getElementById( "flashDiv" ).style.height = Math.max( siteHeight, window.innerHeight );
	}
	*/
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		document.getElementById( "flashDiv" ).style.width = Math.max( siteWidth, window.innerWidth );
		document.getElementById( "flashDiv" ).style.height = Math.max( siteHeight, window.innerHeight );
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		document.getElementById( "flashDiv" ).style.width = Math.max( siteWidth, document.documentElement.clientWidth );
		document.getElementById( "flashDiv" ).style.height = Math.max( siteHeight, document.documentElement.clientHeight );
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		document.getElementById( "flashDiv" ).style.width = Math.max( siteWidth, document.body.clientWidth );
		document.getElementById( "flashDiv" ).style.height = Math.max( siteHeight, document.body.clientHeight );
	  }

} 
