var hsm={};hsm.init=function(){hsm.events()};hsm.events=function(){hsm.common()}; hsm.common = function () { $(".header-m .m-search-b").click(function(){ $(".header-m .search-w").stop().fadetoggle(); }); } $(function () { hsm.init(); });