 var h_pad = $('#height-padding').val().replace(/[^\d.-]/g, '');
          switch($('#case-type').val()) {
            case 'poker':
              data['mount-holes-size'] = 5;
              data['width-padding'] = -0.375; // 285.75mm => 285mm
              data['height-padding'] = -0.325; // 95.25mm => 94.6mm
              break;
            case 'sandwich':
              if (holes == '' || parseInt(holes) < 4 || (parseInt(holes) % 2 == 1)) {
                $('#mount-holes-num').addClass('ui-state-error')