function valida_correo(email){
    regx = /^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/;
    return regx.test(email);
}
function longitud(txt ,limite)
{
  longitud = txt.value.length;
  if ( longitud > limite )
  {
	txt.value = txt.value.substring(0,limite);
	caracteresLibres = 0;
  }
  else
  {
   caracteresLibres = limite - longitud;
  }
  return caracteresLibres;
}



function imprimir() {
if (window.print)
window.print()
else
alert("Disculpe, su navegador no soporta esta opción.");
}


function fuente(tam)
	{		
		var objeto=document.getElementById("contenido");	
		objeto.size=tam;		
	}

