// 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':900,
		'height':25,
		'expand_menu':'auto',
		'useOldPositioning':true,
		'css':'background-color:#16445c',

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':900,
			'height':25,
			// Begin item 1
			1:{
				'content':'<a href="index.htm">Home</a>',
				'cursor':'hand',
				'width':150, 'height':25, 'left':0, 'top':0,
				'class':'other',
				'css':'background-image:url(images/main-nav-bg.gif);background-position:0px 0px;background-repeat:repeat-x',
				'css_menuopen':'background-color:#0061a6',
				'openDelay':0,
				'closeDelay':25
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'Open an Account',
				'cursor':'hand',
				'width':150, 'height':25, 'left':150, 'top':0,
				'class':'other',
				'css':'background-image:url(images/main-nav-bg.gif);background-position:0px 0px;background-repeat:repeat-x',
				'css_menuopen':'background-color:#0061a6',
				'openDelay':0,
				'closeDelay':25,
				// Begin array of items, item 1
				'items':{
					'top':25,
					'left':165,
					'width':165,
					'height':150,
					1:{
						'content':'<a href="open-account.htm">Open an Account</a>',
						'cursor':'hand',
						'width':165, 'height':25, 'left':0, 'top':0,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					2:{
						'content':'<a href="funding-instructions.htm">Funding instructions</a>',
						'cursor':'hand',
						'width':165, 'height':25, 'left':0, 'top':25,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					3:{
						'content':'<a href="margins.htm">Margins</a>',
						'cursor':'hand',
						'width':165, 'height':25, 'left':0, 'top':50,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					}
				}
			},
			// End item 2
			// Begin item 3
			3:{
				'content':'FOREX',
				'cursor':'hand',
				'width':150, 'height':25, 'left':300, 'top':0,
				'class':'other',
				'css':'background-image:url(images/main-nav-bg.gif);background-position:0px 0px;background-repeat:repeat-x',
				'css_menuopen':'background-color:#0061a6',
				'openDelay':0,
				'closeDelay':25,
				'items':{
					'top':25,
					'left':310,
					'width':150,
					'height':125,
					1:{
						'content':'<a href="tradeprofx.htm">Trade Pro FX</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':0,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
						2:{
						'content':'<a href="demoreg.htm">Register for FX demo</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':25,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
						3:{
						'content':'<a href="fxaccts/fxaccount.pdf">Open an account</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':50,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					
					}
				}
			},// End item 3
			// Begin item 4
			4:{
				'content':'Software',
				'cursor':'hand',
				'width':150, 'height':25, 'left':425, 'top':0,
				'class':'other',
				'css':'background-image:url(images/main-nav-bg.gif);background-position:0px 0px;background-repeat:repeat-x',
				'css_menuopen':'background-color:#0061a6',
				'openDelay':0,
				'closeDelay':100,
				'items':{
					'top':25,
					'left':435,
					'width':180,
					'height':150,
					1:{
						'content':'<a href="software.htm">Software Center</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':0,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					2:{
						'content':'<a href="demoreg.htm">Register for Demo</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':25,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					3:{
						'content':'<a href="active-trader.htm">Active Trader</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':50,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					4:{
						'content':'<a href="navigator.htm">Trade Navigator</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':75,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					5:{
						'content':'<a href="firetip.htm">NEW! Firetip for Mac or PC</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':100,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					6:{
						'content':'<a href="webiphone.htm">T4 for PC,Web & IPHONE</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':125,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					7:{
						'content':'<a href="ninja.htm">NEW! NinjaTrader</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':150,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
					8:{
						'content':'<a href="softwarefees.htm">Software List and Fees</a>',
						'cursor':'hand',
						'width':180, 'height':25, 'left':0, 'top':175,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					}
				}
			},
			// End item 4
			// Begin item 5
			5:{
				'content':'Automated Trading',
				'cursor':'hand',
				'width':150, 'height':25, 'left':550, 'top':0,
				'class':'other',
				'css':'background-image:url(images/main-nav-bg.gif);background-position:0px 0px;background-repeat:repeat-x',
				'css_menuopen':'background-color:#0061a6',
				'openDelay':0,
				'closeDelay':25,
				'items':{
					'top':25,
					'left':560,
					'width':150,
					'height':125,
					1:{
						'content':'<a href="http://www.strategyxchange.com/StrategyQuotes.asp?ID=TPFutures">Systems Selector</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':0,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
						2:{
						'content':'<a href="strategyrunner.htm">Strategy Runner</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':25,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					}
				}
			},
			// End item 5
			// Begin item 6
			6:{
				'content':'FAQs',
				'cursor':'hand',
				'width':150, 'height':25, 'left':700, 'top':0,
				'class':'other',
				'css':'background-image:url(images/main-nav-bg.gif);background-position:0px 0px;background-repeat:repeat-x',
				'css_menuopen':'background-color:#0061a6',
				'openDelay':0,
				'closeDelay':100,
				'items':{
					'top':25,
					'left':710,
					'width':150,
					'height':125,
					1:{
						'content':'<a href="why-tp-futures.htm">Why TP Futures?</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':0,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
						2:{
						'content':'<a href="margins.htm">Margins</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':25,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					},
						3:{
						'content':'<a href="education.htm">Education</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':50,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					
					},
						4:{
						'content':'<a href="partners.htm">Partners</a>',
						'cursor':'hand',
						'width':150, 'height':25, 'left':0, 'top':75,
						'class':'other-sub1',
						'css':'background-color:#16445c',
						'css_rollover':'background-color:#0061a6'
					
					}
				}
			}
			// End item 6
		}
		// End array of items, level 0
	};
	// End base menu

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