<!--// dynamic menu content // modified by klokie on 10.12.2002 // klokie.com
// determine current working directory from URL

if (  (location.pathname.lastIndexOf("200102")>-1)
    || (location.pathname.lastIndexOf("200203")>-1)
    || (location.pathname.lastIndexOf("200304")>-1)
    || (location.pathname.lastIndexOf("200405")>-1)
    || (location.pathname.lastIndexOf("200506")>-1)  
    || (location.pathname.lastIndexOf("200607")>-1)  
    || (location.pathname.lastIndexOf("200708")>-1)  
    || (location.pathname.lastIndexOf("200809")>-1)  
    || (location.pathname.lastIndexOf("200910")>-1)  
    || (location.pathname.lastIndexOf("bristol2006")>-1)  
    || (location.pathname.lastIndexOf("cardiff2005")>-1)  
    || (location.pathname.lastIndexOf("edinburgh2004")>-1)  
    || (location.pathname.lastIndexOf("edinburgh")>-1)  
    || (location.pathname.lastIndexOf("dublin")>-1)  
    || (location.pathname.lastIndexOf("dublin2003")>-1)  
    || (location.pathname.lastIndexOf("southwold2005")>-1)  
    || (location.pathname.lastIndexOf("southwold2006")>-1)  
    || (location.pathname.lastIndexOf("200708")>-1)  
    || (location.pathname.lastIndexOf("shape2002")>-1) 
    || (location.pathname.lastIndexOf("southwold2007")>-1) 
    || (location.pathname.lastIndexOf("southwold2008")>-1) 
    || (location.pathname.lastIndexOf("edinburgh2008")>-1)  )
{ 
  // we are in a subdirectory below the root
  pathToRoot = "../../";
} else {
  pathToRoot = "";
}

function menuLink(someURL)
{ // return a menu action given a URL
  return ("location='" + pathToRoot + someURL + "'");
}

// create the dropdown menus dynamically
function mmLoadMenus()
{ 
if (window.menu_0127122928_0) return;

//About us
  window.menu_0127122928_0 = new Menu("root",100,24,"Verdana,Arial,Helvetica,sans-serif",11,"#FFFFFF","#FFFFFF","#8B908C", "#BE7C92","left","middle",0,0,5000,1,0,true,true,true,10,true,false);
  menu_0127122928_0.addMenuItem("About&nbsp;Us",menuLink("aboutus.htm"));
  menu_0127122928_0.addMenuItem("Find&nbsp;Us",menuLink("findus.htm"));
  menu_0127122928_0.addMenuItem("Contact&nbsp;Us",menuLink("contactus.htm"));
  menu_0127122928_0.addMenuItem("The&nbsp;Team",menuLink("ourteam.htm"));
  menu_0127122928_0.addMenuItem("Old&nbsp;B's",menuLink("beccs-ladies.htm"));
  menu_0127122928_0.addMenuItem("Captains",menuLink("captains.htm"));
  
//Fixtures
  window.menu_0127125550_0= new Menu("root",110,24,"Verdana,Arial,Helvetica,sans-serif",11,"#FFFFFF","#FFFFFF","#8B908C", "#BE7C92","left","middle",0,0,5000,1,0,true,true,true,10,true,false);
  menu_0127125550_0.addMenuItem("Fixtures/Results",menuLink("fixtures.htm"));
  menu_0127125550_0.addMenuItem("Reports",menuLink("reports.htm"));
  menu_0127125550_0.addMenuItem("Statistics",menuLink("stats.htm"));

//News
  window.menu_0127125540_0 = new Menu("root",80,24,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#8B908C","#BE7C92","left","middle",0,0,5000,1,0,true,true,true,10,true,false);
  menu_0127125540_0.addMenuItem("News",menuLink("news.htm"));
  menu_0127125540_0.addMenuItem("Diary",menuLink("diary.htm"));
  menu_0127125540_0.addMenuItem("Tours",menuLink("tours.htm"));

//Photos 
window.menu_0127130203_0 = new Menu("root",138,24,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#8B908C","#BE7C92","left","middle",0,0,5000,1,0,true,true,true,10,true,false);
  menu_0127130203_0.addMenuItem("Matches",menuLink("matches.htm"));
  menu_0127130203_0.addMenuItem("Socials",menuLink("socials.htm"));
  menu_0127130203_0.addMenuItem("Tours",menuLink("tours.htm"));
  menu_0127130203_0.addMenuItem("End of Season",menuLink("eos.htm"));
 
//message board
 window.menu_0917111350_0 = new Menu("root",139,24,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#8B908C","#BE7C92","left","middle",0,0,5000,1,0,true,true,true,10,true,false);
  menu_0917111350_0.addMenuItem("Other&nbsp;Links",menuLink("links.htm"));
  menu_0917111350_0.addMenuItem("Site&nbsp;Map",menuLink("sitemap.htm"));
  
menu_0917111350_0.writeMenus();
  

} 
mmLoadMenus();
// draw inline

//-->
