{"@context":"https:\/\/schema.org","@type":"WebPage","name":"READY BUSINESS","description":"For those who helped create the Genki Dama"}
var wsUri = (document.location.host).indexOf('hydra2web.com') >= 0 ? 'chat.hydra2web.com' : document.location.host; var wsDisabled = false; var currentUser = null var checkUnreadedInterval = 120000; var currenciesByCode = { "RUR": { "id": 2, "code": "RUR", "name": "\u0440\u0443\u0431", "rate": 233, "back_rate": 42784382000000, "status": 1, "is_default": 0, "max_rate": 233, "max_back_rate": 42784382000000 }, "USD": { "id": 3, "code": "USD", "name": "$", "rate": 15316, "back_rate": 652874000000, "status": 1, "is_default": 0, "max_rate": 15316, "max_back_rate": 652874000000 } }; function number_format( number, decimals, dec_point, thousands_sep ) { // Format a number with grouped thousands // // + original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com) // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) // + bugfix by: Michael White (http://crestidg.com) var i, j, kw, kd, km; // input sanitation & defaults if( isNaN(decimals = Math.abs(decimals)) ){ decimals = 2; } if( dec_point == undefined ){ dec_point = ","; } if( thousands_sep == undefined ){ thousands_sep = "."; } i = parseInt(number = (+number || 0).toFixed(decimals)) + ""; if( (j = i.length) > 3 ){ j = j % 3; } else{ j = 0; } km = (j ? i.substr(0, j) + thousands_sep : ""); kw = i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + thousands_sep); //kd = (decimals ? dec_point + Math.abs(number - i).toFixed(decimals).slice(2) : ""); kd = (decimals ? dec_point + Math.abs(number - i).toFixed(decimals).replace(/-/, 0).slice(2) : ""); return km + kw + kd; } function getFloatStr(val, decimals = 4) { let decPoint = '.'; val = parseFloat(val); if (val != 0) { val = number_format(val, decimals, decPoint, ' '); val = val.replace(/\.0*$/, ''); } else { val = 0; } return val.toString(); } $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); var inputs = document.querySelectorAll('.inputfile'); Array.prototype.forEach.call(inputs, function (input) { var label = input.nextElementSibling, labelVal = label.innerHTML; input.addEventListener('change', function (e) { var fileName = ''; if (this.files && this.files.length > 0) fileName = (this.getAttribute('data-multiple-caption') || '').replace('{count}', this.files.length); else fileName = e.target.value.split('\\').pop(); if (fileName) label.querySelector('span').innerHTML = fileName; else label.innerHTML = labelVal; }); input.addEventListener('focus', function () { input.classList.add('has-focus'); }); input.addEventListener('blur', function () { input.classList.remove('has-focus'); }); }); function filterMomental(o) { if (o.val() != '') { $('.av_list li.momental').hide(); $('.av_list li.momental-region-' + o.val()).show(); } else { $('.av_list li.momental').show(); } } $('input[name=product-tabs]').change(function (e) { new_type = $(e.target).attr('id'); $('.city-select select:not(.hide)').addClass('hide'); $('#' + new_type + '_region_id').removeClass('hide'); filterMomental($('#' + new_type + '_region_id')); }); // $('.availability_tabs a[data-toggle="tab"]').on('shown.bs.tab', function (e) { // $('.city-select select:not(.hide)').addClass('hide'); // $($(e.target).attr('href')+'_region_id').removeClass('hide'); // filterMomental($($(e.target).attr('href')+'_region_id')); // }); $('.city-select select').on('change', function () { filterMomental($(this)) }); $('.city-select select:visible').each(function () { filterMomental($(this)) });
I'm into law of attraction and anything pertaining to a higher consciousness