<?php


######## functions for drawing other sidebar format #########

include_once("./config1.php");

// start border

function sb($width,$title,$colour_1,$bg_colour,$face,$titlesize,$titlecolor)
{
$widths = $width + 20;
echo "<table width=$widths></table><table width=\"$width\" border=\"0\" align=\"center\" cellspacing=\"0\" cellpadding=\"0\">
  <tr bgcolor=\"$bg_colour\">
    <td width=\"8\" height=\"27\"><img src=\"images/tl.gif\" width=\"8\" height=\"27\"></td>
    <td height=\"27\" background=\"images/tbg.gif\" align=\"center\"><font face=$face size=$titlesize color = $titlecolor>$title</font></td>
    <td width=\"8\" height=\"27\"><img src=\"images/tr.gif\" width=\"8\" height=\"27\"></td>
  </tr>
  <tr width=\"100%\" bgcolor=\"$colour_1\">
    <td background=\"images/ml.gif\" width=\"8\">&nbsp;</td>
    <td width=\"100%\">";
}
// end border
function eb($bg_colour,$colour_1)
{
echo "</td><td bgcolor=\"$colour_1\" background=\"images/mr.gif\" width=\"8\">&nbsp;</td>
  </tr>
  <tr bgcolor=\"$colour_1\">
    <td><img src=\"images/blt.gif\" width=\"8\" height=\"6\"></td>
    <td background=\"images/bbgt.gif\" height=\"6\" style=\"font-size: 1px;\">&nbsp;</td>
    <td><img src=\"images/brt.gif\" width=\"8\" height=\"6\"></td>
  </tr>
  <tr bgcolor=\"$bg_colour\">
    <td><img src=\"images/blb.gif\" width=\"8\" height=\"6\"></td>
    <td background=\"images/bbgb.gif\" height=\"6\" style=\"font-size: 1px;\">&nbsp;</td>
    <td><img src=\"images/brb.gif\" width=\"8\" height=\"6\"></td>
  </tr>
</table>";
}
?>