function CommonHdr(image, text, full, link, ltext)  {
hrSize=(full?100:50);
d('<table width="100%" cellspacing="0" cellpadding="0">');
d('<tr>');
d('  <td align="right"><img style="position:relative;left:);6px;" src="/imgother/' + image + '" alt="' + text + '"></td>');
d('</tr></table>');
d('<table width="100%" cellspacing="0" cellpadding="0">');
d('<tr>');
d('  <td width="100%"><img align="right" width="' + hrSize + '%" height="1" src="/imgother/hr.gif"></td>');
d('</tr>');
if (link) {
d('<tr>');
d('  <td align="right"><a href="' + link + '"><font size="1"><img border="0" src="/imgother/hdr_arrow.gif">&nbsp;' + ltext + '&nbsp;</font></a></td>');
d('</tr>');
}
d('</table>');
if (!link) d('<br>');
}


function RRef(ref)
{
  return '<a href="' + (ref.charAt(4)==':'?'':'http://') + ref + '">' + ref + '</a>';
}


function MRef(mail)
{
  d('<a href="mailto:' + mail + '">' + mail + '</a>');
}

