function get_browser_width() {
	if ( window.innerWidth ) { return window.innerWidth; }  
	else if ( document.documentElement && document.documentElement.clientWidth != 0 ) { return document.documentElement.clientWidth; }  
	else if ( document.body ) { return document.body.clientWidth; }  
	return 0;  
}

function get_browser_height() {
	if ( window.innerHeight ) { return window.innerHeight; }  
	else if ( document.documentElement && document.documentElement.clientHeight != 0 ) { return document.documentElement.clientHeight; }  
	else if ( document.body ) { return document.body.clientHeight; }  
	return 0;  
}

function resizeFla(){
	var bw = get_browser_width();
	var bh = get_browser_height();
	w = Math.max(1015,bw) + "px";
	h = Math.max(630,bh) + "px";
	Element.setStyle("fla", { width:w, height:h});
}

window.onresize = window.onload = function(){
	resizeFla();
}

