var menulink = new Array()
var menutext = new Array()

menulink[0] = "index.htm"
menutext[0] = "Home"

menulink[1] = "officers.htm"
menutext[1] = "Officers"

menulink[2] = "becomemember.htm"
menutext[2] = "Become a Member"

menulink[3] = "newsandevents.htm"
menutext[3] = "News & Events"

menulink[4] = "cal-2008-07.htm"
menutext[4] = "Calendar"

menulink[5] = "contactus.htm"
menutext[5] = "Contact Us"

menulink[6] = ""
menutext[6] = "<img border='0' src='links.jpg'>"

menulink[7] = "http://lionslighthouse.org/ll/index.php/"
menutext[7] = "Lighthouse Foundation"

menulink[8] = "http://glcb.org/"
menutext[8] = "Camp for the Blind"

menulink[9] = "http://www.leaderdog.org/"
menutext[9] = "Leader Dogs"

menulink[10] = "http://www.lionsclubs.org/EN/index.shtml"
menutext[10] = "Lions International"

menulink[11] = "http://www.18alions.com/Lions_Clubs_District_18-A/Welcome.html"
menutext[11] = "Lions of District 18-A"

menulink[12] = "http://galions.org/"
menutext[12] = "Multiple District 18"

menulink[13] = "";
menutext[13] = "<img border='0' src='membersonly2.jpg'>"

menulink[14] = "directory/index.php"
menutext[14] = "&nbsp;Online Directory"

menulink[15] = "http://eclions.org/photos/photos.htm"
menutext[15] = "&nbsp;Photo Gallery"

function genmenu(){
var mdate = new Date()
var mmonth = mdate.getMonth()+1
if (mmonth < 10) mmonth = '0' + new String(mmonth)
var myear = mdate.getFullYear()
menulink[4] = 'cal-' + myear + '-' + mmonth + '.htm'
document.write('<table align="center" style="font-family: Arial; font-size: 10pt; font-weight: bold; border-collapse:collapse" border="0" width="90%" bordercolor="#111111" cellpadding="2">')

for (i=0;i<menulink.length;i++){
if (menulink[i]=="" && menutext[i]!=""){
  document.write('<tr><td>'+menutext[i]+'</td></tr>')
  }
else if (menulink[i]=="" && menutext[i]==""){
  document.write('<tr><td width="100%">&nbsp</td></tr>')
  }
else{  					
  document.write('<tr><td width="100%"><a class="menu" href="'+menulink[i]+'">'+menutext[i]+'</a></td></tr>')
  }
}
document.write('</table>')
}

