<?php

/************************************************************/
/* OpenTable Functions                                      */
/* Define the tables look&feel for you whole site. For this */
/* we have two options: OpenTable and OpenTable2 functions. */
/* Then we have CloseTable and CloseTable2 function to      */
/* properly close our tables. The difference is that        */
/* OpenTable has a 100% width and OpenTable2 has a width    */
/* according with the table content                         */
/************************************************************/

function OpenTable() {
echo"<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" width=\"100%\">"
  . "<tr>"
  . "<td width=\"0%\" class=\"mainboxLefttop\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
  . "<td width=\"100%\" class=\"mainboxTop\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
  . "<td width=\"0%\" class=\"mainboxRighttop\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>		  	"
  . "</tr>"
  . "<tr>"
  . "<td width=\"0%\" class=\"mainboxLeft\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
  . "<td width=\"100%\" class=\"mainbox\"><table cellspacing=\"5\" cellpadding=\"5\" align=\"center\" width=\"90%\" border=\"0\"><tr><td colpan=\"3\">";
}

function CloseTable() {
echo"</td></tr></table></td>"
  . "<td width=\"0%\" class=\"mainboxRight\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
  . "</tr>"
  . "<tr> "
  . "<td width=\"0%\" class=\"mainboxLeftbottom\">&nbsp;</td>"
  . "<td width=\"100%\" valign=\"top\" class=\"mainboxBottom\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
  . "<td width=\"0%\" class=\"mainboxRightbottom\">&nbsp;</td>"
  . "</tr></table>";
}

function OpenTable2() {
echo"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. "<tr> "
. "<td colspan=\"3\">"
. "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. "<tr>"
. "<td width=\"0%\"><img src=\"themes/Cobalt/forums/images/cat_lcap.gif\" width=\"22\" height=\"51\"></td>"
. "<td width=\"100%\" background=\"themes/Cobalt/forums/images/cat_bar.jpg\" valign=\"top\"> "
. "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\">"
. "<tr>"
. "<td class=\"cBarStart\" valign=\"top\">"
. "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">"
. "<tr>"
. "<td valign=\"top\" width=\"0%\"><img src=\"themes/Cobalt/forums/images/cat_arrow.gif\" width=\"25\" height=\"39\"></td>			"
. "<td class=\"cattitle\" width=\"100%\"></td>"
. "</tr>"
. "</table>"
. "</td>"
. "<td><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"1\" height=\"51\"></td>				"
. "</tr>"
. "</table>"
. "</td>"
. "<td width=\"0%\"><img src=\"themes/Cobalt/forums/images/cat_rcap.gif\" width=\"33\" height=\"51\"></td>"
. "</tr>"
. "</table>"
. "</td>"
. "</tr>"
. "<tr> "
. "<td width=\"0%\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"16\" height=\"22\"></td>"
. "<td width=\"100%\"> "
. "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. "<tr>"
. "<td width=\"0%\" class=\"cboxLeft\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
. "<td width=\"100%\" class=\"cbox\">"
. "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. "<tr>"
. "<td class=\"cBoxStart\">";
}

function CloseTable2() {

echo "<img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\">"
. "</td>"
. "</tr>"
. "</table>"
. "</td>"
. "	<td width=\"0%\" class=\"cboxRight\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
. "	</tr>"
. "	<tr>"
. "	<td width=\"0%\" class=\"cboxLeftbottom\">&nbsp;</td>"
. "	<td width=\"100%\" valign=\"top\" class=\"cboxBottom\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"6\" height=\"6\"></td>"
. "	<td width=\"0%\" class=\"cboxRightbottom\">&nbsp;</td>"
. "	</tr>"
. "	</table>"
. "	</td>"
. "	<td class=\"catbox_right\"><img src=\"themes/Cobalt/forums/images/spacer.gif\" width=\"27\" height=\"27\"></td>"
. "	</tr></table>";
}

?>