function resizeFlash(w,h){
var s_w = document.body.clientWidth;
var s_h = document.body.clientHeight;

if(w <= 1)
	w = s_w;
if(h <= 1)
	h = s_h;

var wLimit = 1200;
var hLimit = 700;

//alert("resizing: " + w + " : " + h);//DEBUGGING
	if(w < wLimit)
		window.document["main_fla"].setAttribute('width', wLimit + "px");
	else if(w == s_w)
		window.document["main_fla"].setAttribute('width', "100%");
	else
		window.document["main_fla"].setAttribute('width', w + 'px');
	
	if(h < hLimit)
		window.document["main_fla"].setAttribute('height', hLimit + 'px');
	else if(h == s_h)
		window.document["main_fla"].setAttribute('width', "100%");
	else
		window.document["main_fla"].setAttribute('height', h + 'px');
		
}
