// Initialize WebDDM
function initWebDDM ()
{
	

	
	// Set arrow HTML
	arrowDown = '<span style="position:absolute;top:12;right:7;">'+
		'<img src="/menus/arrowdown.gif" />' +
		'</span>';
	arrowLeft = '<span style="position:absolute;top:10;right:5;">'+
		'<img src="/menus/arrowleft.gif" />' +
		'</span>';
	
		
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':600,
		'height':28,
		'expand_menu':'auto',

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':600,
			'height':28,
			// Begin item 1
			// This is sort of the container for all of the rest of the items
			1:{
				'content':'&nbsp;',
				'isContainerItem':true,
				'width':610, 'height':28, 'left': '0%', 'top': '0%',
				'class':'container',
				'css':'line-height:1'
			},
			// End item 1
			// Begin item 2
			2:{
'actions':{
							'mouseover':'window.status="Home Page";',
							'mouseout':'window.status=window.defaultStatus;'
						},
				'content':'Home', 'content_rollover':'<b><u>H</u>ome</b>',
				'url':'/index.html', 'cursor':'hand',
				'width':75, 'height':26, 'left':1, 'top':1,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			},
			// End item 2
			// Begin item 3
		
			3:{'actions':{
							'mouseover':'window.status="About Our Maps and Images";',
							'mouseout':'window.status=window.defaultStatus;'
						},

				'content':'About', 'content_rollover':'<b><u>A</u>bout</b>',
				'url':'/about.html', 'cursor':'hand',
				'width':75, 'height':26, 'left':77, 'top':1,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			},
			//End of item 3
			
			// Begin item 4
			4:{
'actions':{
							'mouseover':'window.status="View Our Maps";',
							'mouseout':'window.status=window.defaultStatus;'
						},

				'content':'View Maps&nbsp;'  + arrowDown,
				'content_menuopen':'<b><u>V</u>iew Maps&nbsp;</b>'  + arrowDown,
				'width':100, 'height':26, 'left':153, 'top':1,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				
				// Begin array of items, item map items
				'items':{
					'top':23,
					'left':152,
					'width':134,
					'height':64,
				
				//begin historical maps
						1:{
								'content':'&nbsp;',
								'width':134, 'height':57, 'left':0, 'top':4,
								'class':'container',
								'css':'line-height:1'
							},			
					
						2:{
'actions':{
							'mouseover':'window.status="View the Historical Maps";',
							'mouseout':'window.status=window.defaultStatus;'
						},

						'content':'Historical Maps &nbsp; ' + arrowLeft,
						'content_menuopen':'<b><u>H</u>istorical Maps&nbsp;</b>' + arrowLeft,
						'width':130, 'height':26, 'left':2, 'top':6,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',
						// Begin array of historical map pages
						'items':{
							
							'top':4,
							'left':129,
							'width':150,
							'height':165,
							
							
					// Begin historical map pages
					//begin historical page container
						  1:{
								'content':'&nbsp;',
								'isContainerItem':true,
								'width':134, 'height':165, 'left':5, 'top':0,
								'class':'container',
								'css':'line-height:1'
							
							},	
							// End item historical page container
							// Begin item historical page 1
							2:{


								'content':'Historical Maps Page 1',
								'content_rollover':'<b><u>H</u>istorical Maps Page 1</b>',
								'url':'/historical.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':7, 'top':2,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
					//end historical page 1		
							3:{
								'content':'Historical Maps Page 2',
								'content_rollover':'<b><u>H</u>istorical Maps Page 2</b>',
								'url':'/historical_page_2.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':7, 'top':29,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
					// End historical page 2
					// Begin historical page 3
							4:{
								'content':'Historical Maps Page 3',
								'content_rollover':'<b><u>H</u>istorical Maps Page 3</b>',
								'url':'/historical_page_3.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':7, 'top':56,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
						
							},
					//end of historical page 3
					// Begin historical page 4
							5:{
								'content':'Historical Maps Page 4',
								'content_rollover':'<b><u>H</u>istorical Maps Page 4</b>',
								'url':'/historical_page_4.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':7, 'top':83,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
						
							},
					//end of historical page 4
					//begin historical page 5
					       6:{
								'content':'Historical Maps Page 5',
								'content_rollover':'<b><u>H</u>istorical Maps Page 5</b>',
								'url':'/historical_page_5.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':7, 'top':110,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
						},
					//end of historical page 5
					//begin historical page 6
					       7:{
								'content':'Historical Maps Page 6',
								'content_rollover':'<b><u>H</u>istorical Maps Page 6</b>',
								'url':'/historical_page_6.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':7, 'top':137,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
						}
						
							
							
					}
			//end of historical maps
			},				
					//begin contemporary maps	
						3:{
'actions':{
							'mouseover':'window.status="View Our Contemporary Maps";',
							'mouseout':'window.status=window.defaultStatus;'
						},

						'content':'Contemporary Maps &nbsp; ' + arrowLeft,
						'content_menuopen':'<b><u>C</u>ontemporary Maps</b>' + arrowLeft,
						'width':130, 'height':26, 'left':2, 'top':33,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',
						// Begin array of contemporary maps
						'items':{
				
							'top':4,
							'left':128,
							'width':300,
							'height':140,
							
					// Begin contemporary map pages
					//begin contemporary page container
							1:{
								'content':'&nbsp;',
								'isContainerItem':true,
								'width':172, 'height':29, 'left':6, 'top':28,
								'class':'container',
								'css':'line-height:1'
							},
							// End item contemporary page container
							// Begin historical page 1
							2:{
								'content':'Contemporary Maps Page 1',
								'content_rollover':'<b><u>C</u>ontemporary Maps Page 1</b>',
								'url':'/contemporary.html', 'cursor':'hand',
								'width':168, 'height':25, 'left':8, 'top':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
				        //End of contemporary images page1
							
					
			
			//end of contemporary maps
				}
				//end of item 4
			  }
			
			}	
			},		
			
		//begin item 5
	      5:{
'actions':{
							'mouseover':'window.status="View Our Images";',
							'mouseout':'window.status=window.defaultStatus;'
						},

			'content':'View Images&nbsp;' + arrowDown,
			'content_menuopen':'<b><u>V</u>iew Images&nbsp;</b>' + arrowDown,
			'width':100, 'height':26, 'left':254, 'top':1,
			'class':'mainmenu_off',
			'class_menuopen':'mainmenu_rollover',
				
				// Begin array of image items
				'items':{
					'top':23,
					'left':253,
					'width':161,
					'height':64,
					
					     1:{
						  'content':'&nbsp;',
						   'width':161, 'height':57, 'left':0, 'top':4,
						   'class':'container',
						    'css':'line-height:1'
							},			
					
						2:{
'actions':{
							'mouseover':'window.status="View Our Historic Images";',
							'mouseout':'window.status=window.defaultStatus;'
						},

						'content':'Historic Images &nbsp; ' + arrowLeft,
						'content_menuopen':'<b><u>H</u>istoric Images&nbsp;</b>' + arrowLeft,
						'width':157, 'height':26, 'left':2, 'top':6,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',
						// Begin array of historical image pages
						'items':{
							'top':4,
							'left':128,
							'width':200,
							'height':88,
							1:{
								'content':'&nbsp;',
								'isContainerItem':true,
								'width':134, 'height':83, 'left':33, 'top':0,
								'class':'container',
								'css':'line-height:1'
							},	
							// End item historical page container
							// Begin item historical page 1
							2:{
								'content':'Historic Images Page 1',
								'content_rollover':'<b><u>H</u>istoric Images Page 1</b>',
								'url':'/historical_images.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':35, 'top':2,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}, //end historical images page 1
									// Begin item historical page 2
							3:{
								'content':'Historic Images Page 2',
								'content_rollover':'<b><u>H</u>istoric Images Page 2</b>',
								'url':'/historical_images_page_2.html', 'cursor':'hand',
								'width':130, 'height':26, 'left':35, 'top':29,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}, //end historical images page 2
									// Begin item historical page 3
							4:{
								'content':'Historic Images Page 3',
								'content_rollover':'<b><u>H</u>istoric Images Page 3</b>',
								'url':'/historical_images_page_3.html', 'cursor':'hand',
								'width':130, 'height':25, 'left':35, 'top':56,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							} //end historical images page 3
							
				
				   }
			
			  },
			  //begin contemporary images
						3:{
'actions':{
							'mouseover':'window.status="View Our Contemporary Images";',
							'mouseout':'window.status=window.defaultStatus;'
						},

						'content':'Contemporary Images &nbsp; ' + arrowLeft,
						'content_menuopen':'<b><u>C</u>ontemporary Images</b>' + arrowLeft,
						'width':157, 'height':26, 'left':2, 'top':33,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',
						// Begin array of contemporary maps
						'items':{
				
							'top':4,
							'left':128,
							'width':200,
							'height':140,
					
					// Begin contemporary images pages
					//begin contemporary page container
							1:{
								'content':'&nbsp;',
								'isContainerItem':true,
								'width':164, 'height':29, 'left':33, 'top':28,
								'class':'container',
								'css':'line-height:1'
							},
							// End item contemporary page container
							// Begin contemporary images page 1
							2:{
								'content':'Contemporary Images Page 1',
								'content_rollover':'<b><u>C</u>ontemporary Images Page 1</b>',
								'url':'/contemporary_images.html', 'cursor':'hand',
								'width':160, 'height':25, 'left':35, 'top':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							} //End of contemporary images page1
            			}//end of contemporary images
			         }//end of images
				
			 
					 
          }
		
		}, //end of item 5
		  // Begin item 6
		6:{
'actions':{
							'mouseover':'window.status="Frequently Asked Questions";',
							'mouseout':'window.status=window.defaultStatus;'
						},

				'content':'FAQ', 'content_rollover':'<b><u>F</u>AQ</b>',
				'url':'/faq.html', 'cursor':'hand',
				'width':75, 'height':26, 'left':355, 'top':1,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			},
			// End item 6	
			  // Begin item 7
			7:{
'actions':{
							'mouseover':'window.status="Links to Other Sites of Interest";',
							'mouseout':'window.status=window.defaultStatus;'
						},

				'content':'Links', 'content_rollover':'<b><u>L</u>inks</b>',
				'url':'/links.html', 'cursor':'hand',
				'width':75, 'height':26, 'left':431, 'top':1,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			},
			// End item 6	
			8:{
'actions':{
							'mouseover':'window.status="How to contact us";',
							'mouseout':'window.status=window.defaultStatus;'
						},

				'content':'Contact Us', 'content_rollover':'<b><u>C</u>ontact Us</b>',
				'url':'/contact_us_page.html', 'cursor':'hand',
				'width':93, 'height':26, 'left':507, 'top':1,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			}
			// End item 6
		}
		}
	
	// End base menu

	// Activate and build menu
	var WebDDM_mainmenu = new WebDDM('mainmenu', menu);
}


