(function (c) { config.init(); var a = 0; // var b = {idx: [1, 6, 7, 8], count: 4, current: 1}; var b = {idx: [1, 6, 7, 8], count: 2, current: 1}; icoNavFx.doing(c("#nav_bottom"), b); c(".login_open").on("touchend", function (d) { if (c("#container").hasClass("push") == false) { if (a == 0) { c("#container,#user,#header,#nav_bottom").addClass("pull"); a = 1; c(window).on("touchmove", function (f) { f.preventDefault(); f.stopImmediatePropagation() }); c("#us_panel").addClass("hide") } else { c("#container,#user,#header,#nav_bottom").removeClass("pull"); a = 0; c(window).unbind("touchmove") } } return false }); c(".search_input").on("input", function () { if (c(".search_input").val().length > 0) { c(".reset_input").show() } else { c(".reset_input").hide() } }); c(".reset_input").on("touchstart touchend", function (d) { if (d.type == "touchstart") { c(".search_input").val(""); c(".reset_input").addClass("ton") } else { if (d.type == "touchend") { c(".reset_input").removeClass("ton").hide() } } }) })(Zepto);