// Initialize WebDDM
function initWebDDM ()
{
	// Preload all the images we will be using...
	WebDDM_preloadImages('/images/arrow-down.gif',
		'/images/arrow-left.gif');
	
	// Set arrow HTML
	var arrowDown = '<span style="position:relative;top:0;left:5;">'+
		'<img src="/images/arrow-down.gif" style="border-style: none;" />' +
		'</span>';
	var arrowLeft = '<span style="position:relative;top:0;left:5;">'+
		'<img src="/images/arrow-left.gif" style="border-style: none;" />' +
		'</span>';
			
	// 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,
			
			'background-item':{
				'width': 680, 'height': 26,
				'top':0, 'left':0,
				'class': 'container'
			},
			
			// Begin item 1 - Home
			
			1:{
				'content':'Home',
				'content_rollover':'<a href="/" target="_top" onClick="this.href=FCx(this.href);">Home</a>',
				'cursor':'hand',
				'width':80, 'height':20, 'offsetLeft': 3, 'offsetTop': 3,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			},
			
			// Begin item 2 - About This Site
			
			2:{
				'content':'About This Site'+arrowLeft,
				'content_menuopen':'About This Site'+arrowDown,
				'cursor':'hand',
				'width':130, 'height':20, 'offsetLeft':75,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',

				// Begin array of items
				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width': 95, 'height': 90,
						'top':2, 'left':0,
						'class': 'container'
					},					
					
					1:{
						'content':'Introduction',
						'content_rollover':'<a href="/intro.html" target="_top" onClick="this.href=FCx(this.href);">Introduction</a>',
						'cursor':'hand',
						'width':90, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					2:{
						'content':'What\'s New',
						'content_rollover':'<a href="/new.html" target="_top" onClick="this.href=FCx(this.href);">What\'s New</a>',
						'cursor':'hand',
						'width':90, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					3:{
						'content':'Credits',
						'content_rollover':'<a href="/credits.html" target="_top" onClick="this.href=FCx(this.href);">Credits</a>',	
						'cursor':'hand',
						'width':90, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					4:{
						'content':'Contact',
						'content_rollover':'<a href="/email.html" target="_top" onClick="this.href=FCx(this.href);">Contact</a>',	
						'cursor':'hand',
						'width':90, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
				}
				// End array of items
			},
			
			// Begin item 3 - Leagues & Personalities
			
			3:{
				'content':'Leagues &amp; Personalities'+arrowLeft,
				'content_menuopen':'Leagues &amp; Personalities'+arrowDown,
				'cursor':'hand',
				'width':200, 'height':20, 'offsetLeft':130,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',

				// Begin array of items
				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width': 165, 'height': 132,
						'top':2, 'left':0,
						'class': 'container'
					},					
					
					1:{
						'content':'Organizations',
						'content_rollover':'<a href="/dantai.html" target="_top" onClick="this.href=FCx(this.href);">Organizations</a>',
						'cursor':'hand',
						'width':160, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					2:{
						'content':'Personalities',
						'content_rollover':'<a href="/personalities/" target="_top" onClick="this.href=FCx(this.href);">Personalities</a>',
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					3:{
						'content':'Roll Calls of Champions',
						'content_rollover':'<a href="/current/" target="_top" onClick="this.href=FCx(this.href);">Roll Calls of Champions</a>',
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					4:{
						'content':'Hall of Fame',
						'content_rollover':'<a href="/hof/" target="_top" onClick="this.href=FCx(this.href);">Hall of Fame</a>',	
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					5:{
						'content':'Gallery',
						'content_rollover':'<a href="/gallery/" target="_top" onClick="this.href=FCx(this.href);">Gallery</a>',	
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					6:{
						'content':'Faith',
						'content_rollover':'<a href="/faith/" target="_top" onClick="this.href=FCx(this.href);">Faith</a>',	
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
				}
				// End array of items
			},
			
			// Begin item 4 - History
			
			4:{
				'content':'History'+arrowLeft,
				'content_menuopen':'History'+arrowDown,
				'cursor':'hand',
				'width':80, 'height':20, 'offsetLeft':190,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',

				// Begin array of items
				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width': 165, 'height': 95,
						'top':2, 'left':0,
						'class': 'container'
					},					
					
					1:{
						'content':'History of Puroresu',
						'content_rollover':'<a href="/history/" target="_top" onClick="this.href=FCx(this.href);">History of Puroresu</a>',
						'cursor':'hand',
						'width':160, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					2:{
						'content':'This Day in History',
						'content_rollover':'<a href="/history/today/" target="_top" onClick="this.href=FCx(this.href);">This Day in History</a>',
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					3:{
						'content':'Articles',
						'content_rollover':'<a href="/articles/" target="_top" onClick="this.href=FCx(this.href);">Articles</a>',	
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					4:{
						'content':'Wrestling-Titles.com',
						'content_rollover':'<a href="http://www.wrestling-titles.com/" target="_top" onClick="this.href=FCx(this.href);">Wrestling-Titles.com</a>',	
						'cursor':'hand',
						'width':160, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
				}
				// End array of items
			},

			
			// Begin item 5 - Links
			
			5:{
				'content':'Links'+arrowLeft,
				'content_menuopen':'Links'+arrowDown,
				'cursor':'hand',
				'width':65, 'height':20, 'offsetLeft':80,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',

				// Begin array of items
				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width': 135, 'height': 135,
						'top':2, 'left':0,
						'class': 'container'
					},					
					
					1:{
						'content':'General',
						'content_rollover':'<a href="/links.html" target="_top" onClick="this.href=FCx(this.href);">General</a>',
						'cursor':'hand',
						'width':130, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					2:{
						'content':'Recommended',
						'content_rollover':'<a href="/featured.html" target="_top" onClick="this.href=FCx(this.href);">Recommended</a>',
						'cursor':'hand',
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					3:{
						'content':'Online Stores',
						'content_rollover':'<a href="/market/" target="_top" onClick="this.href=FCx(this.href);">Online Stores</a>',	
						'cursor':'hand',
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					4:{
						'content':'Japanese Sites',
						'content_rollover':'<a href="/links-j.html" target="_top" onClick="this.href=FCx(this.href);">Japanese Sites</a>',	
						'cursor':'hand',
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					5:{
						'content':'Newsgroups',
						'content_rollover':'<a href="/newsgroups.html" target="_top" onClick="this.href=FCx(this.href);">Newsgroups</a>',	
						'cursor':'hand',
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					},
					6:{
						'content':'Wrestling History',
						'content_rollover':'<a href="http://www.wrestling-titles.com/links/" target="_top" onClick="this.href=FCx(this.href);">Wrestling History</a>',	
						'cursor':'hand',
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
				}
				// End array of items
			},

			6:{
				'content':'Message Forum',
				'content_rollover':'<a href="/forum/" target="_top" onClick="this.href=FCx(this.href);">Message Forum</a>',
				'cursor':'hand',
				'width':120, 'height':20,  'offsetLeft':75,
				'class':'mainmenu_off',
				'class_rollover':'mainmenu_rollover'
			}
		}
		// End array of items
	};
	// End base menu

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

