}
    }
}
?>
      </select></td>
      <td>Folio:</td>
      <td><?php 
echo "ME-{$folio}";
?>
</td>
      </tr>
      <tr>
<td width="66" align="left">Area</td>
<td width="114"><select name="areas">
	     <?php 
$Allareas = $area->GetAll();
$claves = array_keys($Allareas);
$cant = count($Allareas);
if ($cant > 0) {
    for ($i = 0; $i < $cant; $i++) {
        echo "<option value={$claves[$i]}";
        if ($claves[$i] == $_SESSION["nareas"]) {
            echo " selected ";
        }
        echo ">";
        foreach ($Allareas["{$claves[$i]}"] as $valor) {
            echo "{$valor}</option>";
        }
    }
}
?>