function setSWFSize() {
	var ua = navigator.userAgent;
	var nWidth, nHeight;
	var nHit = ua.indexOf("MSIE");
	var bIE = (nHit >=  0);
	var bVer6 = (bIE && ua.substr(nHit+5, 1) == "6");
	var bStd = (document.compatMode && document.compatMode=="CSS1Compat");
	if (bIE) {
		if (bVer6 && bStd) {
			nWidth = document.documentElement.clientWidth;
			nHeight = document.documentElement.clientHeight;
		} else {				
			nWidth = document.body.clientWidth;
			nHeight = document.body.clientHeight;
		}
	} else {
		nWidth = window.innerWidth;
		nHeight = window.innerHeight;
	}
	var bodyElm = document.getElementById("flashcontent");
	if(!bodyElm) return false;
	bodyElm.style.minWidth = "990px";
	bodyElm.style.minHeight = "580px";
	bodyElm.style.width = nWidth + "px";
	bodyElm.style.height = nHeight  + "px";
}

window.onresize = function(){
	setSWFSize();
}
