

window.onload = function dothis(){	
	resize();
	 
	}

window.onresize = function dothat(){	
	resize();
	}
	
	function resize(){
	 	height = FindSize();
		browser = navigator.appName;
	
 		if(height <= 558){
			document.getElementById('ieFlash').style.height = 558 + 'px';
			if(browser != 'Microsoft Internet Explorer')document.getElementById('ffFlash').style.height = 558 + 'px';
		}else{
			document.getElementById('ieFlash').style.height = height + 'px';
			if(browser != 'Microsoft Internet Explorer')document.getElementById('ffFlash').style.height = height + 'px';
		}
	}
	
	// much thanks to Mark at http://www.howtocreate.co.uk for this lovely determiner
	function FindSize() {
 		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;
  		} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    	//IE 4 compatible
    	myWidth = document.body.clientWidth;
    	myHeight = document.body.clientHeight;
  		}
  		
  		return myHeight;
	}