// Array Function

function makeArray() {
var args = makeArray.arguments;
    for (var i = 0; i < args.length; i++) {
    this[i] = args[i];
    }
this.length = args.length;
}

// This array holds the descriptions and names of the pages.
var pages = new makeArray("Select a Page",
                          		"Home",
                          		"Committees",
                          		"Military Order of Devil Dogs",
					"Our Fallen Members",
                         		"About the League",
                         		"Mission Statement",
                          		"Story of Creation",
					"Pictures",
                          		"2004 Events",
                          		"Presentation of Charter Ceremony",
                          		"Presentation of Charter Guests",
                          		"Marine Corps Birthday",
                         		"2004 Toys For Tots Program",
	        		"2004 Toys For Tots - Food Stand",
	        		"2004 Toys For Tots - Santa Claus",
	        		"2005 Events",
			 "Installation of Officers 2005",
			 "2005 Installation - Members",
			 "2005 Birthday Ball",
			 "2005 Toys For Tots Program",
			 "2005 Toys For Tots - Food Stand",
			 "2005 Toys For Tots - Santa Claus",
			 "First Annual Picnic 2006",
			 "Memorial Day 2006",
			 "Bond County Fair 2006",
			 "Veterans Day 2006",
			 "Marine Corps Birthday 2006",
			 "2006 Trees For Troops",
			 "2006 Toys For Tots Program",
			 "2006 Toys For Tots - Food Stand",
			"2006 Toys For Tots - Santa Claus",
			"2007 Installation of Officers",
			"2007 Memorial Day",
			"2007 MCL State Convention",
			"2007 Detachment Picnic",
			"2007 Bond County Fair",
			"2007 Veterans Day Events",
			"Marine Corps Birthday 2007",
			"2007 Trees For Troops",
			"2007 Christmas at the Tree Farm",
			"2007 Santa Claus at the Tree Farm",
			"2008 Installation of Officers",
			"2008 Memorial Day",
			"2008 Hot Dog Wagon",
			"2008 Family Picnic",
			"2008 Vietnam Wall",
			"2008 Bond County Fair",
			"The Wall in Greenville");

// This array hold the URLs of the pages.
var urls = new makeArray("",
                         "http://www.lincolnlandleathernecks.org/index.html",
                         "http://www.lincolnlandleathernecks.org/page1.html",
                         "http://www.lincolnlandleathernecks.org/page1a.html",
                         "http://www.lincolnlandleathernecks.org/memorial.html",
                         "http://www.lincolnlandleathernecks.org/page2.html",
                         "http://www.lincolnlandleathernecks.org/page3.html",
                         "http://www.lincolnlandleathernecks.org/page4.html",
                         "http://www.lincolnlandleathernecks.org/pictures.html",
                         "http://www.lincolnlandleathernecks.org/page5.html",                                 	      	 "http://www.lincolnlandleathernecks.org/page6.html",
                         "http://www.lincolnlandleathernecks.org/page7.html",
                         "http://www.lincolnlandleathernecks.org/page8.html",
                         "http://www.lincolnlandleathernecks.org/page9.html",
                         "http://www.lincolnlandleathernecks.org/page10.html",
                         "http://www.lincolnlandleathernecks.org/page11.html",
                         "http://www.lincolnlandleathernecks.org/page12.html",
	      		 "http://www.lincolnlandleathernecks.org/page13.html",
                         "http://www.lincolnlandleathernecks.org/page14.html",
                         "http://www.lincolnlandleathernecks.org/page15.html",
                         "http://www.lincolnlandleathernecks.org/page16.html",
                         "http://www.lincolnlandleathernecks.org/page17.html",
                         "http://www.lincolnlandleathernecks.org/page18.html",
                         "http://www.lincolnlandleathernecks.org/page19.html",
                         "http://www.lincolnlandleathernecks.org/page20.html",
                         "http://www.lincolnlandleathernecks.org/page21.html",
                         "http://www.lincolnlandleathernecks.org/page22.html",
                         "http://www.lincolnlandleathernecks.org/page23.html",
                         "http://www.lincolnlandleathernecks.org/page24.html",
                         "http://www.lincolnlandleathernecks.org/page25.html",
                         "http://www.lincolnlandleathernecks.org/page26.html",
                         "http://www.lincolnlandleathernecks.org/page27.html",
                         "http://www.lincolnlandleathernecks.org/page28.html",
                         "http://www.lincolnlandleathernecks.org/page29.html",
                         "http://www.lincolnlandleathernecks.org/page30.html",
                         "http://www.lincolnlandleathernecks.org/page31.html",
                         "http://www.lincolnlandleathernecks.org/page32.html",
                         "http://www.lincolnlandleathernecks.org/page33.html",
                         "http://www.lincolnlandleathernecks.org/page34.html",
                         "http://www.lincolnlandleathernecks.org/page35.html",
                         "http://www.lincolnlandleathernecks.org/page36.html",
                         "http://www.lincolnlandleathernecks.org/page37.html",
                         "http://www.lincolnlandleathernecks.org/page38.html",
                         "http://www.lincolnlandleathernecks.org/page39.html",
                         "http://www.lincolnlandleathernecks.org/page40.html",
                         "http://www.lincolnlandleathernecks.org/page41.html",
                         "http://www.lincolnlandleathernecks.org/page42.html",
                         "http://www.lincolnlandleathernecks.org/page43.html",
                         "http://www.lincolnlandleathernecks.org/wall.html");
// This function determines which page is selected and goes to it.

function goPage(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = urls[i];  
    }
}