1var cp_hourbk_cancel_label = 'Abbrechen'; 2 var cp_hourbk_quantity_label = 'Quantity'; 3 var cp_hourbk_cost_label = 'Cost'; 4 var cp_hourbk_overlapping_label = 'Selected time is no longer available. Please select a different time.'; 5 var cp_hourbk_nomore_label = 'No more slots available.'; 6 var cp_hourbk_avoid_overlapping = 0; 7 var apphboverbooking_handler1 = false; 8 function cp_appbooking_pform_doValidate_2(form) 9 { 10 var counteridn = 2; 11 var counterid = "_"+counteridn; 12 try { if (form.cp_appbooking_pform_status.value == '1') return false; } catch (e) {} 13 $dexQuery = jQuery.noConflict(); 14 try { form.cp_ref_page.value = document.location; } catch (e) {} 15 $dexQuery = jQuery.noConflict(); { 16 var cpefb_error = 0; 17 $dexQuery("#"+form.id).find(".cpefb_error").each(function(index){ 18 if ($dexQuery(this).css("display")!="none") 19 cpefb_error++; 20 }); 21 if (cpefb_error==0) 22 { 23 if (!apphboverbooking_handler1) 24 { 25 try { form.cp_appbooking_pform_status.value = '1'; } catch (e) {} 26 apphbblink_2(".pbSubmit:visible", form); 27 $dexQuery("#"+form.id).find(".avoid_overlapping_before").not(".ignore,.ignorepb").removeClass("avoid_overlapping_before").removeClass("valid").addClass("avoid_overlapping"); 28 cp_hourbk_avoid_overlapping = 1; 29 try { 30 $dexQuery("#"+form.id).find(".avoid_overlapping").valid(); 31 } catch (e) { cp_hourbk_avoid_overlapping = 0; } 32 function check_cp_hourbk_avoid_overlapping(){ 33 if (cp_hourbk_avoid_overlapping>0) 34 setTimeout(check_cp_hourbk_avoid_overlapping,100); 35 else 36 { 37 var cpefb_error = 0; 38 $dexQuery("#"+form.id).find(".cpefb_error").each(function(index){ 39 if ($dexQuery(this).css("display")!="none") 40 cpefb_error++; 41 }); 42 try { form.cp_appbooking_pform_status.value = '0'; } catch (e) {} 43 if (cpefb_error==0) 44 { 45 apphboverbooking_handler1 = true; 46 if (cp_appbooking_pform_doValidate_2(form)) 47 { 48 $dexQuery( ".pbSubmit" ).unbind(); 49 if ($dexQuery( ".pbSubmit" ).hasClass("nofirst")) 50 return false; 51 $dexQuery( ".pbSubmit" ).addClass("nofirst"); 52 form.submit(); 53 } 54 } 55 } 56 } 57 check_cp_hourbk_avoid_overlapping(); 58 return false; 59 } 60 $dexQuery("#"+form.id).find( '.ignore' ).closest( '.fields' ).remove(); 61 } 62 document.getElementById("form_structure"+counterid).value = ''; 63 document.getElementById("refpage"+counterid).value = document.location; 64 try { 65 if (cpefb_error==0) 66 { 67 form.cp_appbooking_pform_status.value = '1'; 68 apphbblink_2(".pbSubmit", form); 69 } 70 } catch (e) {} 71 return true; 72 } 73 } 74 function apphbblink_2(selector, form){ 75 try { 76 $dexQuery = jQuery.noConflict(); 77 $dexQuery(selector).fadeOut(1000, function(){ 78 $dexQuery(this).fadeIn(1000, function(){ 79 try { 80 if (form.cp_appbooking_pform_status.value != '0') 81 apphbblink_2(this, form); 82 } catch (e) { console.log(e)} 83 }); 84 }); 85 } catch (e) {} 86 } 87 function cp_appbooking_cerror_2(){$dexQuery = jQuery.noConflict();$dexQuery("#hdcaptcha_error_2").css('top',$dexQuery("#hdcaptcha_cp_appbooking_post_2").outerHeight());$dexQuery("#hdcaptcha_error_2").css("display","inline");}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.