
   <!-- //
   function adaptar_tamanio() {
		var ancho_pantalla=screen.width;
      var alto_pantalla=screen.height;
		if (ancho_pantalla > 1024) {
			parent.window.resizeTo(1032,768);
		}
	}
	  
   function obtener_resolucion(pag, sub, res) {
      var ancho_pantalla=screen.width;
      var alto_pantalla=screen.height;
		if (ancho_pantalla>1024) { ancho_pantalla=1024; }
      if (pag != 'ar') {
			if (ancho_pantalla != res) {			
         	document.location.href = '?pag=' + pag + '&sub=' + sub + '&res=' + ancho_pantalla
      	}
		}
   }  
   
   function volver() {
		history.go(-1)
	}
   
   function abrir_ventana (vurl, vnom, vanc, valt) {		
		var vnom;
		ventana=open(vurl,vnom,"resizable=no,scrollbars=yes,status=yes,width=" + vanc + ",height=" + valt + ",top=20,left=20");
		ventana.focus();		
	}
	
	function cerrar_ventana() {
		window.close();
	}
   // -->

