var minWidth = 978; //COLOCAR LARGURA MÍNIMA DO FLASH PARA IE6
var minHeight = 690; // COLOCAR ALTURA MÍNIMA DO FLASH PARA IE6

/* +window resize */
$(window).resize(
	function(){
		if(notSupMaxPropert()) {
			flashMinMsieProperties();
		}
	}
);
/* * end window resize  */

/* +ie hacks */
function flashMinMsieProperties() {
	var tWindow = $(window); // a janela do browser = this window
	
	if(tWindow.width() <= minWidth) { 		
		$('html, body, #wrapper').css("width", minWidth + "px");
	}
	else {
		$('html, body, #wrapper').css("width","100%");
	}
	if(tWindow.height() <= minHeight) { 
		$('html, body, #wrapper').css("height", minHeight + "px");
	}
	else {
		$('html, body, #wrapper').css("height","100%");
	}
}

function notSupMaxPropert() { // não suporta CSS max properties
	if (typeof document.body.style.maxHeight === "undefined") return true;
	else return false;
}

