            YAHOO.example.onMenuReady = function(p_oEvent) {
                
                // "beforerender" event handler for the menu
                function onMenuBeforeRender(p_sType, p_sArgs, p_oMenu) {

                    var oSubmenuData = {
    
                        "businesses": [
                            { text: "Medical", url: "medical.html" },
                            { text: "Other", url: "other_businesses.html" }
                        ],
                        
                        "program": [
                            { text: "Cash Flow Optimization Success", url: "cash_flow_optimization.html" },
                            { text: "Success of a Borrowing Base Tiering Strategy", url: "risk_based_tiering.html" },
                            { text: "Hybrid Product Success", url: "hybrid_product.html" },
                            { text: "Successful Win-Win Pricing Structures", url: "win_win_pricing_structures.html" },
                            { text: "Successful Special Situation Financing", url: "special_situation_financing.html" },
                            { text: "Successful Value-Added Services", url: "value_added_services.html" },
						    { text: "Bank Success", url: "bank_success.html" }                     
                        ]

                    };

                    this.getItem(3).cfg.setProperty("submenu", { id:"businesses", itemdata: oSubmenuData["businesses"] });
                    this.getItem(4).cfg.setProperty("submenu", { id:"program", itemdata: oSubmenuData["program"] });

                }

                // Instantiate and render the menu
                var oMenu = new YAHOO.widget.Menu("inovamenu", { position:"static", hidedelay:750, lazyload:true });

                // Subscribe to the "beforerender" event
                oMenu.beforeRenderEvent.subscribe(onMenuBeforeRender, oMenu, true);
                oMenu.render();
                
            }

            // Initialize and render the menu when it is available in the DOM
            //YAHOO.util.Event.onContentReady("productsandservices", YAHOO.example.onMenuReady);
			YAHOO.util.Event.addListener(window, 'load', YAHOO.example.onMenuReady);
