
<!-----
function popups(imagem,tam,legenda) {
  erro = 1; w = 0; h = 0;
  if(tam == "H") { w = 300; h = 200; erro = 0;}
  if(tam == "V") { w = 200; h = 300; erro = 0;}
  retorno  = "<html><body bgcolor=#FFFFFF topmargin=0 bottommargin=0 marginheight=0 marginwidth=0 leftmargin=0 rightmargin=0>";
  retorno += "<link rel=\"stylesheet\" href=\"/quatro.css\">";
  retorno += "<table border=0 cellpadding=0 cellspacing=0 width="+w+"><tr height=26><td width=100 bgcolor=#FF0000>\n";
  retorno += "<img src='/imagens/logo_topo_popup.gif' width=90 height=20><br></td>\n";
  retorno += "<td width=1 bgcolor=#ffffff><img src='/imagens/pixel.gif' width=1 height=1></td>\n";
  retorno += "<td bgcolor=#FF0000 width="+ (w-101) +">&nbsp;</td></tr>\n";
  retorno += "<tr><td colspan=3><img src='/imagens/pixel.gif' width=1 height=1><br>\n";
  retorno += "<img src='"+imagem+"' width="+w+" height="+h+" border=0><br>";
  retorno += "<img src='/imagens/pixel.gif' width=1 height=1><br></td></tr>";
  retorno += "<tr><td bgcolor=#FFCC00 valign=middle colspan=3>\n";
  retorno += "&nbsp;&nbsp;<span class=texto10>"+ legenda +"</span></td></tr>\n";
  //retorno += "<br>";
  retorno += "</table>";

  if (erro == 0) {
     var jan = window.open('','_blank','status=no,scrollbars=no,resizable=no,width=' + w + ',height='+ (h+42));
     jan.document.open("text/html", "replace");
     jan.document.write(retorno);
     jan.document.close();
  }
}
//----->


