<!-- 
function showFlash(id,movie,width,height){
	document.write('<object id="'+id+'" type="application/x-shockwave-flash" data="'+movie+'" width="'+width+'" height="'+height+'">');
	document.write('<param name="movie" value="'+movie+'" />');
	document.write('<param name="wmode" value="transparent">');
	document.write('<param name="swliveconnect" value="true">');
	document.write('<param name="allowScriptAccess" value="always">');
	document.write('</object>');
}

function autofitIframe(altura,lb,mrec){
	document.getElementById("myFlash").style.height = altura + "px";
	if(lb==1){
		document.getElementById('lb_div').style.display = 'block';
		document.getElementById('lb_iframe').src='http://www.maisfutebol.iol.pt/e-golo/pub/leaderboard.html';
	}
	else document.getElementById('lb_div').style.display = 'none';
	if(mrec==1){
		document.getElementById('mrec_div').style.display = 'block';
		document.getElementById('mrec_iframe').src='http://www.maisfutebol.iol.pt/e-golo/pub/mrec.html';
	}
	else document.getElementById('mrec_div').style.display = 'none';
}
//-->
