window.addEvent('domready', function() {
	
   	swfobject.embedSWF("swf/feature.swf", "flashcontent", "100%", "100%", "9", "expressInstall.swf",  {}, {"wmode":"transparent", "base":"", "AllowScriptAccess":"always"});
	setSwfSize();
});

window.addEvent("resize", setSwfSize);
function setSwfSize(){
	var ws = window.getSize().y;
	var f = 1.2;
	if(ws<900) f = 1.1;
	if(ws<800) f = 1;
	var fw = Math.round(850*f)
	var fh = Math.round(630*f)
	$('container').style.width = fw+"px";
	$('container').style.height = fh+"px";
	$('container').style.marginLeft = "-"+fw/2+"px";
	$('container').style.marginTop = "-"+(fh+31*f)/2+"px";

//	alert(Math.round(fac*ws))
	
}

/*
var perc = 1.19;
var ws = window.getSize().x
if(ws<1600) perc = 1.1;
if(ws<1024) perc = 1;
*/



