//*****************************
// current standings menu class
//*****************************

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

ER.menu.CurStandingsMenu = Ext.extend(Ext.menu.Menu, {
	id: 'CurrentStandingsMenu',
	initComponent : function() {
		Ext.apply(this, {
			items : [
				this.buildMenu()
			]
		});
		ER.menu.CurStandingsMenu.superclass.initComponent.call(this);
	},
	buildMenu: function(){
		return [{
			text: 'Champions',
			href: "http://www.equine-ranch.com/champions.menu.php",
			menu: {
				items: [{
					text: 'Grand Champions',
					href: "http://www.equine-ranch.com/grdchamp.php"
				},{
					text: 'National Champions',
					href: "http://www.equine-ranch.com/natchamp.php"
				},{
					text: 'World Champions',
					href: "http://www.equine-ranch.com/wchamp.php"
				}]
			}
		},
		'-',
		{
			text: 'Commendations',
			href: "http://www.equine-ranch.com/commendations.menu.php",
			menu: {
				items: [{
					text: 'Hall Of Fame',
					href: "http://www.equine-ranch.com/hallfame.php"
				},{
					text: 'Register Of Merit',
					href: "http://www.equine-ranch.com/rom.php"
				}]
			}
		},
		'-',
		{
			text: 'Top 100 Lists',
			href: "http://www.equine-ranch.com/top100.menu.php",
			menu: {
				items: [{
					text: 'Top Horses',
					href: "http://www.equine-ranch.com/tophorses.php"
				},{
					text: 'Top Competitors',
					href: "http://www.equine-ranch.com/topcomp.php"
				},{
					text: 'Top Breeders',
					href: "http://www.equine-ranch.com/topbreeders.php"
				}]
			}
		}]
	}
});

Ext.reg('currentstandingsmenu', ER.menu.CurStandingsMenu);
