$tmp = new cTmp();
 $xFi->setCharDelimiter("|");
 //$xFi->setLimitCampos(9);
 $xFi->setToUTF8();
 //var_dump($_FILES["f1"]);
 $xFi->setExo($esqueleto);
 //var_dump($_FILES);
 if ($xFi->processFile($doc1) == true) {
     $data = $xFi->getData();
     $conteo = 1;
     foreach ($data as $rows) {
         if ($conteo > 1) {
             $xFi->setDataRow($rows);
             $cuenta = $xFi->getV($tmp->CUENTA, "");
             $xEQ = new cCuentaContableEsquema($cuenta);
             $xCW = new cCatalogoCompacW();
             //echo $xEQ->CUENTA_FORMATEADA . "<br/>" . $xEQ->CUENTARAW ."<br />" . $xCW->getEquivalencia( $xFi->getV($tmp->NATURALEZA, "") )  . $xEQ->NIVEL_ACTUAL . "<hr />";
             $cuenta = $xEQ->CUENTA_FORMATEADA;
             $xCCont = new cCuentaContable($cuenta);
             $nivel = $xCCont->determineNivel($cuenta);
             $sucess = true;
             $nombre = $xFi->getV($tmp->CTA1, "");
             $nombre = trim($nombre);
             $superior = $xEQ->CUENTA_SUPERIOR;
             // $xCCont->getInmediatoSuperior();
             $cuenta = $xCCont->getCuentaCompleta($cuenta);
             $nombre = $xT->setNoAcentos($nombre);
             $nombre = str_replace("'", "", $nombre);
             $nombre = strtoupper($nombre);
             $naturaleza = $xCW->getEquivalencia($xFi->getV($tmp->NATURALEZA, ""));
             if ($sucess == true and $action == MQL_ADD) {
			</td>
		</tr>

		
		</tbody>
		<tfoot>
			<tr>
				<td colspan="2"><a class="boton" onclick="frmOutVauchers.submit();">- Iniciar Exportaci&oacute;n -</a></td>
			</tr>
		</tfoot>
	</table>
</fieldset>
</form>
<?php 
} elseif ($commad == "e") {
    $xCw = new cCatalogoCompacW();
    $fecha_inicial = $_POST["elanno0"] . "-" . $_POST["elmes0"] . "-" . $_POST["eldia0"];
    $fecha_final = $_POST["elanno1"] . "-" . $_POST["elmes1"] . "-" . $_POST["eldia1"];
    echo $xCw->setExport($fecha_inicial, $fecha_final);
}
?>
</body>
<script  >
function resizeMainWindow(){
	var mWidth	= 512;
	var mHeight	= 512;
	window.resizeTo(mWidth, mHeight);
}
function initComponents(){
	resizeMainWindow();
	//window.moveTo(mLeft, mTop);