function setFlashWidth(divid, newW){
	document.getElementById(divid).style.width = newW+"px";
}
function setFlashHeight(divid, newH){
	if(newH!=0){
		$("div[id='conteudo']").height(newH);
		$("object").height(newH);
	}else{
		$("div[id='conteudo']").height($(window).height());
		$("object").height($(window).height());
	}
	rolando(document.body.scrollHeight);
}
function setFlashSize(divid, newW, newH){
	setFlashWidth(divid, newW);
	setFlashHeight(divid, newH);
}
function canResizeFlash(){
	var ua = navigator.userAgent.toLowerCase();
	var opera = ua.indexOf("opera");
	if( document.getElementById ){
		if(opera == -1) return true;
		else if(parseInt(ua.substr(opera+6, 1)) >= 7) return true;
	}
	return false;
}

function rolando(pos){
	window.scrollBy(0,15);
	scrolldelay = setTimeout("rolando()",80); 
	if(pos>=document.body.scrollHeight){
		clearTimeout(scrolldelay);
	}
}