<!--

var aTitles    = new Array()
var aLinks     = new Array()
var aIcons     = new Array()
var aSubMenus  = new Array()

// ---------------------------------------------------------------------------------------------------------------------------
function EmailSpamPreventer(sPrefix,sName,sUsername,sDomain,sClass) {

  var sTitle     = '';
  var sThisName  = '';
  var sThisClass = '';

  if (!sName) {
    sTitle    = sUsername + '@' + sDomain;
    sThisName = 'here';
  } else {
    sTitle    = sName;
    sThisName = sName;
  }

  if (sPrefix) {
    sTitle = sPrefix + ' ' + sTitle;
  }

  if (sClass) {
    sThisClass = "class=\"" + sClass + "\" ";
  } else {
    sThisClass = "class=\"a\" ";
  }

  document.write("<a " + sThisClass + "title=\"Please click here to send an email to " + sTitle +"\" ");
  document.write("onmouseover=\"window.status='wibble';\" onmouseout=\"window.status='wobble'\" ");
  document.write("href=\"mailto");
  document.write(":" + sUsername + "@");
  document.write(sDomain + "\">" + sThisName + "<\/a>");
}

// ---------------------------------------------------------------------------------------------------------------------------
function DrawMenu(iIndex) {

    document.write("<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">" + 
                   "  <tbody>" +
                   "    <tr>" +
                   "      <td width=\"80\" background=\"emergencies_files/left_corner.gif\" height=\"16\"><img alt src=\"emergencies_files/clear.gif\" width=\"1\" height=\"1\"></td>" +
                   "      <td><img alt src=\"emergencies_files/clear.gif\" width=\"1\" height=\"1\"></td>" +
                   "    </tr>");

    for (var i=0; i < aTitles.length; i++) {
      document.write("    <tr>" +
                     "      <td><img height=\"25\" alt src=\"" + aIcons[i] + "\" width=\"64\"></td>");

      if (iIndex == i) {
        document.write("      <td><a class=\"mainmenuactive\" href=\"" + aLinks[i] + "\">" + aTitles[i] + "</a></td>");
      } else {
        document.write("      <td><a class=\"mainmenu\" href=\"" + aLinks[i] + "\">" + aTitles[i] + "</a></td>");
      }

      document.write("    </tr>" +
                     "    <tr>" +
                     "      <td>&nbsp;</td>" +
                     "      <td>&nbsp;</td>" +
                     "    </tr>");
    };

    document.write("  </tbody>" +
                   "</table>");

}

// ---------------------------------------------------------------------------------------------------------------------------


  aTitles[0] = "Welcome";
  aLinks[0]  = "/Default.asp";
  aIcons[0]  = "/Images/Icons/Info.gif";

  aTitles[1] = "Market Research";
  aLinks[1]  = "/Market.Research/Default.asp";
  aIcons[1]  = "/Images/Icons/lightbulb.gif";

  aTitles[2] = "Information Technology";
  aLinks[2]  = "/IT/Default.asp";
  aIcons[2]  = "/Images/Icons/Info.gif";

  aTitles[3] = "Clients";
  aLinks[3]  = "/Clients.asp";
  aIcons[3]  = "/Images/Icons/Info.gif";
  
  aTitles[4] = "Useful Links";
  aLinks[4]  = "/Links/Default.asp";
  aIcons[4]  = "/Images/Icons/Info.gif";

-->