function setFlashDivSize(minW, minH) {
	var win_w;
	var win_h;
	var browser = navigator.appName;
	if (browser == "Microsoft Internet Explorer") {
		//IE and Opera
		win_w = document.body.offsetWidth;
		win_h = document.body.offsetHeight;
		if (win_w>minW) {
			window.document.getElementById("flashcontent").width = "100%";
		} else {
			window.document.getElementById("flashcontent").width = minW+"px";
		}
		if (win_h>minH) {
			window.document.getElementById("flashcontent").height = "100%";
		} else {
			window.document.getElementById("flashcontent").height = minH+"px";
		}
	} else {
		//Netscape and Mozilla
		win_w = window.innerWidth;
		win_h = window.innerHeight;
		if (win_w>minW) {
			window.document.flashcontent.style.width = "100%";
		} else {
			window.document.flashcontent.style.width = minW+"px";
		}
		if (win_h>minH) {
			window.document.flashcontent.style.height = "100%";
		} else {
			window.document.getElementById("flashcontent").style.height = minH+"px";
		}
	}
}
