function exibir_composite()
{
   location.href='../composite/busca.php';
   return false;
   
   var x = 772;
   var y = 582;
   
   var div = document.getElementById('composite');
   var iframe=document.getElementsByTagName('iframe')[0];
   
   with (document.getElementById('main')) {
      position = 'absolute';
   	zIndex = '10';

      //opacity = '0.2';
      //filter = 'alpha(opacity=20);';
   }
   
   with (div.style) {
      position = 'relative';
      top = '10px';
      left = Math.round( (screen.availWidth - x) / 2 ) + 'px';
      width = x+'px';
      height = y+'px';
      zIndex = '100';
      backgroundImage = 'url(../composite/img/fundo.gif)';
      display = 'block';
   }
   
   with ( iframe.style )
   {
      width = '728px';
      height = '502px';
      padding = '0px';
      margin = '0px';
      marginTop = '13px';
      marginLeft = '13px';
      top = '10px';
      border = '0px none';
   }
   
   iframe.src = 'composite.php?id=2';
}

function fechar_composite()
{
   var div = document.getElementById('composite');
   var iframe = document.getElementsByTagName('iframe')[0];
   iframe.src = '';
   div.style.display = 'none';
}
