//************************
// other stuff menu class
//************************

// create namespace
Ext.namespace('ER.menu');

ER.menu.OtherMenu = Ext.extend(Ext.menu.Menu, {
	id: 'OtherStuffMenu',
	initComponent : function() {
		Ext.apply(this, {
			items : [
				this.buildMenu()
			]
		});
		ER.menu.OtherMenu.superclass.initComponent.call(this);
	},
	buildMenu: function(){
		return [{
			text: 'News',
			href: "http://www.equine-ranch.com/news.menu.php",
			menu: {
				items: [{
					text: 'Site News',
					href: "http://www.equine-ranch.com/sitenews.php"
				},{
					text: 'Game News',
					href: "http://www.equine-ranch.com/gamenews.php"
				}]
			}
		},
		'-',
		{
			text: 'Rules',
			href: "http://www.equine-ranch.com/rules.menu.php",
			menu: {
				items: [{
					itemId: 'RulesWindow-0',
					text: 'Site Rules',
					href: "http://www.equine-ranch.com/siterules.php"
				},{
					itemId: 'RulesWindow-1',
					text: 'Game Rules',
					href: "http://www.equine-ranch.com/rules.php"
				},{
					itemId: 'RulesWindow-2',
					text: 'Terms Of Service',
					href: "http://www.equine-ranch.com/tos.php"
				}]
			}
		},
		'-',
		{
			text: 'Site',
			href: "http://www.equine-ranch.com/site.menu.php",
			menu: {
				items: [{
					text: 'Change Log',
					href: "http://www.equine-ranch.com/commons/index.php?action=vtopic&forum=3",
					hrefTarget: '_blank'
				},{
					text: 'Report A Bug',
					href: "http://bugreport.snowwolfegames.com/main_page.php",
					hrefTarget: '_blank'
				},{
					text: 'Contact Us',
					href: "http://www.equine-ranch.com/contact.php"
				},{
					text: 'Support Replies',
					href: "http://www.equine-ranch.com/usertickets.php"
				},{
					itemId: 'GameStatisticsWindow',
					text: 'Game Statistics',
					href: "http://www.equine-ranch.com/statistics.php"
				}]
			}
		}]
	}
});

Ext.reg('otherstuffmenu', ER.menu.OtherMenu);
