<!--

function fn_Agregar(){
      var newWind;
	  document.Forma.Accion.value = "Agrega"
	  if (screen.width == 1024) {
		  Derecha = (screen.width - 524) / 2;
		  Arriba = (screen.height - 448) / 2;}
	  else {
		  Derecha = (screen.width - 500) / 2;
		  Arriba = (screen.height - 400) / 2;}
	  
      newWind = window.open('frmRegistro.asp?txtAccionx=Agrega','Registrate','width=500,height=340,scrollbars=yes,left='+Derecha+',top='+Arriba);
      if (newWind.opener == null)
         { newWind.opener = window; }}


function fn_Regresar(){
	document.Forma.action = "index.aspx";
	document.Forma.submit ()}

function fn_Registrate(){
      var newWind;
	  if (screen.width == 1024) {
		  Derecha = (screen.width - 524) / 2;
		  Arriba = (screen.height - 448) / 2;}
	  else {
		  Derecha = (screen.width - 500) / 2;
		  Arriba = (screen.height - 400) / 2;}
	  
      newWind = window.open('frmRegistro.asp','Registrate','width=500,height=340,scrollbars=yes,left='+Derecha+',top='+Arriba);
      if (newWind.opener == null)
         { newWind.opener = window; }}

function fn_RecuperaPassword(){
      var newWind;
	  if (screen.width == 1024) {
		  Derecha = (screen.width - 524) / 2;
		  Arriba = (screen.height - 448) / 2;}
	  else {
		  Derecha = (screen.width - 500) / 2;
		  Arriba = (screen.height - 360) / 2;}
      newWind = window.open('frmRecuperaPassword.asp','RecuperaPassword','width=540,height=280,scrollbars=yes,left='+Derecha+',top='+Arriba);
      if (newWind.opener == null)
         { newWind.opener = window; }}

function SeleccionarPantalla(sCuenta,sRecibo){
var newWind;

	Derecha = (screen.width - 600) / 2;
	Arriba = (screen.height - 500) / 2;
	newWind = window.open('frmDespliegaDetalle.asp?txtCuenta='+sCuenta+'&txtRecibo='+sRecibo,'Recibo','width=570,height=400,scrollbars=yes,left='+Derecha+',top='+Arriba);

	if (newWind.opener == null){ 
		newWind.opener = window; }}

-->
