// Initialize WebDDM
function initWebDDM ()
{
	// Begin base menu
	var menu_data = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':600,
		'height':20,
		'expand_menu':'auto',
		'useOldPositioning':true,

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':600,
			'height':20,
			// Begin item 1
			1:{
				'content':'Home <img src="images/arrow_down.gif" />',
				'content_menuopen':'Home <img src="images/arrow_down.gif" />',
				'width':60, 'height':20, 'left':10, 'top':0,
				'class':'other',
				'css':'background-color:#FFFFFF',
				'css_menuopen':'background-color:#FFFFFF',
				// Begin array of items, item 1
				'items':{
					'top':21,
					'left':0,
					'width':600,
					'height':39,
					// Begin item 1-1
					1:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/index.html">About</a>',
						'cursor':'hand',
						'width':50, 'height':20, 'left':10, 'top': 0,
						'class':'other',
						'css':'color:#FFFFFF;background-color:#999999;font-size:11px'						
					},
					// End item 1-1
					// Begin item 1-2
					2:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/index.html#location">Location</a>',
						'cursor':'hand',
						'width':80, 'height':20, 'left':70, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 1-2
					// Begin item 1-3
					3:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/vita.html">Vita</a>',
						'cursor':'hand',
						'width':50, 'height':20, 'left':150, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					}/*,
					// End item 1-3
					// Begin item 1-4
					4:{
						'content':'<a href="service.shtml#circulation">Circulation</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top': 63,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'						
					},
					// End item 1-4
					// Begin item 1-5
					5:{
						'content':'<a href="service.shtml#equipment">Equipment</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top': 84,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'						
					}%*/
					// End item 1-5
				}
				// End array of items, item 4
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'Map &amp; Geospatial Data <img src="images/arrow_down.gif" />',
				'content_menuopen':'Map &amp; Geospatial Data <img src="images/arrow_down.gif" />',
				'width':200, 'height':20, 'left':70, 'top':0,
				'class':'other',
				'css':'background-color:#FFFFFF',
				'css_menuopen':'background-color:#FFFFFF',
				// Begin array of items, item 2
				'items':{
					'top':21,
					'left':0,
					'width':600,
					'height':40,
					// Begin item 2-1
					1:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/geospatial/maps.html">Maps</a>',
						'cursor':'hand',
						'width':50, 'height':20, 'left':70, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 2-1
					// Begin item 2-2
					2:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/geospatial/geospatial.html">Geospatial Data</a>',
						'cursor':'hand',
						'width':120, 'height':20, 'left':120, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 2-2
					// Begin item 2-3
					3:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/geospatial/wms.html">Web Map Services</a>',
						'cursor':'hand',
						'width':130, 'height':20, 'left':240, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 2-3
					// Begin item 2-4
					4:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/geospatial/search.html">Search Data &amp; Services</a>',
						'cursor':'hand',
						'width':200, 'height':20, 'left':370, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					}/*,
					// End item 2-4
					// Begin item 2-5
					5:{
						'content':'<a href="building.shtml">Building Permits</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top': 84,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'						
					},
					// End item 2-5
					// Begin item 2-6
					6:{
						'content':'<a href="findaid.shtml">Finding Aids</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top': 105,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'						
					}%*/
					// End item 2-6
				}
				// End array of items, item 2
			},
			// End item 2
			// Begin item 3
			3:{
				'content':'Statistical Resources <img src="images/arrow_down.gif" />',
				'content_menuopen':'Statistical Resources <img src="images/arrow_down.gif" />',
				'width':210, 'height':20, 'left':240, 'top':0,
				'class':'other',
				'css':'background-color:#FFFFFF',
				'css_menuopen':'background-color:#FFFFFF',
				// Begin array of items, item 3
				'items':{
					'top':21,
					'left':0,
					'width':600,
					'height':40,
					// Begin item 3-1
					1:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/stats/topics.html">By Topic</a>',
						'cursor':'hand',
						'width':80, 'height':20, 'left':240, 'top':0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'
					},
					// End item 3-1
					// Begin item 3-2
					2:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/stats/tools.shtml">Tools</a>',
						'cursor':'hand',
						'width':60, 'height':20, 'left':320, 'top':0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'
					}/*,
					// End item 3-2
					// Begin item 3-3
					3:{
						'content':'<a href="geospworld.shtml">- World</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top':42,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'
					},
					// End item 3-4
					4:{
						'content':'<a href="geospusa.shtml">- USA</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top':63,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'
					},
					// End item 3-4
					5:{
						'content':'<a href="geospilchicago.shtml">- IL/Chicago</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top':84,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'
					},
					// End item 3-5
					6:{
						'content':'<a href="geospcensus.shtml">- Census Special</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top':105,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'
					},
					// End item 3-6
					7:{
						'content':'<a href="gisatuic.shtml">GIS at UIC</a>',
						'cursor':'hand',
						'width':150, 'height':22, 'left':0, 'top':126,
						'class':'other',
						'css':'background-color:#FFFACD;font-size:10px'
					}%*/
					// End item 3-7
				}
				// End array of items, item 3
			},
			// End item 3
			// Begin item 4
			4:{
				'content':'Research <img src="images/arrow_down.gif" />',
				'content_menuopen':'Research <img src="images/arrow_down.gif" />',
				'width':80, 'height':20, 'left':400, 'top':0,
				'class':'other',
				'css':'background-color:#FFFFFF',
				'css_menuopen':'background-color:#FFFFFF',
				// Begin array of items, item 2
				'items':{
					'top':21,
					'left':0,
					'width':600,
					'height':40,
					// Begin item 4-1
					1:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/research/clearinghouse/clearinghouse.html">Clearinghouse</a>',
						'cursor':'hand',
						'width':100, 'height':20, 'left':400, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 4-1
					// Begin item 4-2
					2:{
						'content':'<a href="http://maps.lib.uic.edu/cmaene/research/internetgis.html">Internet GIS</a>',
						'cursor':'hand',
						'width':100, 'height':20, 'left':500, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 4-2
					// Begin item 4-3
					3:{
					 	'content':'<a href="http://maps.lib.uic.edu/cmaene/research/legal.html">Legal</a>',
						'cursor':'hand',
						'width':50, 'height':20, 'left':600, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					},
					// End item 4-3
					4:{
					 	'content':'<a href="http://maps.lib.uic.edu/cmaene/research/gis_highed/gishighed.html">GIS in Higher Education</a>',
						'cursor':'hand',
						'width':180, 'height':20, 'left':650, 'top': 0,
						'class':'other',
						'css':'background-color:#999999;font-size:10px'						
					}
					// End item 4-4
				}
				// End array of items, item 4
			}
			// End item 4
		}
		// End array of items, level 0
	};
	// End base menu

	// Activate and build menu
	var myNewMenu = new WebDDM('menu_container_id', menu_data);
}