/**
This will set the swf to 100% width and height of the screen, but has a minimum height for the swf, which needs to be set as the value of swfMinHeight.  If the swf doesn't vertically center, you can set the $.scrollTo value to a percentage, which will force the browser to scroll to what you determine is a safezone.  If the Window's viewable space is that of a larger monitor, the page will not scroll, nor will it have scrollbars; it will fit properly.
*/
 
function setSwfSize() {
	h = $(window).height();
	swfMinHeight = 800;
	

	if (h < swfMinHeight) {
		$('#resizewrapper').height(swfMinHeight);
		$('#mainFlash').height(swfMinHeight);
		
	} else {
		$('#resizewrapper').height(h);
		$('#mainFlash').height(h);
		
	}
}

$(window).resize(function(){
	setSwfSize();	
});

