function getViewportSize() { 
	var size = [0, 0]; 
	if (typeof window.innerWidth != "undefined") { 
		size = [window.innerWidth, window.innerHeight];
	} 
	else if (typeof document.documentElement != "undefined" && typeof document.documentElement.clientWidth != "undefined" && document.documentElement.clientWidth != 0) {
		size = [document.documentElement.clientWidth, document.documentElement.clientHeight]; 
	}
	else {
		size = [document.getElementsByTagName("body")[0].clientWidth, document.getElementsByTagName("body")[0].clientHeight]; 
	}
	return size; 
}

function createFullBrowserFlash() {
	swfobject.createCSS("html", "height:100%;");
	swfobject.createCSS("body", "height:100%;");
	swfobject.createCSS("#container", "margin:0; width:100%; height:100%; min-width:771px; min-height:600px;");
	window.onresize = function() {
		var el = document.getElementById("container");
		var size = getViewportSize();
		el.style.width = size[0] < 771 ? "771px" : "100%";
		el.style.height = size[1] < 600 ? "600px" : "100%";
	};
	window.onresize();
}

var flashvars = {};
var params = {
	bgcolor: "#DBDBDB",
	scale: "noscale",
	menu: "false",
	wmode: "window",
	AllowScriptAccess: "always",
	align:"center",
	allowFullScreen:"false"
};
var attributes = {};

swfobject.embedSWF(flashfile, "content", "100%", "100%", "8.0.0", "_js/swfobject2/expressInstall.swf", flashvars, params, attributes);
if (swfobject.hasFlashPlayerVersion("8.0.0")) {
	swfobject.addDomLoadEvent(createFullBrowserFlash);
}