// Fim Flash Generica
var net=new Object();
net.READY_STATE_UNINITIALIZED=0;
net.READY_STATE_LOADING=1;
net.READY_STATE_LOADED=2;
net.READY_STATE_INTERACTIVE=3;
net.READY_STATE_COMPLETE=4;

// Construtor
net.ContentLoader=function(url,onload,onerror,handle)
{
	this.handle=handle;  
	this.url=url;
	this.req=null;
	this.onload=onload;
	this.onerror=(onerror) ? onerror : this.defaultError;
	this.loadContent(url);
}
var tam = 12;

function mudaFonte( tipo )
{
  if( tipo == 'mais' )
  {
    if( tam < 20 ) tam += 2 ;    			 
  }
  else
  {
    if( tam > 10 ) tam -= 2 ;
  }
  if( document.getElementById( 'mudaFonte' ) )
    mudaFonteRecursiva( tipo , document.getElementById( 'mudaFonte' ) ) ;

  if( document.getElementById( 'mudaFoto' ) )
    mudaFonteRecursiva( tipo , document.getElementById( 'mudaFoto' ) ) ;  
}

function mudaFonteRecursiva( tipo , domElement )
{		
  for( var i = 0 ; i < domElement.childNodes.length ; i++ )
  {
    mudaFonteRecursiva( tipo , domElement.childNodes.item( i )  ) ;
  }
  if( domElement.style )
    domElement.style.fontSize = tam+'px';
}
//exit