//funciones de formularios
//function outForm(jui)
//{
// superTapa.show();
// superTapaForm.show();
// if(jui==1)
//  {
//   if (is.ie) 
//    {
//     ffocus = document.fform.t1
//    }
//  else
//   {
//	 formCierra.moveTo(null,0);
//	 if(sysop==0){formCierra.moveTo(null,6)}
//    }
//   formCont.show(); formBloque.show(); formCierra.show(); formBoton.show(); formCaja.show();
//   formBloque.glideTo("fast","slow",null,0,6,10,'formCont.glideTo("slow","fast",null,268,6,10,"superTapa.hide(); formEntrada.show(); ffocus.focus()")')
//  }
// else
//  {
//   formEntrada.hide();
//   formCont.glideTo("slow","fast",null,207,6,10,'formBloque.glideTo("slow","fast",null,114,6,10,"formCont.hide(); formBloque.hide(); formCierra.hide(); formBoton.hide(); formCaja.hide(); superTapa.hide(); superTapaForm.hide();")')
//  }  
//}

function openFichaLote()
{
 if (is.ie) 
  {
   ffocus = document.fform.t1
  }
 else
  {
   ffocus = document.getElementById("lote");
  }
 
 if(ffocus.value.length!=0)
  {
 s = "height=459,width=441";
 hb = Math.random(); hb=hb*1000; hb=hb+" "; aaaa = hb.substring(0,hb.indexOf(".")); 
 eval("var win"+aaaa);
 c = eval("win"+aaaa);
 pagina = "lote.cfm?numlote="+escape(ffocus.value);
 c = window.open(pagina,aaaa,"status=1,top=0,left=0,location=0,toolbar=0,scrollbars=1,menubar=0,directories=0,"+s);
  }
 else
  {
   ffocus.focus()
  } 
}
