<?php
$id = $_GET['id'];
  echo ' <input name="ondeEscolhidas" id="ondeEscolhidas" type="hidden" value="'. $id .'">';
?>

<div id="pnControBotao"><script>ControleBotao('<?php echo $id; ?>'); </script> </div>


<div id="pnLoadFotos">
<script>CarregarFotoEscolhidas('<?php echo $id; ?>', 0);</script>

</div>

<div id="pnLoadPaginacao" align="center">
<script>PaginacaoEscolhidas('<?php echo $id; ?>', 0);</script>
</div>
