(function(c){var a=c("#nav-menu-meta"),d=a.find(".prices"),h=a.find("#jigoshop_currency, #woocommerce_currency").val(),e=a.find("#jigoshop_shop_url, #woocommerce_shop_url").val(),k=-1===e.indexOf("?")?"?":"&";d.find(".submit-add-to-menu").bind("click",function(){var b=a.find("#prices_filter_from").val(),f=a.find("#prices_filter_to").val(),g=e+k+"max_price="+f+"&min_price="+b,b=b+" - "+f+" "+h;menuItem={"-1":{"menu-item-type":"custom","menu-item-url":g,"menu-item-title":b,"menu-item-db-id":0,"menu-item-parent-id":0}};
var c=d.find("img.waiting").show();wpNavMenu.addLinkToMenu(g,b,!1,function(){c.hide()})})})(jQuery);