		Ext.onReady(function()	{
			
			new Ext.Toolbar({
				id:"se-menu_toolbar",
				items:[new Ext.Button({
				text:'Home',
				url:window.BASE_PATH+'products/contentm/home',
				target:'',
				iconCls:'',
				listeners:{mouseover:contentmExtMenuButtonMouseOver, click:contentmExtMenuLinkHandler}}),new Ext.Button({
				text:'About Us',
				url:window.BASE_PATH+'products/contentm/aboutus',
				target:'',
				iconCls:'',
				listeners:{mouseover:contentmExtMenuButtonMouseOver, click:contentmExtMenuLinkHandler}}),new Ext.Button({
				text:'Solutions',
				url:'',
				target:'',
				iconCls:'',
				listeners:{mouseover:contentmExtMenuButtonMouseOver, click:contentmExtMenuLinkHandler},menu:{cls:'contentm-ext-menu se-menu-menu', items:[new Ext.menu.Item({
				text:'For Districts',
				url:window.BASE_PATH+'products/contentm/districts',
				target:'_self',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'For Schools',
				url:window.BASE_PATH+'products/contentm/schools',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'For Teachers',
				url:window.BASE_PATH+'products/contentm/teachers',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'For Organizations',
				url:window.BASE_PATH+'products/contentm/organizations',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler})]}}),new Ext.Button({
				text:'Resources',
				url:'',
				target:'',
				iconCls:'',
				listeners:{mouseover:contentmExtMenuButtonMouseOver, click:contentmExtMenuLinkHandler},menu:{cls:'contentm-ext-menu se-menu-menu', items:[new Ext.menu.Item({
				text:'Class Websites Tour',
				url:window.BASE_PATH+'products/contentm/tour',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'How-To Walkthrough',
				url:window.BASE_PATH+'products/contentm/walkthrough',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'Schedule a Demo',
				url:'http://www.allofe.com/product_demo_signup',
				target:'_blank',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'Download a Brochure',
				url:window.BASE_PATH+'gen/k12_generated_bin/documents/templates/school_effects_brochure.pdf',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'View Example Classroom Sites',
				url:window.BASE_PATH+'products/contentm/classexamples',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'View Example District Sites',
				url:window.BASE_PATH+'products/contentm/districtexamples',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'Template Showcase',
				url:window.BASE_PATH+'products/contentm/templates',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'Module Showcase',
				url:window.BASE_PATH+'products/contentm/modules',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'E-Rate and License Information',
				url:window.BASE_PATH+'products/contentm/erate',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler}),new Ext.menu.Item({
				text:'News and Articles',
				url:window.BASE_PATH+'contentm/easy_pages/view.php?page_id=397&sid=92&menu_id=289',
				target:'',
				iconCls:'',
				handler:contentmExtMenuLinkHandler})]}}),new Ext.Button({
				text:'Contact Us',
				url:window.BASE_PATH+'products/contentm/contact',
				target:'',
				iconCls:'',
				listeners:{mouseover:contentmExtMenuButtonMouseOver, click:contentmExtMenuLinkHandler}})],
				renderTo:"se-menu"
			});
			
					});
		
			
		function contentmExtMenuButtonMouseOver(inButton)	{
			if(typeof(inButton.menu) != "object")	{ // If there is no menu
				return true;
			}
			
						
			inButton.menu.show(inButton.getEl()); // Show the menu
		}

					
			function contentmExtMenuLinkHandler(inComponent)	{
				if(inComponent.url == "")	{
					return true;
				}
				
				switch(inComponent.target)	{
					case "_blank": // Open in a new window
						window.open(inComponent.url);
						break;
					default:
						location.href = inComponent.url;
						if(typeof(inComponent.menu) != "undefined")	{
							inComponent.menu.hide();
						}
						break;
				}
			}
			
			
