              return this.menu.type != type;
                        },
                        reserveKeys: {
                            subMenu: "menu"
                        }
                    });

/*
                    var _this = this;
                    setTimeout(function(){
                        type = 1;
                        _this.target.reset();
                    }, 5000);
*/


                }
            }
        };
        $(document.body).ready(function() {
            fnObj.pa