function doeBar1(t,d)
{ //alert('doeBar1('+t+','+d+')');
  document.write('<table border=0 cellpadding=0 cellspacing=0>');
  document.write('<tr><td background="'+d+'images/bar1.gif" width="25" height="70">');
  document.write('</td><td background="'+d+'images/bar2.gif" height="70" style="font-family: verdana; font-size: 20px; font-weight: bold;">');
  document.write('<center><nobr> &nbsp; '+t+' &nbsp; </nobr><center>');
  document.write('</td><td background="'+d+'images/bar3.gif" width="25" height="70">');
  document.write('</td></tr>');
  document.write('</table><p>');
}

function doeBar2(t,d)
{ //alert('doeBar2('+t+','+d+')');
  var h='';
  h+='<table border=0 cellpadding=0 cellspacing=0>\n';
  h+='<tr><td background="'+d+'images/bar1.gif" width="25" height="70">\n';
  h+='</td><td background="'+d+'images/bar2.gif" height="70" style="font-family: verdana; font-size: 20px; font-weight: bold;">\n';
  h+='<center><nobr> &nbsp; '+t+' &nbsp; </nobr><center>\n';
  h+='</td><td background="'+d+'images/bar3.gif" width="25" height="70">\n';
  h+='</td></tr>\n';
  h+='</table><p>\n';
  return(h);
}
