// JavaScript Document

	function tratarAcentos (texto)
	{
		texto = texto.replace("&aacute;","á");
		texto = texto.replace("&Aacute;","Á");
		texto = texto.replace("&agrave;","à");
		texto = texto.replace("&Agrave;","À");
		
		texto = texto.replace("&eacute;","é");
		texto = texto.replace("&Eacute;","É");
		texto = texto.replace("&egrave;","è");
		texto = texto.replace("&Egrave;","È");
		
		texto = texto.replace("&iacute;","í");
		texto = texto.replace("&Iacute;","Í");
		texto = texto.replace("&igrave;","ì");
		texto = texto.replace("&Igrave;","Ì");
		
		texto = texto.replace("&oacute;","ó");
		texto = texto.replace("&Oacute;","Ó");
		texto = texto.replace("&ograve;","ò");
		texto = texto.replace("&Ograve;","Ò");
		
		texto = texto.replace("&uacute;","ú");
		texto = texto.replace("&Uacute;","Ú");
		texto = texto.replace("&ugrave;","ù");
		texto = texto.replace("&Ugrave;","Ù");
		
		texto = texto.replace("&uuml;","ü");
		texto = texto.replace("&Uuml;","Ú");
		
		texto = texto.replace("&ntilde;","ñ");
		texto = texto.replace("&Ntilde;","Ñ"); 
		
		return texto;
	}
	
	function abrirVentana (theURL,winName,features) 
	{ 
  
  	  window.open(theURL,"","left=0,top=0,width=410,height=460");

  	  /*
	  var w = window.screen.width; 
	  var h = window.screen.height;
	  
	  var W = 800;
	  var H = 600;
	  
	  var X = Math.ceil((w-W)/2);
	  var Y = Math.ceil((h-H)/2);   
	  
	  window.open(theURL, winName, features); 
	  */
	  //commWin.moveTo(X,Y);
   
	}