	
	//Javascript
	
	function normal (){
		document.getElementById('nota_interna').className = 'nota_chica';
	}
	function media (){
		document.getElementById('nota_interna').className = 'nota_media';
	}
	function mayor (){
		document.getElementById('nota_interna').className = 'nota_grande';
	}

	//Inicio de Sesión

   function SiFocus(element) {
     if (element.value == element.defaultValue) {
       element.value = '';
     }
   }
   function SiBlur(element) {
     if (element.value == '') {
       element.value = element.defaultValue;
     }
   }
   
// Ligas externas
	function initLinks() {
		for (i in document.links) {
			link = document.links[i];
			if (link.rel && link.rel.indexOf('external')!=-1) {
				link.onclick = onExternalLinkActivate;
				link.onkeypress = onExternalLinkActivate;
			}
		}
	}

	function onExternalLinkActivate() {
		window.open(this.href);
		return false;
	}

	window.onload = initLinks;
	
	// Imprimir
	
	function imprimirContenido(idelemento)
   {
    <!--Declaracion de la variables-->
        var contenido = document.getElementById(idelemento);
   <!-- Se declara la variable para el manejo de la pantalla que muestra el contenido que se va a imprimir -->
         var pantallaImpresion = window.open('', '', 'left=50000,top=50000,width=0,height');
                    pantallaImpresion.document.write(contenido.innerHTML);
        pantallaImpresion.document.close();
        pantallaImpresion.focus();
        pantallaImpresion.print();
        pantallaImpresion.close();
   } 
   
   
   function recomiendaunamigo()
{

      var correo;

      correo = "mailto:?subject=Recomendación sobre " + document.title + "&body=TE RECOMIENDO ESTA PAGINA%0A%0A" + location.href + "%0A%0AESPERANDO QUE SEA DE TU INTERES";

      location.href=correo;

}
	
	
	

