<!-- // Hide


// *** CROSS-BROWSER COMPATIBILITY ***

var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
var isDyn = (isDOM || isIE4 || isNS4);


function getRef(id)
{
 if (isDOM) return document.getElementById(id);
 if (isIE4) return document.all[id];
 if (isNS4) return document.layers[id];
}

function getSty(id)
{
 return (isNS4 ? getRef(id) : getRef(id).style);
} 


// *** MOUSEOVER/OUT CONTROL FUNCTIONS ***

// Hide timeout.
var popTimer = 0;
// Arrays holding highlighted menu items.
var litNow = new Array();

function popOver(menuNum, itemNum)
{
 clearTimeout(popTimer);

 // Hide all other menus & dim old highlighted items, still showing this menu.
 hideAllBut(menuNum);

 // Get tree of parent menu items and light them up - global variable!
 litNow = getTree(menuNum, itemNum);
 changeCol(true);

 // Get target menu to show - if it's nonzero, position & show it.
 targetNum = menu[menuNum][itemNum].target;
 if (targetNum > 0)
 {
  // Get current menu position - menu position plus item position in menu.
  thisX = parseInt(menu[menuNum][0].ref.left) + parseInt(menu[menuNum][itemNum].ref.left);
  thisY = parseInt(menu[menuNum][0].ref.top) + parseInt(menu[menuNum][itemNum].ref.top);

  // Add those to the target's offset to set the target's position, show it.
  with (menu[targetNum][0].ref)
  {
   left = thisX + menu[targetNum][0].x;
   top = thisY + menu[targetNum][0].y;
   visibility = 'visible';
  }
 }
}

function popOut(menuNum, itemNum)
{
 // If it's a root menu item that doesn't trigger a popout, hide now, else set timeout
 // to hide all menus in 1/2 sec... remember, another mouseover clears the timeout.
 if ((menuNum == 0) && !menu[menuNum][itemNum].target) hideAllBut(0);
 else popTimer = setTimeout('hideAllBut(0)', 500);
}

function popClick(menuNum, itemNum)
{
 with (menu[menuNum][itemNum])
 {
  switch (type)
  {
   // A JavaScript function? Eval() it and break out of switch.
   case 'js:': { eval(href); break }
   // Otherwise, point to the window if nothing else and navigate.
   case '': type = 'window';
   default: eval(type + '.location.href = "' + href + '"');
  }
 }

 // Whatever happens, hide the menus when clicked.
 hideAllBut(0);
 return false;
}


function getTree(menuNum, itemNum)
{
 // Array index is the menu number. The contents are null (if that menu is not a parent)
 // or the item number in that menu that is an ancestor (to light it up).
 itemArray = new Array(menu.length);

 while(1)
 {
  itemArray[menuNum] = itemNum;
  // If we've reached the top of the hierarchy, return.
  if (menuNum == 0) return itemArray;
  itemNum = menu[menuNum][0].parentItem;
  menuNum = menu[menuNum][0].parentMenu;
 }
}

// Pass an array and a boolean to specify colour change, true = over colour.
// N.B: Uses global litNow array which contains items in hierarchy.
function changeCol(isOver)
{
 // Cycle through array searching for items to change.
 for (count = 0; count < litNow.length; count++)
 {
  // If item number is present, change its colour.
  if (litNow[count])
  {
   // Nest two WITH's, the last being more specific to allow item hover colours.
   with (menu[count][0]) with (menu[count][litNow[count]])
   {
    newCol = isOver ? overCol : backCol;

    // Change the colours of the div/layer background.
    if (isNS4) ref.bgColor = newCol;
    else ref.backgroundColor = newCol;
   }
  }
 }
}

function hideAllBut(menuNum)
{
 // Get array of parent menus (item numbers irrelevant, just pass '1').
 var keepMenus = getTree(menuNum, 1);

 // ...and work through it, hiding menus that are not its ancestors/itself.
 for (count = 0; count < menu.length; count++)
  if (!keepMenus[count]) menu[count][0].ref.visibility = 'hidden';

 // Dim all the items in litNow array.
 changeCol(false);
}


// *** MENU CONSTRUCTION FUNCTIONS ***


function Menu(isVert, popInd, x, y, width, pad, overCol, backCol, borderClass, textClass)
{
 // True or false - a vertical menu?
 this.isVert = isVert;
 // The popout indicator used (if any) for this menu.
 this.popInd = popInd
 // Position and size settings.
 this.x = x;
 this.y = y;
 this.width = width;
 this.pad = pad;
 // Colours of menu and items.
 this.overCol = overCol;
 this.backCol = backCol;
 // The stylesheet class used for item borders and the text within items.
 this.borderClass = borderClass;
 this.textClass = textClass;
 // Parent menu and item numbers, indexed later.
 this.parentMenu = null;
 this.parentItem = null;
 // Reference to the object's style properties (set later).
 this.ref = null;
}

function Item(text, href, type, length, spacing, target)
{
 this.text = text;
 this.href = href;
 this.type = type;
 this.length = length;
 this.spacing = spacing;
 this.target = target;
 // Reference to the object's style properties (set later).
 this.ref = null;
}

function createMenus()
{
 if (!isDyn) return;

 // Loop through menus, using properties of menu description object, i.e. x, y, width etc...
 for (currMenu = 0; currMenu < menu.length; currMenu++) with (menu[currMenu][0])
 {
  // Variable for holding HTML for items and positions of next item.
  var str = '', itemX = 0, itemY = 0;

  // In NS4, since borders are assigned to the table rather than layer, increase padding.
  if (isNS4) pad++;

  // Remember, items start from 1 in the array (0 is menu object itself, above).
  // Also use properties of each item nested in the other with() for construction.
  for (currItem = 1; currItem < menu[currMenu].length; currItem++) with (menu[currMenu][currItem])
  {
   var itemID = 'menu' + currMenu + 'item' + currItem;

   // The width and height of the menu item - dependent on orientation!
   var w = (isVert ? width : length);
   var h = (isVert ? length : width);

   // Create a div or layer text string with appropriate styles/properties.
   if (isDOM || isIE4)
   {
    str += '<div id="' + itemID + '" style="position: absolute; left: ' + itemX +
     '; top: ' + itemY + '; width: ' + w + '; height: ' + h + '; visibility: inherit; ';
    if (backCol) str += 'background: ' + backCol;
    str += '" ';
   }
   if (isNS4)
   {
    str += '<layer id="' + itemID + '" left="' + itemX + '" top="' + itemY + '" width="' + 
     w + '" height="' + h + '" visibility="inherit" ';
    if (backCol) str += 'bgcolor="' + backCol + '" ';
   }
   if (borderClass) str += 'class="' + borderClass + '" ';
   
   // Add mouseover and click handlers and finish div/layer.
   str += 'onMouseOver="popOver(' + currMenu + ',' + currItem + ')" onMouseOut="popOut(' +
     currMenu + ',' + currItem + ')" onClick="popClick(' + currMenu + ',' + currItem + ')">';



   // Add contents of item...

   if (target > 0)
   {
    // Set target's parents to this menu item.
    menu[target][0].parentMenu = currMenu;
    menu[target][0].parentItem = currItem;

    // Add a popout indicator - before text so it shows up below text in NS4.
    if (popInd)
    {
     if (isNS4) str += '<layer class="' + textClass + '" left="'+ (w - 15) + '" top="' +
      pad + '">' + popInd + '</layer>';
     else str += '<div class="' + textClass + '" style="position: absolute; left: ' + (w - 15) +
      '; top: ' + pad + '">' + popInd + '</div>';
    }
   }

   // For NS4, if a border is assigned a spacer table must be added to push border out to layer edges.
   // The text layer must completely overlay this table as well for proper click capturing.
   // Add a link both to generate an onClick event and to stop the ugly I-beam text cursor appearing.
   if (isNS4) str += (borderClass ? '<table width="' + (w - 8) + '" border="0" cellpadding="0" ' +
    'cellspacing="0"><tr><td height="' + (h - 8) + '"></td></tr></table>' : '') + 
    '<layer left="' + pad + '" top="' + pad + '" width="' + (w - pad) + '" height="' +
     (h - pad) + '"><a class="' + textClass + '" href="javascript:void(0)">' + text + '</a></layer>';
   // IE4+/NS6 is an awful lot easier to work with sometimes.
   else str += '<div class="' + textClass + '" style="position: absolute; left: ' + pad +
    '; top: ' + pad + '">' + text + '</div>';

   // Finish off item.
   str += (isNS4 ? '</layer>' : '</div>');

   // Move next item position down or across by this item's length and additional spacing.
   // Add or subtract one for partial solution to NS6 border problem.
   var shrink = (isDOM && !document.all ? -1 : 1)
   if (isVert) itemY += length + spacing - shrink;
   else itemX += length + spacing - shrink;

  // End loop through items and with([menu[currMenu][currItem]).
  }



  // Now, write the menu to the document depending on browser capabilities.
  // N.B: Still using properties of menu[currMenu][0] like 'ref' etc...
   
  // Insert a div tag to the end of the BODY with menu HTML in place for IE4+.
  if (document.all)
  {
   // Give a small width and height to stop IE4 sizing to full body. Thanks to Jeff Blum
   // for pointing this out. Also, thanks to Paul Maden for helping debug this, apparently
   // the width must be a miniumum of 3 for it to work in IE4.
   document.body.insertAdjacentHTML('beforeEnd', '<div id="menu' + currMenu + 'div" ' +
    'style="position: absolute; width: 3; height: 3; visibility: hidden">' + str + '</div>');
   ref = getSty('menu' + currMenu + 'div');
  }
  // In NS6+ or other DOM but non-IE browsers, create a new DIV node and add text...
  else if (isDOM)
  {
   var newDiv = document.createElement('div');
   document.body.appendChild(newDiv);
   newDiv.innerHTML = str;
   ref = newDiv.style;
    
   ref.position = 'absolute';
   ref.visibility = 'hidden';
  }
  // In NS4, create a reference to a new layer and write the items to it.
  else if (isNS4)
  {
   ref = new Layer(0);
   ref.document.write(str);
   ref.document.close();
  }

  // Chuck some positions in here. Only really relevant for root menu.
  ref.left = x;
  ref.top = y;
  // Set the default cursor for the menu to be the hand (or 'pointer' if you're the W3C or
  // Mozilla Project and just trying to be difficult :)...
  if (!isNS4) ref.cursor = (document.all ? 'hand' : 'pointer');

  // Now items have been written, loop through them again to set up references.
  for (currItem = 1; currItem < menu[currMenu].length; currItem++)
  {
   itemName = 'menu' + currMenu + 'item' + currItem;
   if (isDOM || isIE4) menu[currMenu][currItem].ref = getSty(itemName);
   if (isNS4)
   {
    menu[currMenu][currItem].ref = ref.document[itemName];
    // Also capture clicks on that item layer's document...
    with (ref.document[itemName])
    {
     document.captureEvents(Event.CLICK);
     document.onclick = new Function('popClick(' + currMenu + ', ' + currItem + ')');
    }
   }
  }

 // End loop through menus and with (menu[currMenu][0]).
 }

 // *** CENTRING FUNCTION ***  Uncomment this to centre menus.
 //resizeHandler()

 // Show the root menu now that's all over. Phew!
 menu[0][0].ref.visibility = 'visible';
}





// Syntaxes:    *** START EDITING HERE, READ THIS SECTION CAREFULLY! ***
//
// menu[menuNumber][0] = new Menu(Vertical menu? (true/false), 'popout indicator', left, top,
// width, padding, 'hover colour', 'background colour', 'border stylesheet', 'text stylesheet');
//
// Left and Top are measured on-the-fly relative to the top-left corner of its trigger, or
// for the root menu, the top-left corner of the page.
//
// menu[menuNumber][itemNumber] = new Item('Text', 'URL', 'link type', length of menu item,
//  additional spacing to next menu item, number of target menu to popout);
//
// If no target menu (popout) is desired, set it to 0. Likewise, if your site does not use
// frames, pass an empty string as a frame target. The 'colItem' function call in the 'Reopen'
// sample menu is an example constructor, see below in the 'Optional Code' section.
//
// Something that needs explaining - the Vertical Menu setup. You can see most menus below
// are 'true', that is they are vertical, except for the first root menu. The 'length' and
// 'width' of an item depends on its orientation -- length is how long the item runs for in
// the direction of the menu, and width is the lateral dimension of the menu. Just look at
// the examples and tweak the numbers, they'll make sense eventually :).
//
// Something else - the 'link type'. Introduced in v2.0, it was originally the name of a
// target frame. Now, you specify an empty string to open the URL in the current window, 'js:'
// to specify a JavaScript function, or a valid reference to a window/frame, e.g.
// 'top.leftFrame' or 'parent.popupWin'. Thanks to Martin J. Cole for suggesting the syntax!

var menu = new Array();

// Default colours passed to most menu constructors (just passed to functions, not
// a global variable - makes things easier to change later in bulk).
var defOver = '#EEEEFF', defBack = '#80FFFF', rootBack = '8090ff';

// Default position of root menu.
var rootXpos = 15, rootYpos = 10;

// Default 'length' of menu items - item height if menu is vertical, width if horizontal.
var defLen = 23;


// Menu 0 is the special, 'root' menu from which everything else arises and is positioned.

menu[0] = new Array();

// A non-vertical menu, different coloured menu with no popout indicator, background or border.
// *** MOVE THE MENU AROUND HERE, SEE BELOW FOR CENTRING FUNCTION ***
// It's positioned at (x = 5, y = 0) and is 17px high now, with 0px padding.

menu[0][0] = new Menu(false, '', rootXpos, rootYpos, 17, 0, defOver, rootBack, '', 'itemText');

// Notice how the targets are all set to nonzero values...
// The 'length' of each of these items is 40, and there is spacing of 10 to the next item.
// Most of the links are set to '#' hashes, make sure you change them to actual files.

























// MMMMMM          MMMMMM      EEEEEEEEEEEEEE      NNNNN      NNNN      UUUU        UUUU
// MMMMMMM        MMMMMMM      EEEEEEEEEEEEEE      NNNNNN     NNNN      UUUU        UUUU
// MMMMMMMM      MMMMMMMM      EEEEEEEEEEEEEE      NNNNNNN    NNNN      UUUU        UUUU
// MMMMMMMMM    MMMMMMMMM      EEEE                NNNNNNNN   NNNN      UUUU        UUUU
// MMMM MMMMM  MMMMM MMMM      EEEEEEEEE           NNNNNNNN   NNNN      UUUU        UUUU
// MMMM  MMMMMMMMMM  MMMM      EEEEEEEEE           NNNN NNNN  NNNN      UUUU        UUUU
// MMMM   MMMMMMMM   MMMM      EEEEEEEEE           NNNN  NNNN NNNN      UUUU        UUUU
// MMMM    MMMMMM    MMMM      EEEE                NNNN   NNNNNNNN      UUUU        UUUU
// MMMM     MMMM     MMMM      EEEEEEEEEEEEEE      NNNN    NNNNNNN      UUUUU      UUUUU
// MMMM              MMMM      EEEEEEEEEEEEEE      NNNN     NNNNNN       UUUUUUUUUUUUUU
// MMMM              MMMM      EEEEEEEEEEEEEE      NNNN      NNNNN        UUUUUUUUUUUU


// THIS IS THE SECTION YOU'RE LOOKING FOR!!!



// menu[#][#] = new Item('NAME', 'URL (if none, use "#")', 'IGNORE (unless opening in new window - use "js:")', WIDTH OF MENU, KEEP @5, MENU #);


// ***********************************************************************************************************
// MAIN menu

menu[0][1] = new Item('&nbsp;	Home		  			', 'index.htm'			   		, ''	, 45	, 5	, 0);
menu[0][2] = new Item('&nbsp;	General					', '#'					   		, ''	, 65	, 5	, 1);
// menu[0][3] = new Item('&nbsp;	History				', '#'					   		, ''	, 58	, 5	, 2);
menu[0][3] = new Item('&nbsp;	Small Ads				', 'smtc-small-ads.htm'	   		, ''	, 85 	, 5	, 0);
menu[0][4] = new Item('&nbsp;	Meetings				', '#'					   		, ''	, 115	, 5	, 13);
//menu[0][5] = new Item('&nbsp;	Bookings		   		', 'smtc-bookings.htm'	   		, ''	, 105 	, 5	, 0);
menu[0][5] = new Item('&nbsp;	Bookings		   		', 'smtc-online-booking.htm'	, ''	, 105 	, 5	, 0);
//menu[0][6] = new Item('&nbsp;	<img src="./images/new.gif" align=middle>Events	   ', 'smtc-events.htm			'	, ''	, 85	, 5	, 0);
menu[0][6] = new Item('&nbsp;	Events					', 'smtc-events.htm		   '	, ''	, 85	, 5	, 0);
menu[0][7] = new Item('&nbsp;	Friends of the Temple	', 'smtc-friends.htm	   '	, ''	, 135	, 5	, 0);
menu[0][8] = new Item('&nbsp;	Read & Sign Guestbook	', 'http://guestbook.mastermason.com/solihullmasonictemple'	, '', 155, 5, 0);
menu[0][9] = new Item('&nbsp;	<img src="./images/new.gif" align=middle>NEWS!	   ', 'smtc-news.htm			'	, ''	, 85	, 5	, 0);
//menu[0][8] = new Item('&nbsp;	Newsletters				', 'smtc-newsletters.htm   '	, ''	, 105	, 5	, 0);
//menu[0][9] = new Item('&nbsp;	Meetings Calendar		', '#'					   		, ''	, 125	, 5	, 2);
//menu[0][9] = new Item('&nbsp;	Meetings Calendar		', 'smtc-lodge-calendar.htm'	, ''	, 125	, 5	, 0);

// ***********************************************************************************************************




// ***********************************************************************************************************
// GENERAL menu

menu[1] = new Array();
menu[1][0] = new Menu(true, '&gt;', 0, 22, 200, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[1][1] = new Item('Contact Details			', 'smtc-contact.htm'	            	, '', defLen, 0, 0);
menu[1][2] = new Item('Membership distribution	', 'smtc-distribution.htm'				, '', defLen, 0, 0);
menu[1][3] = new Item('Privacy Policy			', 'smtc-privacy.htm'					, '', defLen, 0, 0);
//menu[1][4] = new Item('Read & Sign Guestbook	', 'http://guestbook.mastermason.com/solihullmasonictemple'	, '', defLen, 0, 0);
//menu[1][5] = new Item('Extension Photos			', 'smtc-extension.htm'					, '', defLen, 0, 0);

// ***********************************************************************************************************



// ***********************************************************************************************************
// CALENDAR menu

menu[2] = new Array();
menu[2][0] = new Menu(true, '&gt;', 165, 0, 195, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[2][1] = new Item('Overview Calendar		', 'smtc-lodge-calendar.htm	'	   			, '', defLen, 0, 0);
menu[2][2] = new Item('Detalied Monthly Calendar', 'smtc-google-calendar.htm'     			, '', defLen, 0, 0);
//menu[2][3] = new Item('		', 'history-		'    				, '', defLen, 0, 0);
//menu[2][4] = new Item('		', 'history-		'   				, '', defLen, 0, 0);
//menu[2][5] = new Item('		', 'history-		'   				, '', defLen, 0, 0);
//menu[2][6] = new Item('		', 'history-		'   				, '', defLen, 0, 0);
//menu[2][7] = new Item('		', 'history-		'     			, '', defLen, 0, 0);


// ***********************************************************************************************************




// ***********************************************************************************************************
// CRAFT LODGES menu

menu[3] = new Array();
menu[3][0] = new Menu(true, '&gt;', 165, 0, 150, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[3][1]  = new Item('Lodge of Alliance	5811', 'craft-alliance.htm			'	, '', defLen, 0, 0);
menu[3][2]  = new Item('Archimedes 3802			', 'craft-archimedes.htm		'	, '', defLen, 0, 0);
menu[3][3]  = new Item('Benevolence 4035		', 'craft-benevolence.htm		'	, '', defLen, 0, 0);
menu[3][4]  = new Item('Chevron 6021			', 'craft-chevron.htm			'	, '', defLen, 0, 0);
menu[3][5]  = new Item('Emulation 1163			', 'craft-emulation.htm			'	, '', defLen, 0, 0);
menu[3][6]  = new Item('Forest of Arden 3826	', 'craft-forest-of-arden.htm	'	, '', defLen, 0, 0);
menu[3][7]  = new Item('Heart of England 6549	', 'craft-heart-of-england.htm  '	, '', defLen, 0, 0);
menu[3][8]  = new Item('Holte	1246			', 'craft-holte.htm				'	, '', defLen, 0, 0);
menu[3][9]  = new Item('Junior Chamber	8902	', 'craft-junior-chamber.htm	'	, '', defLen, 0, 0);
menu[3][10] = new Item('Knowle 8001				', 'craft-knowle.htm			'	, '', defLen, 0, 0);
menu[3][11] = new Item('Linwood 9632			', 'craft-linwood.htm			'	, '', defLen, 0, 0);
menu[3][12] = new Item('Oaks of Arden 7601		', 'craft-oaks-of-arden.htm  	'	, '', defLen, 0, 0);
menu[3][13] = new Item('Prometheus 4209			', 'craft-prometheus.htm	    '	, '', defLen, 0, 0);
menu[3][14] = new Item('Silhill 4786			', 'craft-silhill.htm			'	, '', defLen, 0, 0);
menu[3][15] = new Item('Solihull	8088		', 'craft-solihull.htm			'	, '', defLen, 0, 0);
menu[3][16] = new Item('St Alphege 1431			', 'craft-st-alphege.htm		'	, '', defLen, 0, 0);
menu[3][17] = new Item('Vellum 5845				', 'craft-vellum.htm			'	, '', defLen, 0, 0);
menu[3][18] = new Item('Warwickshire Scout 9648	', 'craft-warwickshire-scout.htm'	, '', defLen, 0, 0);

// ***********************************************************************************************************




// ***********************************************************************************************************
// OTHER ORDERS menu

menu[4] = new Array();
menu[4][0] = new Menu(true, '&gt;', 165, 0, 165, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[4][1] =  new Item('Royal Arch				', '#'	, '', defLen, 0, 6);
menu[4][2] =  new Item('Mark					', '#'	, '', defLen, 0, 7);
menu[4][3] =  new Item('Royal Ark Mariners		', '#'	, '', defLen, 0, 8);
menu[4][4] =  new Item('Rose Croix				', '#'	, '', defLen, 0, 9);
menu[4][5] =  new Item('Royal & Select Masters	', '#'	, '', defLen, 0, 10);
menu[4][6] =  new Item('Knights Templar			', '#'	, '', defLen, 0, 11);
menu[4][7] =  new Item('Knights Templar priests	', '#'	, '', defLen, 0, 12);
menu[4][8] =  new Item('Red Cross of Constantine', '#'	, '', defLen, 0, 14);

// ***********************************************************************************************************

// ***********************************************************************************************************
// EVENTS menu

menu[5] = new Array();
menu[5][0] = new Menu(true, '&gt;', 0, 22, 110, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[5][1] =  new Item('		', 'events/		'	   			, '', defLen, 0, 0);
menu[5][2] =  new Item('		', 'events/		'	   			, '', defLen, 0, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// ROYAL ARCH menu

menu[6] = new Array();
menu[6][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[6][1] =  new Item('Archimedes Chapter 3802			', 'ra-archimedes-chapter.htm		'	, '', defLen, 0, 0);
menu[6][2] =  new Item('Fletcher Chapter 1031			', 'ra-fletcher-chapter.htm 		'	, '', defLen, 0, 0);
menu[6][3] =  new Item('Forest of Arden Chapter 3826	', 'ra-forestofarden-chapter.htm	'	, '', defLen, 0, 0);
menu[6][4] =  new Item('Knowle Chapter	8001			', 'ra-knowle-chapter.htm			'	, '', defLen, 0, 0);
menu[6][5] =  new Item('Junior Chamber Chapter 8902		', 'ra-juniorchamber-chapter.htm	'	, '', defLen, 0, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// MARK menu

menu[7] = new Array();
menu[7][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[7][1] =  new Item('Silhill Lodge 972	', 'mmm-silhill.htm		'	, '', defLen, 0, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// Royal Ark Mariner menu

menu[8] = new Array();
menu[8][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[8][1] =  new Item('Silhill Lodge 972	', 'ram-silhill.htm		'	, '', defLen, 0, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// Rose Croix Menu

menu[9] = new Array();
menu[9][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[9][1] =  new Item('Greswolde Chapter 851	  	', 'rc-greswolde.htm		'	, '', defLen, 0, 0);
menu[9][2] =  new Item('Silhill Chapter 937			', 'rc-silhill.htm		'	, '', defLen, 0, 0);
menu[9][3] =  new Item('St Alphege Chapter 540		', 'rc-stalphege.htm		'	, '', defLen, 0, 0);
menu[9][4] =  new Item('Temple Balsall Chapter 979	', 'rc-templebalsall.htm'	, '', defLen, 0, 0);

// ***********************************************************************************************************


// ***********************************************************************************************************
// Royal & Select Masters Menu

menu[10] = new Array();
menu[10][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[10][1] =  new Item('Warwickshire Council 148	', 'rsm-warwickshire.htm		'	, '', defLen, 0, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// Knights Templar Menu

menu[11] = new Array();
menu[11][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[11][1] =  new Item('St. Alphege Preceptory	529', 'kt-stalphege.htm		'	, '', defLen, 0, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// Knights Templar Priests Menu

menu[12] = new Array();
menu[12][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[12][1] =  new Item('St. Alphege Tabernacle	128', 'ktp-stalphege.htm		'	, '', defLen, 0, 0);

// ***********************************************************************************************************
// ***********************************************************************************************************
// Meetings Menu

menu[13] = new Array();
menu[13][0] = new Menu(true, '&gt;', 0, 20, 160, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[13][1] = new Item('&nbsp;	Meetings Calendar		', '#'					 		, ''	, defLen	, 0	, 2);
menu[13][2] = new Item('&nbsp;	Craft Lodges			', '#'							, ''	, defLen	, 0	, 3);
menu[13][3] = new Item('&nbsp;	Other Orders   			', '#'							, ''	, defLen	, 0	, 4);
menu[13][4] = new Item('&nbsp;	Menu Selection 			', 'smtc-menu.htm'	 			, ''	, defLen	, 0	, 0);

// ***********************************************************************************************************

// ***********************************************************************************************************
// Red Cross of Constantine Menu

menu[14] = new Array();
menu[14][0] = new Menu(true, '&gt;', 170, 0, 175, 3, defOver, defBack, 'itemBorder', 'itemText');

menu[14][1] =  new Item('Knowle Conclave 484', 'rcc-knowle.htm		'	, '', defLen, 0, 0);

// ***********************************************************************************************************



// Here, we handle the onLoad and onResize events. If you are combining this script with
// other scripts that use these events, shift these declarations to the BODY tag.

window.onload = createMenus;
window.onresize = resizeHandler;



// *** OPTIONAL CODE FROM HERE DOWN ***

// This handles the window resize bug in NS4, and optionally centres your menus. I suggest
// leaving this here as otherwise when you resize NS4 horizontally menus are hidden.

var popOldWidth = window.innerWidth;
function resizeHandler()
{
 if (isNS4 && popOldWidth != window.innerWidth) location.reload()

 // Uncomment these next lines to *** CENTRE/RIGHT ALIGN YOUR MENU ***
 // You must also uncomment the resizeHandler() call at the end of createMenus() above.
 // Edit this expression to anything you want -- note the menu width is hard-coded :).

 //var winWidth = (document.all ? document.body.clientWidth : window.innerWidth)
 //menu[0][0].ref.left = (winWidth / 2) - 100;
}


// Optional 'coloured item' object you can add to your menu array. Use to create individual
// mouseover colours for items in a menu rather than have them all the same.
// Delete this if you aren't using it, it's not necessary.
function colItem(text, href, type, length, spacing, overCol, backCol, target)
{
 this.text = text;
 this.href = href;
 this.type = type;
 this.length = length;
 this.spacing = spacing;
 this.overCol = overCol;
 this.backCol = backCol;
 // If you want, add borderClass and textClass in here too. Make sure to add them as
 // parameter to this function above! You can add most parameters of the 'menu' object
 // used in writing menus to the document, such as popout indicators if you want.
 // Alternatively, it could be simpler to just use a bit of JS: menu[x][y].popInd = '...';
 // before creating the menus.
 this.target = target;
 this.ref = null;
}


// End Hide -->