function callFlash(swf,largura,altura,id_objeto,wmode,background){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0" width="'+largura+'" height="'+altura+'" align="middle" id="'+id_objeto+'">');
    document.write('<param name=movie value="'+swf+'">');
    document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="quality" value="best">');
    document.write('<param name="menu" value="false">');
	document.write('<param name="wmode" value="'+wmode+'">');
	document.write('<param name="scale" value="noscale"/>');
	document.write('<param name="salign" value="ct"/>');
	document.write('<param name="bgcolor" value="'+background+'">');
    document.write('<embed src="'+swf+'" quality="best" width="'+largura+'" height="'+altura+'" scale="noscale" salign="ct" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
    document.write('</object>');
}

//


function resizeIframe() {

  try {
	
     frame = document.getElementById('garcia_conteudo');

     // Get the document within the frame. This is where you will fail with 'permission denied'

     // if the document within the frame is not from the same domain as this document.

     // Note: IE uses 'contentWindow', Opera uses 'contentDocument', Netscape uses either.

     innerDoc = (frame.contentDocument) ? frame.contentDocument : frame.contentWindow.document;


     // Resize the style object, if it exists. Otherwise, resize the frame itself.

     objToResize = (frame.style) ? frame.style : frame;



     // Resize the object to the scroll height of the inner document body. You may still have 

     // to add a 'fudge' factor to get rid of the scroll bar entirely. With a plain-vanilla 

     // iframe, I found Netscape needs no fudge, IE needs 4 and Opera needs 5... 

     // Of course, your mileage may vary.

		
	 tamanho = innerDoc.body.scrollHeight;
	 document.getElementById('topo_pagina').focus();
     objToResize.height = Number(tamanho);
		
}

  catch (e) {

     window.status = '';
	

  }

}
