//<!--

defaultStatus = document.title;
var currentTime = new Date();

//----------------------------------------------------------
// Sitemeter
//----------------------------------------------------------
function Sitemeter()
{
   document.write("<!--WEBBOT bot=\"HTMLMarkup\" startspan ALT=\"Site Meter\" -->");
   document.write("<a href=\"http://s11.sitemeter.com/stats.asp?site=s11ripcatsroom\" target=\"_top\">");
   document.write("<img src=\"http://s11.sitemeter.com/meter.asp?site=s11ripcatsroom\" alt=\"Site Meter\" border=\"0\"></a>");
   document.write("<!--WEBBOT bot=\"HTMLMarkup\" Endspan -->");
}

//----------------------------------------------------------
// Header
//----------------------------------------------------------
function Header(Topbar, Topleft, Logo)
{
   document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
   document.write("<tr><td colspan=\"5\"><img src=\"" + Topbar + "\" height=\"15\" width=\"755\"></td></tr>");
   document.write("<tr><td colspan=\"4\"><img src=\"" + Topleft + "\" height=\"20\" width=\"128\"></td>");
   document.write("<td align=\"center\"><img src=\"" + Logo + "\"></td></tr><tr>");

}

//----------------------------------------------------------
// Nav_Top
//----------------------------------------------------------
function Nav_Top(Home, Location, Comment)
{
   document.write("<td width=\"1\" bgcolor=\"red\"><img src=\"../graphics/linefeed.gif\" width=\"1\" height=\"1\"></td>");
   document.write("<td width=\"126\" valign=\"top\" align=\"center\" bgcolor=\"#ffffcc\"><br>");

if (Location)
{
   document.write("<a href=\"" + Location + "\">");
   document.write("<img src=\"" + Home + "\" border=\"0\" width=\"110\" height=\"25\" alt=\"" + Comment + "\"></a><br><br>");
}
}

//----------------------------------------------------------
// Menu_Title
//----------------------------------------------------------
function Menu_Title(Title, Location)
{
   document.write("<table width=\"115\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");
   document.write("<td width=\"1\"><img src=\"../graphics/1pixel.gif\" width=\"1\" height=\"1\"></td>");
   document.write("<td width=\"137\" colspan=\"2\" class=\"table-grey\">\&nbsp\;\&\#149\; ");
   if (Location == "")
      document.write("<font class=\"text-small\">" + Title + "</font></td></tr>");
   else
      document.write("<a class=\"text-small\" href=\"" + Location + ".htm\">" + Title + "</a></td></tr>");
}

//----------------------------------------------------------
// Menu_Item
//----------------------------------------------------------
function Menu_Item(Path, Item, Location, End)
{
   document.write("<tr><td width=\"1\"><img src=\"" + Path + "graphics/1pixel.gif\" width=\"1\" height=\"1\"></td>");
   document.write("<td width=\"8\" bgcolor=\"#006868\"><img src=\"" + Path + "graphics/menu_side.gif\" width=\"8\"");
   
   if ((End == 1) && (Location == ""))
       document.write("height=\"3\"></td>");
   else
       document.write("height=\"17\"></td>");
      
   document.write("<td width=\"137\" background=\"" + Path + "graphics/menu_bg.gif\"><a class=\"menu\" href=\"");
   document.write(Location + ".htm\">" + Item + "</a></td></tr>");
   if (End == 1) document.write("</table>");
}

//----------------------------------------------------------
// Footer
//----------------------------------------------------------
function Footer(Path, Date, Home)
{
   if (Path == null) Path = "../";

   // If home page sitemeter code needs to be inserted in page to allow referal tracking
   if (Home == null)  
   {
      document.write("</td></tr></table><table cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td bgcolor=\"#0031ff\">");
      Sitemeter();
   }

   if ((Date != null) && (Home == null))
      document.write("  <font color=\"white\" size=\"1\">Updated " + Date + "</font>");
   document.write("</td><td align=\"center\" width=\"83%\"><font face=\"verdana\" size=\"1\">");

   document.write("Copyright &copy 2002-" + currentTime.getFullYear());

   document.write(" <!a href=\"mailto:bmd@webmartin.co.uk\"><b>WebMartin BMD</b></a>. All rights reserved.");
   document.write("</font></td></tr><tr><td colspan=\"2\"><img src=\"" + Path + "graphics/botbar.gif\" height=\"15\" width=\"755\">");
   document.write("</td></tr></tr><td></td><td align=\"center\">");
   document.write("</td></tr></table>");
}

//----------------------------------------------------------
// Nav_Bottom
//----------------------------------------------------------
function Nav_Bottom(GraphicsPath, HTMLPath, Blank)
{
   if (GraphicsPath == null) GraphicsPath = "../";
   if (HTMLPath == null) HTMLPath = "";

if (!Blank)
{
   document.write("<br><table border=\"0\">");
   document.write("<tr><td align=\"center\"><img src=\"" + GraphicsPath + "graphics/email.gif\" width=\"14\" length=\"10\" border=\"0\"></td><td><a href=\"" + HTMLPath + "contact.htm\">Contact</a></td></tr>");
   document.write("</table><br>");
}

   document.write("</td><td width=\"1\" bgcolor=\"red\"><img src=\"../graphics/linefeed.gif\" width=\"1\" height=\"1\"></td>");
   document.write("<td><img src=\"../graphics/linefeed.gif\" width=\"15\" height=\"1\"></td>");
   document.write("<td width=\"615\" valign=\"top\">");
}

//----------------------------------------------------------
// Main_Header
//----------------------------------------------------------
function Main_Header(Title, Credits)
{
   document.write("<br><table width=\"99%\" border=\"1\" cellspacing=\"5\" cellpadding=\"3\" bgcolor=\"#99CCFF\" bordercolor=\"#000000\">");
   document.write("<tr bgcolor=\"#6699FF\" bordercolor=\"#6699FF\"><td>");
   document.write("<div align=\"center\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#FFFFFF\" size=\"3\"><b>" + Title);

   if (Credits != "") 
      document.write("<br><font size=1>(" + Credits + ")</font></b>");

   document.write("</font></div>");
   document.write("</td></tr><tr bgcolor=\"#FFFFFF\"><td width=\"50%\" bgcolor=\"#FFFFFF\" valign=\"top\">");
   document.write("<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\"><tr><td align=\"center\">");
}

//----------------------------------------------------------
// Main_Footer
//----------------------------------------------------------
function Main_Footer()
{
   document.write("</td></tr></table>");
   document.write("</td></tr></table></center><br>");
}

//-->