// JavaScript Document
// abre janela
function view(url,janela,larg,alt,scroll,maximizar,pos1,pos2){
 window.open(url,janela,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+scroll+",resizable="+maximizar+",copyhistory=no,top="+((screen.height/2)-(alt/2))+",left="+((screen.width/2)-(larg/2))+",screenY="+pos1+",screenX="+pos2+",width="+larg+",height="+alt);
} 
//top='+((screen.height/2)-(500/2))+',left='+((screen.width/2)-(640/2))+'

var tam = 12;

function mudaFonte( tipo )
{
  if( tipo == 'mais' )
  {
    if( tam < 16 ) tam += 2 ;    			 
  }
  else
  {
    if( tam > 9 ) 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';
}

/* Esta função agora está no arquivo bloqueiaCopia.js

	var ie4 = (document.all) ? true : false;	var ns4 = (document.layers) ? true : false;	
	var ns6 = (document.getElementById && !document.all) ? true : false;
//	var message="Todos Direitos Reservado \n\n\n MOKED.COM.BR © 2007";
	var message="";	
	function clickIE() {if (document.all) {(message);return false;}else{return true;}}
	function clickNS(e) {if (document.layers||(document.getElementById&&!document.all))                                        {if (e.which==2||e.which==3) {(message);return false;}else{return true;}}else{return true;}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;
	
	} document.oncontextmenu=new Function("return false")
	function disableselect(e){		return false		}
	function reEnable(){ return true	} ;                                                                                        document.onselectstart=new Function ("return false"); if (window.sidebar){document.onmousedown=disableselect; document.onclick=reEnable }*/