/*
// Initialize WebDDM
function initWebDDM ()
{
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':500,
		'height':30,
		'expand_menu':'auto',

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':500,
			'height':23,
			// Begin item 1
			1:{
				'content':'Home',
				'url':'../index.html',
				'cursor':'hand',
				'width':120, 'height':22, 'left':0, 'top':0,
				'class':'other',
				'class_rollover_pressed':'other_pressed',
				'css':'background-color:#E08080',
				'css_rollover':'background-color:#80E080'
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'More Info &nbsp; <img src="../menus/win9x/arrow.gif" />',
				'content_menuopen':'More Info &nbsp; <img src="../menus/win9x/arrowover.gif" />',
				'width':120, 'height':22, 'left':119, 'top':0,
				'class':'other',
				'class_rollover_pressed':'other_pressed',
				'class_menuopen':'other',
				'class_menuopen_pressed':'other_pressed',
				'css':'background-color:#E08080',
				'css_rollover':'background-color:#80E080',
				'css_menuopen':'background-color:#8080E0',
				'expand_menu':'click',
				// Begin array of items, item 2
				'items':{
					'top':21,
					'left':118,
					'width':206,
					'height':158,
					// Begin item 2-1
					1:{
						'content':'Any <b>H</b><u>T</u><i>M</i><s>L</s> can be used in items, such as lists and graphics:<ul><li>one</li><li><img src="../WebDDM.gif" /></li></ul>',
						'content_rollover':'Dynamically change content at any time!',
						'width':200, 'height':150, 'left':1, 'top': 0,
						'class':'other',
						'css':'background-color:#E0E080;font-size:10px',
						'css_rollover':'background-color:#FFFFC0;font-size:12px'
					}
					// End item 2-1
				}
				// End array of items, item 2
			},
			// End item 2
			// Begin item 3
			3:{
				'content':'JavaScript Calls &nbsp; <img src="../menus/win9x/arrow.gif" />',
				'content_rollover':'JS calls &nbsp; <img src="../menus/win9x/arrow.gif" />',
				'content_rollover_pressed':'Pressed!',
				'content_menuopen':'JavaScript Calls &nbsp; <img src="../menus/win9x/arrowover.gif" />',
				'content_menuopen_pressed':'Menu open, pressed',
				'width':120, 'height':22, 'left':238, 'top':0,
				'class':'other',
				'class_rollover':'other',
				'class_rollover_pressed':'other_pressed',
				'class_menuopen':'other',
				'class_menuopen_pressed':'other_pressed',
				'css':'background-color:#E08080',
				'css_rollover':'background-color:#80E080',
				'css_menuopen':'background-color:#8080E0',
				'expand_menu':'click',
				// Begin array of items, item 3
				'items':{
					'top':21,
					'left':238,
					'width':134,
					'height':65,
					// Begin item 3-1
					1:{
						'content':'Alert box',
						'url':'javascript:alert("Hello world!");',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':0,
						'class':'other',
						'css':'background-image:url(../menus/other/bg.gif);background-position:0px 0px',
						'css_rollover':'background-image:url(../menus/other/bg_rollover.gif)'
					},
					// End item 3-1
					// Begin item 3-2
					2:{
						'content':'Confirm box',
						'url':'javascript:confirm("You wanna confirm or what?");',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':21,
						'class':'other',
						'css':'background-image:url(../menus/other/bg.gif);background-position:0px -22px',
						'css_rollover':'background-image:url(../menus/other/bg_rollover.gif)'
					},
					// End item 3-2
					// Begin item 3-3
					3:{
						'content':'Open window',
						'url':'javascript:window.open("index.html")',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':42,
						'class':'other',
						'css':'background-image:url(../menus/other/bg.gif);background-position:0px -44px',
						'css_rollover':'background-image:url(../menus/other/bg_rollover.gif)'
					}
					// End item 3-3
				}
				// End array of items, item 3
			}
			// End item 3
		}
		// End array of items, level 0
	};
	// End base menu

	// Activate and build menu
	var complextStylesMenu = new WebDDM('menu', menu);
}*/

// NOTE: Do NOT use this menu as a start for your own custom menu unless you want a very
// plain, and, indeed, inflexible menu. This menu does not use background-items and it uses
// the "old" style of positioning.

// Initialize WebDDM
function initWebDDM ()
{
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':500,
		'height':30,
		'expand_menu':'auto',
		'useOldPositioning':true,

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':500,
			'height':23,
			// Begin item 1
			1:{
				'content':'<a href="../index.html">Home</a>',
				'cursor':'hand',
				'width':120, 'height':22, 'left':0, 'top':0,
				'class':'other',
				'class':'other',
				'class_rollover_pressed':'other_pressed',
				'css':'background-color:#80E080',
				'css_rollover':'background-color:#80E080'
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'More Info &nbsp; <img src="../menus/win9x/arrow.gif" />',
				'content_menuopen':'More Info &nbsp; <img src="../menus/win9x/arrowover.gif" />',
				'width':120, 'height':22, 'left':119, 'top':0,
				'class':'other',
				'class_rollover_pressed':'other_pressed',
				'class_menuopen':'other',
				'class_menuopen_pressed':'other_pressed',
				'css':'background-color:#8080E0',
				'css_rollover':'background-color:#8080E0',
				'css_menuopen':'background-color:#8080E0',
				// Begin array of items, item 2
				'items':{
					'top':21,
					'left':119,
					'width':206,
					'height':158,
					// Begin item 2-1
					1:{
						'content':'Any <b>H</b><u>T</u><i>M</i><s>L</s> can be used in items, such as lists and graphics:<ul><li>one</li><li><img src="../WebDDM.gif" /></li></ul>',
						'content_rollover':'Dynamically change content at any time!',
						'width':200, 'height':150, 'left':0, 'top': 0,
						'class':'other',
						'class_rollover_pressed':'other_pressed',
						'css':'background-color:#E0E080;font-size:10px',
						'css_rollover':'background-color:#FFFFC0;font-size:12px',
						
						// Set action to change window status
						'actions':{
							'mouseover':'window.status="More Info submenu";',
							'mouseout':'window.status=window.defaultStatus;'
						}
					}
					// End item 2-1
				}
				// End array of items, item 2
			},
			// End item 2
			// Begin item 3
			3:{
				'content':'JavaScript Calls &nbsp; <img src="../menus/win9x/arrow.gif" />',
				'content_menuopen':'JavaScript Calls &nbsp; <img src="../menus/win9x/arrowover.gif" />',
				'width':120, 'height':22, 'left':238, 'top':0,
				'class':'other',
				'class_rollover':'other',
				'class_rollover_pressed':'other_pressed',
				'class_menuopen':'other',
				'class_menuopen_pressed':'other_pressed',
				'css':'background-color:#E08080',
				'css_rollover':'background-color:#80E080',
				'css_menuopen':'background-color:#8080E0',
				// Begin array of items, item 3
				'items':{
					'top':21,
					'left':238,
					'width':134,
					'height':65,
					// Begin item 3-1
					1:{
						'content':'<a href="javascript:alert(\'Hello world!\');">Alert box</a>',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':0,
						'class':'other',
						'class_rollover_pressed':'other_pressed',
						'css':'background-image:url(../menus/other/bg.gif);background-position:0px 0px',
						'css_rollover':'background-image:url(../menus/other/bg_rollover.gif)'
					},
					// End item 3-1
					// Begin item 3-2
					2:{
						'content':'<a href="javascript:void confirm(\'You wanna confirm or what?\');">Confirm box</a>',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':21,
						'class':'other',
						'class_rollover_pressed':'other_pressed',
						'css':'background-image:url(../menus/other/bg.gif);background-position:0px -22px',
						'css_rollover':'background-image:url(../menus/other/bg_rollover.gif)'
					},
					// End item 3-2
					// Begin item 3-3
					3:{
						'content':'<a href="javascript:window.open(\'../index.html\')">Open window</a>',
						'cursor':'hand',
						'width':130, 'height':22, 'left':0, 'top':42,
						'class':'other',
						'class_rollover_pressed':'other_pressed',
						'css':'background-image:url(../menus/other/bg.gif);background-position:0px -44px',
						'css_rollover':'background-image:url(../menus/other/bg_rollover.gif)'
					}
					// End item 3-3
				}
				// End array of items, item 3
			}
			// End item 3
		}
		// End array of items, level 0
	};
	// End base menu

	// Activate and build menu
	var otherMenu = new WebDDM('menu', menu);
}
