function printer(div,titulo){
 conte=document.getElementById(div).innerHTML;
 
 pop=window.open("","print","width=670,height=500,scrollbars=1");
 pop.document.write('<link href="css.css" rel="stylesheet"/>');
 pop.document.write('<body leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0>');
 pop.document.write('<center><table bgcolor=#ffffff><tr><td><img src=/imagens/estrutura/print_topo.jpg></td></tr><tr><td>');
 pop.document.write('<div style="width:100%">');
 pop.document.write('<div>');

pop.document.write('<table style="WIDTH: 100%; HEIGHT: 40px" height="40" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody><tr><td class="titulo_padrao" valign="center" align="left" background="imagens/estrutura/print_titulo.jpg" height="40" >');
 pop.document.write('<div class="titulo_box">');
 pop.document.write(titulo);
 pop.document.write('</div>');
 pop.document.write('</td></tr></table>');
 pop.document.write('</div>');
 pop.document.write(conte);
 pop.document.write('</div>');
 pop.document.write('</td></tr><tr><td><span style="cursor:pointer" onclick="window.print();"><font size=1 face=verdana>&nbsp;&nbsp;&nbsp;&nbsp;<br><div align="right"><img src="/imagens/estrutura/bt_imprimir.gif"></div></font></span><br></td></tr></table></center></body>');
pop.document.close();
}

function showFoto(src)
{
    //criando um link falso, para o LightBox captar as informações
    var a_false = document.createElement("A");
    a_false.rel = "lightbox";
    a_false.href = src;
    //chamando a função do lightbox responsável pelo início das ações
    myLightbox.start(a_false);
    //anulando o link
    a_false = null;
} 