/**
  * funcion que devuelve la Cuenta Superior de la actual cuenta,
  * @param boolean	$inicializar		Inicializa en un Array la Cuenta Superior
  * @return integer Retorna el Numero de Cuenta Superior Completo sin Formato
  */
 function getCuentaSuperior($inicializar = false)
 {
     $cuenta = $this->mCuenta;
     $cuenta = $this->getCuentaCompleta($cuenta);
     $lm = $this->mEsquema->LARGO_TOTAL;
     $xQl = new cSQLListas();
     if (strlen($cuenta) == $this->mEsquema->LARGO_TOTAL) {
         if ($this->mInmediatoSuperior == false) {
             if ($this->mEsquema->NIVEL_ACTUAL <= 1) {
                 $cuenta = false;
             } else {
                 $cuenta = $this->mEsquema->SUPERIORES[$this->mEsquema->NIVEL_ACTUAL - 1];
             }
         } else {
             $cuenta = $this->mInmediatoSuperior;
         }
         //return cuenta_completa($cuenta);
         $cuenta = setNoMenorQueCero($cuenta);
         if ($inicializar == true and $cuenta > 0) {
             $this->mMessages .= "SUPERIOR\tLa Cuenta Superior de " . $this->mCuenta . " es {$cuenta}\r\n";
             $this->mArraySuperior = obten_filas($xQl->getInicialDeCuentaContable($cuenta));
             if (isset($this->mArraySuperior["tipo"])) {
                 $this->mSuperiorIniciada = true;
             }
         }
         //Return cuenta como superior
         return $cuenta;
     } else {
         $this->mMessages .= "CUENTA_INCOMPLETA_O_EXCEDIDA_DE_{$lm}\r\n";
         $this->mRaiseError = true;
         return false;
     }
 }