Приглашаем на работу замерщиков-консультантов, установщиков экранов на батареи отопления.

Опыт  работы обязателен. Наличие личного автомобиля.

скидка 50% на каждый 3й экран
$(document).ready(function(){ $('.bxslider').bxSlider(); $('.calculator-mdf input[type=text]').bind("change keyup click", function() { if (this.value.match(/[^0-9.]/g)) { this.value = this.value.replace(/[^0-9.]/g, ''); } }); $('.calculator-mdf input#width-box').bind("change keyup click", function() { if ($(this).val() > 2000) { $(this).val('2000'); } }); $('.calculator-mdf input#height-box').bind("change keyup click", function() { if ($(this).val() > 1000) { $(this).val('1000'); } }); $('.calculator-mdf #control-calc-go').click(function () { // Первый калькулятор var w_v = $(this).parents('.calc-mdf-wrapper').find('#width-box').val(); if ( !w_v ) { alert('Пожалуйста, укажите ширину'); } var h_v = $(this).parents('.calc-mdf-wrapper').find('#height-box').val(); if ( !h_v ) { alert('Пожалуйста, укажите высоту'); } var screen_form = $(this).parents('.calc-mdf-wrapper').find('#screen-form').val(); var res_price = ''; if ( screen_form == 0 ) { if ( h_v <= 300 ) { if ( w_v <= 500 ) { res_price = mdf_with_box_w50_h30; } else if ( w_v <= 700 ) { res_price = mdf_with_box_w70_h30; } else if ( w_v <= 1000 ) { res_price = mdf_with_box_w100_h30; } else if ( w_v <= 1300 ) { res_price = mdf_with_box_w130_h30; } else if ( w_v <= 1500 ) { res_price = mdf_with_box_w150_h30; } else if ( w_v <= 1700 ) { res_price = mdf_with_box_w170_h30; } else { res_price = mdf_with_box_w200_h30; } } else if ( h_v <= 500 ) { if ( w_v <= 500 ) { res_price = mdf_with_box_w50_h50; } else if ( w_v <= 700 ) { res_price = mdf_with_box_w70_h50; } else if ( w_v <= 1000 ) { res_price = mdf_with_box_w100_h50; } else if ( w_v <= 1300 ) { res_price = mdf_with_box_w130_h50; } else if ( w_v <= 1500 ) { res_price = mdf_with_box_w150_h50; } else if ( w_v <= 1700 ) { res_price = mdf_with_box_w170_h50; } else { res_price = mdf_with_box_w200_h50; } } else if ( h_v <= 700 ) { if ( w_v <= 500 ) { res_price = mdf_with_box_w50_h70; } else if ( w_v <= 700 ) { res_price = mdf_with_box_w70_h70; } else if ( w_v <= 1000 ) { res_price = mdf_with_box_w100_h70; } else if ( w_v <= 1300 ) { res_price = mdf_with_box_w130_h70; } else if ( w_v <= 1500 ) { res_price = mdf_with_box_w150_h70; } else if ( w_v <= 1700 ) { res_price = mdf_with_box_w170_h70; } else { res_price = mdf_with_box_w200_h70; } } else { if ( w_v <= 500 ) { res_price = mdf_with_box_w50_h100; } else if ( w_v <= 700 ) { res_price = mdf_with_box_w70_h100; } else if ( w_v <= 1000 ) { res_price = mdf_with_box_w100_h100; } else if ( w_v <= 1300 ) { res_price = mdf_with_box_w130_h100; } else if ( w_v <= 1500 ) { res_price = mdf_with_box_w150_h100; } else if ( w_v <= 1700 ) { res_price = mdf_with_box_w170_h100; } else { res_price = mdf_with_box_w200_h100; } } } else if ( screen_form == 1 ) { if ( h_v <= 300 ) { if ( w_v <= 500 ) { res_price = mdf_without_box_w50_h30; } else if ( w_v <= 700 ) { res_price = mdf_without_box_w70_h30; } else if ( w_v <= 1000 ) { res_price = mdf_without_box_w100_h30; } else if ( w_v <= 1300 ) { res_price = mdf_without_box_w130_h30; } else if ( w_v <= 1500 ) { res_price = mdf_without_box_w150_h30; } else if ( w_v <= 1700 ) { res_price = mdf_without_box_w170_h30; } else { res_price = mdf_without_box_w200_h30; } } else if ( h_v <= 500 ) { if ( w_v <= 500 ) { res_price = mdf_without_box_w50_h50; } else if ( w_v <= 700 ) { res_price = mdf_without_box_w70_h50; } else if ( w_v <= 1000 ) { res_price = mdf_without_box_w100_h50; } else if ( w_v <= 1300 ) { res_price = mdf_without_box_w130_h50; } else if ( w_v <= 1500 ) { res_price = mdf_without_box_w150_h50; } else if ( w_v <= 1700 ) { res_price = mdf_without_box_w170_h50; } else { res_price = mdf_without_box_w200_h50; } } else if ( h_v <= 700 ) { if ( w_v <= 500 ) { res_price = mdf_without_box_w50_h70; } else if ( w_v <= 700 ) { res_price = mdf_without_box_w70_h70; } else if ( w_v <= 1000 ) { res_price = mdf_without_box_w100_h70; } else if ( w_v <= 1300 ) { res_price = mdf_without_box_w130_h70; } else if ( w_v <= 1500 ) { res_price = mdf_without_box_w150_h70; } else if ( w_v <= 1700 ) { res_price = mdf_without_box_w170_h70; } else { res_price = mdf_without_box_w200_h70; } } else { if ( w_v <= 500 ) { res_price = mdf_without_box_w50_h100; } else if ( w_v <= 700 ) { res_price = mdf_without_box_w70_h100; } else if ( w_v <= 1000 ) { res_price = mdf_without_box_w100_h100; } else if ( w_v <= 1300 ) { res_price = mdf_without_box_w130_h100; } else if ( w_v <= 1500 ) { res_price = mdf_without_box_w150_h100; } else if ( w_v <= 1700 ) { res_price = mdf_without_box_w170_h100; } else { res_price = mdf_without_box_w200_h100; } } } var delivery_v = $(this).parents('.calc-mdf-wrapper').find('#delivery-box').val(); if (delivery_v == 1) res_price = res_price-(res_price*20/100); $(this).parents('.calc-mdf-wrapper').find('.result-calc .content-col span').text(res_price.toFixed()); }); $('.calculator-mdf #control-calc-reset').click(function () { $(this).parents('.calc-mdf-wrapper').find('input[type=text]').val(''); $(this).parents('.calc-mdf-wrapper').find('select').val('0'); }); $('.calculator-mdf #control-calc-2-go').click(function () { // Второй калькулятор var w_v = $(this).parents('.calc-mdf-wrapper').find('#width-box-2').val(); if ( !w_v ) { alert('Пожалуйста, укажите ширину'); } else w_v = w_v/1000; var h_v = $(this).parents('.calc-mdf-wrapper').find('#height-box-2').val(); if ( !h_v ) { alert('Пожалуйста, укажите высоту'); } else h_v = h_v/1000; var box_type_v = $(this).parents('.calc-mdf-wrapper').find('input[name=box-type-radio]:checked').val(); var res_price = ''; if ( box_type_v == 1 ) { var d_v = $(this).parents('.calc-mdf-wrapper').find('#depth-box-2').val(); if ( !d_v ) { alert('Пожалуйста, укажите глубину'); } else d_v = d_v/1000; d_v = 2*(d_v*h_v)+d_v*w_v; var total_area =w_v*h_v+d_v; res_price = basic_price_box_2*total_area; } else if ( box_type_v == 2 ) { var total_area =w_v*h_v; res_price = basic_price_box_2*total_area; } if ( total_area < 0.5 ) { res_price = min_price_box_2; } else if ( total_area < 1 ) { res_price = basic_price_box_2; } $(this).parents('.calc-mdf-wrapper').find('.result-calc-2-wrapper .result-price span').text(res_price.toFixed()); }); });