> $(".bottom_submenu ul.submenu li").click(function() { $(".bottom_submenu ul.submenu li").removeClass("selected"); $(this).addClass("selected"); }); $(".bottom_submenu ul.submenu li").click(function() { $(".bottom_submenu ul.submenu li").removeClass("selected"); $(this).addClass("selected"); }); function jsPriceFormat(_number){ BX.Currency.setCurrencyFormat('RUB', {'CURRENCY':'RUB','LID':'ru','FORMAT_STRING':'# руб.','FULL_NAME':'Рубль','DEC_POINT':'.','THOUSANDS_SEP':' ','DECIMALS':'2','THOUSANDS_VARIANT':'S','HIDE_ZERO':'Y','CREATED_BY':'','DATE_CREATE':'2015-12-17 23:00:35','MODIFIED_BY':'0','TIMESTAMP_X':'2016-07-14 11:48:13'}); return BX.Currency.currencyFormat(_number, 'RUB', true); }