<!--
//
function onLoadFlashContainer() {
	document.getElementById("flashcontainer").style.width = "100%";
	document.getElementById("flashcontainer").style.height = "100%";
	resizeFlashContainer();
}
//
function getWinSize() {
	var winH, winW;
	if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {
			winW = window.innerWidth;
			winH = window.innerHeight;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1) {
			winW = document.body.offsetWidth;
			winH = document.body.offsetHeight;
		}
	}
	return {height: winH, width: winW};
}
//
function resizeFlashContainer() {
	var winSize = getWinSize();
	var w = winSize.width < 940? "940px" : "100%";
	var h = winSize.height < 500? "500px" : "100%";
    //var w = winSize.width < 970? "970px" : "100%";
	//var h = winSize.height < 515? "515px" : "100%";
	if (navigator.appName.indexOf("Microsoft") != -1) {
		if (w!="100%" || h!="100%") {
			document.body.overflow = "auto";
		} else {
			document.body.overflow = "hidden";
		}
	}
	document.getElementById("flashcontainer").style.width = w;
	document.getElementById("flashcontainer").style.height = h;
}

onLoadFlashContainer();
//
if (window.attachEvent) {
	window.attachEvent("onresize", resizeFlashContainer);
	window.document.flashObject.focus();
} else
	window.addEventListener("resize", resizeFlashContainer, false);

// -->