function drawMenu2()
{
    document.write('<table class=boxx-nav width="460">');
    document.write('<tr>');
    document.write("<td width='28%' align=center nowrap><a class='menu' id='001' href='/certification/index.php'>CERTIFICATION</a></td>");
    document.write("<td width='28%' align=center nowrap><a class='menu' id='002' href='/participate/index.html'>PARTICIPATE</a></td>");
    document.write("<td width='25%' align=center nowrap><a class='menu' id='003' href='/resources/index.html'>RESOURCES</a></td>");
    document.write("<td align=center nowrap><a class='menu' id='004' href='/about/index.html'>ABOUT</a></td>");
    document.write('</tr>');
    document.write('</table>');

  if (TransMenu.isSupported())
  {
    var ms = new TransMenuSet(TransMenu.direction.down, 0, 4, TransMenu.reference.bottomLeft);
    
    var menu1 = ms.addMenu(document.getElementById("001"));
    menu1.addItem("certified events", "/certification/events.php");
    menu1.addItem("standards", "/certification/standards.php");
    menu1.addItem("how to certify", "/certification/process.html");
    menu1.addItem("why certify?", "/certification/why.html");
    menu1.addItem("account login", "/cert/login.html");

    var menu2 = ms.addMenu(document.getElementById("002"));
    menu2.addItem("get involved", "/participate/howto.html");
    menu2.addItem("become a ReSport member", "/participate/support.html");
    menu2.addItem("Founders Circle", "/participate/founders.html");
    menu2.addItem("athlete petition", "/participate/athletes.php");
    menu2.addItem("event director petition", "/participate/directors.php");

    var menu3 = ms.addMenu(document.getElementById("003"));
    menu3.addItem("case studies", "/resources/case_studies.html");
    menu3.addItem("documents", "/resources/documents.html");
    menu3.addItem("tools", "/resources/tools.html");
    menu3.addItem("websites", "/resources/links.html");
    menu3.addItem("equipment share", "/resources/share.php");

    var menu4 = ms.addMenu(document.getElementById("004"));
    menu4.addItem("who we are", "/about/who.html");
    menu4.addItem("latest news", "/about/news.html");
    menu4.addItem("in the news", "/about/in_the_news.html");
    menu4.addItem("testimonials", "/about/testimonials.html");
    menu4.addItem("Board of Directors", "/about/board.html");
    menu4.addItem("advisors", "/about/advisors.html");
    menu4.addItem("contact us", "/about/contact.html");
    
    TransMenu.renderAll();
  }
}

function drawMenu()
{
    document.write('<table cellpadding=0 cellspacing=0 border=0 width=520>');
    document.write('<tr>');
    document.write("<td align=center nowrap><a class='menu' id='001' href='/certification/index.php'>Certification</a></td>");
    document.write("<td align=center nowrap><a class='menu' id='002' href='/events/index.html'>Events</a></td>");
    document.write("<td align=center nowrap><a class='menu' id='003' href='/participate/index.html'>Participate</a></td>");
    document.write("<td align=center nowrap><a class='menu' id='004' href='/resources/index.html'>Resources</a></td>");
    document.write("<td align=center nowrap><a class='menu' id='005' href='/media/index.html'>Media</a></td>");
    document.write("<td align=center nowrap><a class='menu' id='006' href='/about/index.html'>About</a></td>");
    document.write('</tr>');
    document.write('</table>');

  if (TransMenu.isSupported())
  {
    var ms = new TransMenuSet(TransMenu.direction.down, 0, 4, TransMenu.reference.bottomLeft);
    
    var menu1 = ms.addMenu(document.getElementById("001"));
    menu1.addItem("the problem", "/certification/problem.html");
    menu1.addItem("five metrics", "/certification/metrics.html");
    menu1.addItem("why certify?", "/certification/why.html");
    menu1.addItem("how to certify", "/certification/process.html");
    menu1.addItem("standards", "/certification/standards.php");
    menu1.addItem("account login", "/cert/login.html");
    
    var menu2 = ms.addMenu(document.getElementById("002"));
    menu2.addItem("pilot program", "/events/pilot.html");
    menu2.addItem("certified events", "/events/events.php");
    menu2.addItem("Resport membership", "/events/members.html");

    var menu3 = ms.addMenu(document.getElementById("003"));
    menu3.addItem("how to participate", "/participate/howto.html");
    menu3.addItem("athlete petition", "/participate/athletes.php");
    menu3.addItem("event director petition", "/participate/directors.php");
    menu3.addItem("support ReSport", "/participate/support.html");

    var menu4 = ms.addMenu(document.getElementById("004"));
    //menu4.addItem("supply sources", "/resources/supplies.html");
    menu4.addItem("documents", "/resources/documents.html");
    menu4.addItem("tools", "/resources/tools.html");
    menu4.addItem("website links", "/resources/links.html");
    menu4.addItem("equipment share", "/resources/share.php");

    var menu5 = ms.addMenu(document.getElementById("005"));
    menu5.addItem("press releases", "/media/releases.html");
    menu5.addItem("in the news", "/media/in_the_news.html");

    var menu6 = ms.addMenu(document.getElementById("006"));
    menu6.addItem("who we are", "/about/who.html");
    menu6.addItem("advisors", "/about/advisors.html");
    menu6.addItem("testimonials", "/about/testimonials.html");
    menu6.addItem("contact us", "/about/contact.html");
    
    TransMenu.renderAll();
  }
}

function createMenu()
{
  if (TransMenu.isSupported())
  {
	TransMenu.initialize();
  }
}
