jQuery(document).ready(function(){ }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950]"); //alert(jQuery("[id^=input-950]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950]").prop("checked")) { jQuery("[id^=input-950]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-950-904-SF21SSI]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-904-SF21SSI]").remove(); jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-950]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 950 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-950]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-971]"); //alert(jQuery("[id^=input-971]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-971]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-971]").prop("checked")) { jQuery("[id^=input-971]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-971-904-SF21SSI]").length === 0) { jQuery("[id^=note-971]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-971]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-971]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-971-904-SF21SSI]").remove(); jQuery("[id^=input-971]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-971]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-971]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 971 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-971]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-972]"); //alert(jQuery("[id^=input-972]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-972]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-972]").prop("checked")) { jQuery("[id^=input-972]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-972-904-SF21SSI]").length === 0) { jQuery("[id^=note-972]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-972]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-972]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-972-904-SF21SSI]").remove(); jQuery("[id^=input-972]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-972]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-972]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 972 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-972]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-973]"); //alert(jQuery("[id^=input-973]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-973]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-973]").prop("checked")) { jQuery("[id^=input-973]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-973-904-SF21SSI]").length === 0) { jQuery("[id^=note-973]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-973]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-973]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-973-904-SF21SSI]").remove(); jQuery("[id^=input-973]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-973]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-973]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 973 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-973]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-974]"); //alert(jQuery("[id^=input-974]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-974]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-974]").prop("checked")) { jQuery("[id^=input-974]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-974-904-SF21SSI]").length === 0) { jQuery("[id^=note-974]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-974]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-974]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-974-904-SF21SSI]").remove(); jQuery("[id^=input-974]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-974]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-974]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 974 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-974]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-976]"); //alert(jQuery("[id^=input-976]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-976]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-976]").prop("checked")) { jQuery("[id^=input-976]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-976-904-SF21SSI]").length === 0) { jQuery("[id^=note-976]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-976]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-976]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-976-904-SF21SSI]").remove(); jQuery("[id^=input-976]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-976]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-976]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 976 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-976]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-925]"); //alert(jQuery("[id^=input-925]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-925]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-925]").prop("checked")) { jQuery("[id^=input-925]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-925-904-SF21SSI]").length === 0) { jQuery("[id^=note-925]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-925]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-925]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-925-904-SF21SSI]").remove(); jQuery("[id^=input-925]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-925]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-925]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 925 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-925]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-926]"); //alert(jQuery("[id^=input-926]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-926]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-926]").prop("checked")) { jQuery("[id^=input-926]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-926-904-SF21SSI]").length === 0) { jQuery("[id^=note-926]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-926]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-926]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-926-904-SF21SSI]").remove(); jQuery("[id^=input-926]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-926]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-926]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 926 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-926]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-927]"); //alert(jQuery("[id^=input-927]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-927]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-927]").prop("checked")) { jQuery("[id^=input-927]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-927-904-SF21SSI]").length === 0) { jQuery("[id^=note-927]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-927]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-927]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-927-904-SF21SSI]").remove(); jQuery("[id^=input-927]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-927]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-927]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 927 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-927]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-931]"); //alert(jQuery("[id^=input-931]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-931]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-931]").prop("checked")) { jQuery("[id^=input-931]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-931-904-SF21SSI]").length === 0) { jQuery("[id^=note-931]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-931]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-931]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-931-904-SF21SSI]").remove(); jQuery("[id^=input-931]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-931]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-931]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 931 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-931]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SF21SSI").change(function(){ if(jQuery("#input-904-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-928]"); //alert(jQuery("[id^=input-928]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-928]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-928]").prop("checked")) { jQuery("[id^=input-928]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-928-904-SF21SSI]").length === 0) { jQuery("[id^=note-928]").append("
(N/A with 904-SF21SSI - Black Hull Bottom)
"); } jQuery("[id^=input-928]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-928]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-928-904-SF21SSI]").remove(); jQuery("[id^=input-928]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-928]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-SF21SSI"); //alert(jQuery("[id^=input-904-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-904-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-SF21SSI").prop("checked")) { jQuery("#input-904-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-SF21SSI-928]").length === 0) { jQuery("#note-904-SF21SSI").append("
(N/A with 928 )
"); } jQuery("[id^=input-904-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SF21SSI-928]").remove(); jQuery("[id^=input-904-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSIBLK").change(function(){ if(jQuery("#input-652-SF21SSIBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-652-SF21SSIBLK]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-SF21SSIBLK - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-SF21SSIBLK]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSIBLK"); //alert(jQuery("[id^=input-652-SF21SSIBLK]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSIBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSIBLK").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSIBLK").prop("checked")) { jQuery("#input-652-SF21SSIBLK").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSIBLK"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSIBLK-692B]").length === 0) { jQuery("#note-652-SF21SSIBLK").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-SF21SSIBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSIBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSIBLK-692B]").remove(); jQuery("[id^=input-652-SF21SSIBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSIBLK").change(function(){ if(jQuery("#input-652-SF21SSIBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-652-SF21SSIBLK]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-SF21SSIBLK - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-SF21SSIBLK]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSIBLK"); //alert(jQuery("[id^=input-652-SF21SSIBLK]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSIBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSIBLK").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSIBLK").prop("checked")) { jQuery("#input-652-SF21SSIBLK").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSIBLK"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSIBLK-692W]").length === 0) { jQuery("#note-652-SF21SSIBLK").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-SF21SSIBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSIBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSIBLK-692W]").remove(); jQuery("[id^=input-652-SF21SSIBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSIBLU").change(function(){ if(jQuery("#input-652-SF21SSIBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-652-SF21SSIBLU]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-SF21SSIBLU - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-SF21SSIBLU]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSIBLU"); //alert(jQuery("[id^=input-652-SF21SSIBLU]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSIBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSIBLU").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSIBLU").prop("checked")) { jQuery("#input-652-SF21SSIBLU").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSIBLU"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSIBLU-692B]").length === 0) { jQuery("#note-652-SF21SSIBLU").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-SF21SSIBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSIBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSIBLU-692B]").remove(); jQuery("[id^=input-652-SF21SSIBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSIBLU").change(function(){ if(jQuery("#input-652-SF21SSIBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-652-SF21SSIBLU]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-SF21SSIBLU - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-SF21SSIBLU]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSIBLU"); //alert(jQuery("[id^=input-652-SF21SSIBLU]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSIBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSIBLU").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSIBLU").prop("checked")) { jQuery("#input-652-SF21SSIBLU").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSIBLU"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSIBLU-692W]").length === 0) { jQuery("#note-652-SF21SSIBLU").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-SF21SSIBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSIBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSIBLU-692W]").remove(); jQuery("[id^=input-652-SF21SSIBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSIFRE").change(function(){ if(jQuery("#input-652-SF21SSIFRE").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-652-SF21SSIFRE]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-SF21SSIFRE - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-SF21SSIFRE]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSIFRE"); //alert(jQuery("[id^=input-652-SF21SSIFRE]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSIFRE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSIFRE").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSIFRE").prop("checked")) { jQuery("#input-652-SF21SSIFRE").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSIFRE"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSIFRE-692B]").length === 0) { jQuery("#note-652-SF21SSIFRE").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-SF21SSIFRE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSIFRE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSIFRE-692B]").remove(); jQuery("[id^=input-652-SF21SSIFRE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSIFRE").change(function(){ if(jQuery("#input-652-SF21SSIFRE").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-652-SF21SSIFRE]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-SF21SSIFRE - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-SF21SSIFRE]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSIFRE"); //alert(jQuery("[id^=input-652-SF21SSIFRE]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSIFRE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSIFRE").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSIFRE").prop("checked")) { jQuery("#input-652-SF21SSIFRE").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSIFRE"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSIFRE-692W]").length === 0) { jQuery("#note-652-SF21SSIFRE").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-SF21SSIFRE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSIFRE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSIFRE-692W]").remove(); jQuery("[id^=input-652-SF21SSIFRE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSISBL").change(function(){ if(jQuery("#input-652-SF21SSISBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-652-SF21SSISBL]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-SF21SSISBL - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-SF21SSISBL]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSISBL"); //alert(jQuery("[id^=input-652-SF21SSISBL]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSISBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSISBL").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSISBL").prop("checked")) { jQuery("#input-652-SF21SSISBL").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSISBL"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSISBL-692B]").length === 0) { jQuery("#note-652-SF21SSISBL").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-SF21SSISBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSISBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSISBL-692B]").remove(); jQuery("[id^=input-652-SF21SSISBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-SF21SSISBL").change(function(){ if(jQuery("#input-652-SF21SSISBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-652-SF21SSISBL]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-SF21SSISBL - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-SF21SSISBL]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-SF21SSISBL"); //alert(jQuery("[id^=input-652-SF21SSISBL]").attr("title")); //alert(jQuery("[id^=input-652-SF21SSISBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-SF21SSISBL").prop("disabled", true); // determine if checked if(jQuery("#input-652-SF21SSISBL").prop("checked")) { jQuery("#input-652-SF21SSISBL").removeAttr("checked").change(); } //console.log("if of reverse input-652-SF21SSISBL"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-652-SF21SSISBL-692W]").length === 0) { jQuery("#note-652-SF21SSISBL").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-SF21SSISBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-SF21SSISBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-SF21SSISBL-692W]").remove(); jQuery("[id^=input-652-SF21SSISBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-SF21SSI").change(function(){ if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-619NWT-SF21SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 619NWT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-619NWT-SF21SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-SF21SSI"); //alert(jQuery("[id^=input-619NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { jQuery("#input-619NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWT-SF21SSI-692B]").length === 0) { jQuery("#note-619NWT-SF21SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-SF21SSI-692B]").remove(); jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-SF21SSI").change(function(){ if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-619NWT-SF21SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 619NWT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-619NWT-SF21SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-SF21SSI"); //alert(jQuery("[id^=input-619NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { jQuery("#input-619NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWT-SF21SSI-692W]").length === 0) { jQuery("#note-619NWT-SF21SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-SF21SSI-692W]").remove(); jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-SF21SSI").change(function(){ if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-619NWT-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 619NWT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-619NWT-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-SF21SSI"); //alert(jQuery("[id^=input-619NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { jQuery("#input-619NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWT-SF21SSI-685]").length === 0) { jQuery("#note-619NWT-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-SF21SSI-685]").remove(); jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-SF21SSI").change(function(){ if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-694]"); //alert(jQuery("[id^=input-694]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-694]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-694]").prop("checked")) { jQuery("[id^=input-694]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-694-619NWT-SF21SSI]").length === 0) { jQuery("[id^=note-694]").append("
(N/A with 619NWT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-694]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-694]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-694-619NWT-SF21SSI]").remove(); jQuery("[id^=input-694]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-694]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-SF21SSI"); //alert(jQuery("[id^=input-619NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { jQuery("#input-619NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWT-SF21SSI-694]").length === 0) { jQuery("#note-619NWT-SF21SSI").append("
(N/A with 694 )
"); } jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-SF21SSI-694]").remove(); jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-SF21SSI").change(function(){ if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-696]"); //alert(jQuery("[id^=input-696]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-696]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-696]").prop("checked")) { jQuery("[id^=input-696]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-696-619NWT-SF21SSI]").length === 0) { jQuery("[id^=note-696]").append("
(N/A with 619NWT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-696]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-696]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-696-619NWT-SF21SSI]").remove(); jQuery("[id^=input-696]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-696]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-SF21SSI"); //alert(jQuery("[id^=input-619NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-SF21SSI").prop("checked")) { jQuery("#input-619NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWT-SF21SSI-696]").length === 0) { jQuery("#note-619NWT-SF21SSI").append("
(N/A with 696 )
"); } jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-SF21SSI-696]").remove(); jQuery("[id^=input-619NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-619NWTEP-SF21SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 619NWTEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-619NWTEP-SF21SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTEP-SF21SSI"); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { jQuery("#input-619NWTEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-692B]").length === 0) { jQuery("#note-619NWTEP-SF21SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-692B]").remove(); jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-619NWTEP-SF21SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 619NWTEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-619NWTEP-SF21SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTEP-SF21SSI"); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { jQuery("#input-619NWTEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-692W]").length === 0) { jQuery("#note-619NWTEP-SF21SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-692W]").remove(); jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-694]"); //alert(jQuery("[id^=input-694]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-694]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-694]").prop("checked")) { jQuery("[id^=input-694]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-694-619NWTEP-SF21SSI]").length === 0) { jQuery("[id^=note-694]").append("
(N/A with 619NWTEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-694]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-694]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-694-619NWTEP-SF21SSI]").remove(); jQuery("[id^=input-694]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-694]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTEP-SF21SSI"); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { jQuery("#input-619NWTEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-694]").length === 0) { jQuery("#note-619NWTEP-SF21SSI").append("
(N/A with 694 )
"); } jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-694]").remove(); jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-696]"); //alert(jQuery("[id^=input-696]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-696]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-696]").prop("checked")) { jQuery("[id^=input-696]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-696-619NWTEP-SF21SSI]").length === 0) { jQuery("[id^=note-696]").append("
(N/A with 619NWTEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-696]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-696]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-696-619NWTEP-SF21SSI]").remove(); jQuery("[id^=input-696]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-696]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTEP-SF21SSI"); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { jQuery("#input-619NWTEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-696]").length === 0) { jQuery("#note-619NWTEP-SF21SSI").append("
(N/A with 696 )
"); } jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTEP-SF21SSI-696]").remove(); jQuery("[id^=input-619NWTEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTTM-SF21SSI").change(function(){ if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-619NWTTM-SF21SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 619NWTTM-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-619NWTTM-SF21SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTTM-SF21SSI"); //alert(jQuery("[id^=input-619NWTTM-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTTM-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTTM-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { jQuery("#input-619NWTTM-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTTM-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTTM-SF21SSI-692B]").length === 0) { jQuery("#note-619NWTTM-SF21SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-619NWTTM-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTTM-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTTM-SF21SSI-692B]").remove(); jQuery("[id^=input-619NWTTM-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTTM-SF21SSI").change(function(){ if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-619NWTTM-SF21SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 619NWTTM-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-619NWTTM-SF21SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTTM-SF21SSI"); //alert(jQuery("[id^=input-619NWTTM-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTTM-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTTM-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { jQuery("#input-619NWTTM-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTTM-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTTM-SF21SSI-692W]").length === 0) { jQuery("#note-619NWTTM-SF21SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-619NWTTM-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTTM-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTTM-SF21SSI-692W]").remove(); jQuery("[id^=input-619NWTTM-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTTM-SF21SSI").change(function(){ if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-619NWTTM-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 619NWTTM-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-619NWTTM-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTTM-SF21SSI"); //alert(jQuery("[id^=input-619NWTTM-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTTM-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTTM-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { jQuery("#input-619NWTTM-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTTM-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTTM-SF21SSI-685]").length === 0) { jQuery("#note-619NWTTM-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-619NWTTM-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTTM-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTTM-SF21SSI-685]").remove(); jQuery("[id^=input-619NWTTM-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTTMEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTTMEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-619NWTTMEP-SF21SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 619NWTTMEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-619NWTTMEP-SF21SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTTMEP-SF21SSI"); //alert(jQuery("[id^=input-619NWTTMEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTTMEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTTMEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTTMEP-SF21SSI").prop("checked")) { jQuery("#input-619NWTTMEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTTMEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTTMEP-SF21SSI-692B]").length === 0) { jQuery("#note-619NWTTMEP-SF21SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-619NWTTMEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTTMEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTTMEP-SF21SSI-692B]").remove(); jQuery("[id^=input-619NWTTMEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTTMEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTTMEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-619NWTTMEP-SF21SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 619NWTTMEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-619NWTTMEP-SF21SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTTMEP-SF21SSI"); //alert(jQuery("[id^=input-619NWTTMEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTTMEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTTMEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTTMEP-SF21SSI").prop("checked")) { jQuery("#input-619NWTTMEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTTMEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619NWTTMEP-SF21SSI-692W]").length === 0) { jQuery("#note-619NWTTMEP-SF21SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-619NWTTMEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTTMEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTTMEP-SF21SSI-692W]").remove(); jQuery("[id^=input-619NWTTMEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WT-SF21SSI").change(function(){ if(jQuery("#input-619WT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-619WT-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 619WT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-619WT-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WT-SF21SSI"); //alert(jQuery("[id^=input-619WT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619WT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WT-SF21SSI").prop("checked")) { jQuery("#input-619WT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WT-SF21SSI-685]").length === 0) { jQuery("#note-619WT-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-619WT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WT-SF21SSI-685]").remove(); jQuery("[id^=input-619WT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WT-SF21SSI").change(function(){ if(jQuery("#input-619WT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-694]"); //alert(jQuery("[id^=input-694]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-694]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-694]").prop("checked")) { jQuery("[id^=input-694]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-694-619WT-SF21SSI]").length === 0) { jQuery("[id^=note-694]").append("
(N/A with 619WT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-694]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-694]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-694-619WT-SF21SSI]").remove(); jQuery("[id^=input-694]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-694]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WT-SF21SSI"); //alert(jQuery("[id^=input-619WT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619WT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WT-SF21SSI").prop("checked")) { jQuery("#input-619WT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WT-SF21SSI-694]").length === 0) { jQuery("#note-619WT-SF21SSI").append("
(N/A with 694 )
"); } jQuery("[id^=input-619WT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WT-SF21SSI-694]").remove(); jQuery("[id^=input-619WT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WT-SF21SSI").change(function(){ if(jQuery("#input-619WT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-696]"); //alert(jQuery("[id^=input-696]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-696]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-696]").prop("checked")) { jQuery("[id^=input-696]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-696-619WT-SF21SSI]").length === 0) { jQuery("[id^=note-696]").append("
(N/A with 619WT-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-696]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-696]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-696-619WT-SF21SSI]").remove(); jQuery("[id^=input-696]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-696]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WT-SF21SSI"); //alert(jQuery("[id^=input-619WT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619WT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WT-SF21SSI").prop("checked")) { jQuery("#input-619WT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WT-SF21SSI-696]").length === 0) { jQuery("#note-619WT-SF21SSI").append("
(N/A with 696 )
"); } jQuery("[id^=input-619WT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WT-SF21SSI-696]").remove(); jQuery("[id^=input-619WT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WTEP-SF21SSI").change(function(){ if(jQuery("#input-619WTEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-694]"); //alert(jQuery("[id^=input-694]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-694]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-694]").prop("checked")) { jQuery("[id^=input-694]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-694-619WTEP-SF21SSI]").length === 0) { jQuery("[id^=note-694]").append("
(N/A with 619WTEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-694]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-694]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-694-619WTEP-SF21SSI]").remove(); jQuery("[id^=input-694]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-694]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WTEP-SF21SSI"); //alert(jQuery("[id^=input-619WTEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619WTEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WTEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WTEP-SF21SSI").prop("checked")) { jQuery("#input-619WTEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WTEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WTEP-SF21SSI-694]").length === 0) { jQuery("#note-619WTEP-SF21SSI").append("
(N/A with 694 )
"); } jQuery("[id^=input-619WTEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WTEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WTEP-SF21SSI-694]").remove(); jQuery("[id^=input-619WTEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WTEP-SF21SSI").change(function(){ if(jQuery("#input-619WTEP-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-696]"); //alert(jQuery("[id^=input-696]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-696]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-696]").prop("checked")) { jQuery("[id^=input-696]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-696-619WTEP-SF21SSI]").length === 0) { jQuery("[id^=note-696]").append("
(N/A with 619WTEP-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-696]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-696]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-696-619WTEP-SF21SSI]").remove(); jQuery("[id^=input-696]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-696]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WTEP-SF21SSI"); //alert(jQuery("[id^=input-619WTEP-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619WTEP-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WTEP-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WTEP-SF21SSI").prop("checked")) { jQuery("#input-619WTEP-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WTEP-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WTEP-SF21SSI-696]").length === 0) { jQuery("#note-619WTEP-SF21SSI").append("
(N/A with 696 )
"); } jQuery("[id^=input-619WTEP-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WTEP-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WTEP-SF21SSI-696]").remove(); jQuery("[id^=input-619WTEP-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WTTM-SF21SSI").change(function(){ if(jQuery("#input-619WTTM-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-619WTTM-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 619WTTM-SF21SSI - Mooring Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-619WTTM-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WTTM-SF21SSI"); //alert(jQuery("[id^=input-619WTTM-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-619WTTM-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WTTM-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WTTM-SF21SSI").prop("checked")) { jQuery("#input-619WTTM-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WTTM-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WTTM-SF21SSI-685]").length === 0) { jQuery("#note-619WTTM-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-619WTTM-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WTTM-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WTTM-SF21SSI-685]").remove(); jQuery("[id^=input-619WTTM-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-695-SF21SSIG").change(function(){ if(jQuery("#input-695-SF21SSIG").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-695-SF21SSIG]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 695-SF21SSIG - Seadek Swim Platform Mat)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-695-SF21SSIG]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-695-SF21SSIG"); //alert(jQuery("[id^=input-695-SF21SSIG]").attr("title")); //alert(jQuery("[id^=input-695-SF21SSIG]").is(":checked")); // disable the includes and unchecks it jQuery("#input-695-SF21SSIG").prop("disabled", true); // determine if checked if(jQuery("#input-695-SF21SSIG").prop("checked")) { jQuery("#input-695-SF21SSIG").removeAttr("checked").change(); } //console.log("if of reverse input-695-SF21SSIG"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-695-SF21SSIG-685]").length === 0) { jQuery("#note-695-SF21SSIG").append("
(N/A with 685 )
"); } jQuery("[id^=input-695-SF21SSIG]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-695-SF21SSIG").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-695-SF21SSIG-685]").remove(); jQuery("[id^=input-695-SF21SSIG]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-695-SF21SSIC").change(function(){ if(jQuery("#input-695-SF21SSIC").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-695-SF21SSIC]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 695-SF21SSIC - Seadek Swim Platform Mat)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-695-SF21SSIC]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-695-SF21SSIC"); //alert(jQuery("[id^=input-695-SF21SSIC]").attr("title")); //alert(jQuery("[id^=input-695-SF21SSIC]").is(":checked")); // disable the includes and unchecks it jQuery("#input-695-SF21SSIC").prop("disabled", true); // determine if checked if(jQuery("#input-695-SF21SSIC").prop("checked")) { jQuery("#input-695-SF21SSIC").removeAttr("checked").change(); } //console.log("if of reverse input-695-SF21SSIC"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-695-SF21SSIC-685]").length === 0) { jQuery("#note-695-SF21SSIC").append("
(N/A with 685 )
"); } jQuery("[id^=input-695-SF21SSIC]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-695-SF21SSIC").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-695-SF21SSIC-685]").remove(); jQuery("[id^=input-695-SF21SSIC]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685NWT-SF21SSI").change(function(){ if(jQuery("#input-685NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692B-685NWT-SF21SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 685NWT-SF21SSI - Extended Swim Platform)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-685NWT-SF21SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685NWT-SF21SSI"); //alert(jQuery("[id^=input-685NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-685NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-685NWT-SF21SSI").prop("checked")) { jQuery("#input-685NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-685NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685NWT-SF21SSI-692B]").length === 0) { jQuery("#note-685NWT-SF21SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-685NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685NWT-SF21SSI-692B]").remove(); jQuery("[id^=input-685NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685NWT-SF21SSI").change(function(){ if(jQuery("#input-685NWT-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-692W-685NWT-SF21SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 685NWT-SF21SSI - Extended Swim Platform)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-685NWT-SF21SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685NWT-SF21SSI"); //alert(jQuery("[id^=input-685NWT-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-685NWT-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685NWT-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-685NWT-SF21SSI").prop("checked")) { jQuery("#input-685NWT-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-685NWT-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685NWT-SF21SSI-692W]").length === 0) { jQuery("#note-685NWT-SF21SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-685NWT-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685NWT-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685NWT-SF21SSI-692W]").remove(); jQuery("[id^=input-685NWT-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-878-SF21SSI").change(function(){ if(jQuery("#input-878-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-673]"); //alert(jQuery("[id^=input-673]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-673]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-673]").prop("checked")) { jQuery("[id^=input-673]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-673-878-SF21SSI]").length === 0) { jQuery("[id^=note-673]").append("
(N/A with 878-SF21SSI - Battery Charger - International or CE)
"); } jQuery("[id^=input-673]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-673]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-673-878-SF21SSI]").remove(); jQuery("[id^=input-673]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-673]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-878-SF21SSI"); //alert(jQuery("[id^=input-878-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-878-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-878-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-878-SF21SSI").prop("checked")) { jQuery("#input-878-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-878-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-878-SF21SSI-673]").length === 0) { jQuery("#note-878-SF21SSI").append("
(N/A with 673 )
"); } jQuery("[id^=input-878-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-878-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-878-SF21SSI-673]").remove(); jQuery("[id^=input-878-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-688TAG-SF21SSI").change(function(){ if(jQuery("#input-688TAG-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-688TAG-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 688TAG-SF21SSI - Trailer Upgrade - Aluminum Tandem Axle with Brakes and Galvanized Wheels)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-688TAG-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-688TAG-SF21SSI"); //alert(jQuery("[id^=input-688TAG-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-688TAG-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-688TAG-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-688TAG-SF21SSI").prop("checked")) { jQuery("#input-688TAG-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-688TAG-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-688TAG-SF21SSI-685]").length === 0) { jQuery("#note-688TAG-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-688TAG-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-688TAG-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688TAG-SF21SSI-685]").remove(); jQuery("[id^=input-688TAG-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-688TAA-SF21SSI").change(function(){ if(jQuery("#input-688TAA-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-688TAA-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 688TAA-SF21SSI - Trailer Upgrade - Aluminum Tandem Axle with Brakes and Aluminum Wheels)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-688TAA-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-688TAA-SF21SSI"); //alert(jQuery("[id^=input-688TAA-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-688TAA-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-688TAA-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-688TAA-SF21SSI").prop("checked")) { jQuery("#input-688TAA-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-688TAA-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-688TAA-SF21SSI-685]").length === 0) { jQuery("#note-688TAA-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-688TAA-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-688TAA-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688TAA-SF21SSI-685]").remove(); jQuery("[id^=input-688TAA-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-688TBA-SF21SSI").change(function(){ if(jQuery("#input-688TBA-SF21SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-688TBA-SF21SSI]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 688TBA-SF21SSI - Trailer Upgrade - Black Tandem Axle with Brakes and Aluminum Wheels)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-688TBA-SF21SSI]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-688TBA-SF21SSI"); //alert(jQuery("[id^=input-688TBA-SF21SSI]").attr("title")); //alert(jQuery("[id^=input-688TBA-SF21SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-688TBA-SF21SSI").prop("disabled", true); // determine if checked if(jQuery("#input-688TBA-SF21SSI").prop("checked")) { jQuery("#input-688TBA-SF21SSI").removeAttr("checked").change(); } //console.log("if of reverse input-688TBA-SF21SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-688TBA-SF21SSI-685]").length === 0) { jQuery("#note-688TBA-SF21SSI").append("
(N/A with 685 )
"); } jQuery("[id^=input-688TBA-SF21SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-688TBA-SF21SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688TBA-SF21SSI-685]").remove(); jQuery("[id^=input-688TBA-SF21SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-956-SF21SSI").change(function(){ if(jQuery("#input-956-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-956-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-904-956-SF21SSI]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-904]").prop("type") != "radio") if(jQuery("[id^=input-904]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-904]").prop("disabled", true); } else if(jQuery("[id^=input-904]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-904]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-904]").prop("disabled", false); } if(!jQuery("[id^=input-904]").prop("checked")){ jQuery("[id^=input-904]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-904]").append("
(Required By: 956-SF21SSI-Wide Band Hull - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-956-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-956-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619NWTEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTEP-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619NWTEP-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-685NWT-619NWTEP-SF21SSI]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685NWT]").prop("type") != "radio") if(jQuery("[id^=input-685NWT]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685NWT]").prop("disabled", true); } else if(jQuery("[id^=input-685NWT]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685NWT]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685NWT]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685NWT]").prop("disabled", false); } if(!jQuery("[id^=input-685NWT]").prop("checked")){ jQuery("[id^=input-685NWT]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-685NWT]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685NWT]").append("
(Required By: 619NWTEP-SF21SSI-Mooring Cover)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-619NWTEP-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-619NWTEP-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685NWT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685NWT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685NWT-619NWTEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685NWT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685NWT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619NWTTM-SF21SSI").change(function(){ if(jQuery("#input-619NWTTM-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619NWTTM-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-619NWTTM-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-619NWTTM-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685NWT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685NWT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685NWT-619NWTEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685NWT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685NWT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619NWTTMEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTTMEP-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619NWTTMEP-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-685NWT-619NWTTMEP-SF21SSI]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685NWT]").prop("type") != "radio") if(jQuery("[id^=input-685NWT]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685NWT]").prop("disabled", true); } else if(jQuery("[id^=input-685NWT]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685NWT]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685NWT]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685NWT]").prop("disabled", false); } if(!jQuery("[id^=input-685NWT]").prop("checked")){ jQuery("[id^=input-685NWT]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-685NWT]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685NWT]").append("
(Required By: 619NWTTMEP-SF21SSI-Mooring Cover)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-619NWTTMEP-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-619NWTTMEP-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685NWT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685NWT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685NWT-619NWTTMEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685NWT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685NWT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619NWTTMEP-SF21SSI").change(function(){ if(jQuery("#input-619NWTTMEP-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619NWTTMEP-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-619NWTTMEP-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-619NWTTMEP-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685NWT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685NWT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685NWT-619NWTTMEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685NWT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685NWT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619WTEP-SF21SSI").change(function(){ if(jQuery("#input-619WTEP-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619WTEP-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-685WT-619WTEP-SF21SSI]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685WT]").prop("type") != "radio") if(jQuery("[id^=input-685WT]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685WT]").prop("disabled", true); } else if(jQuery("[id^=input-685WT]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685WT]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685WT]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685WT]").prop("disabled", false); } if(!jQuery("[id^=input-685WT]").prop("checked")){ jQuery("[id^=input-685WT]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-685WT]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685WT]").append("
(Required By: 619WTEP-SF21SSI-Mooring Cover)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-619WTEP-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-619WTEP-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685WT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685WT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685WT-619WTEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685WT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685WT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619WTTM-SF21SSI").change(function(){ if(jQuery("#input-619WTTM-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619WTTM-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-619WTTM-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-619WTTM-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685WT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685WT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685WT-619WTEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685WT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685WT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-685NWT-SF21SSI").change(function(){ if(jQuery("#input-685NWT-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-685NWT-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-685NWT-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-685NWT-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685WT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685WT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685WT-619WTEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685WT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685WT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-685WT-SF21SSI").change(function(){ if(jQuery("#input-685WT-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-685WT-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-685WT-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-685WT-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685WT]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685WT]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685WT-619WTEP-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685WT]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685WT]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-800-SF21SSI").change(function(){ if(jQuery("#input-800-SF21SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-800-SF21SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-688D-800-SF21SSI]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-688D]").prop("type") != "radio") if(jQuery("[id^=input-688D]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-688D]").prop("disabled", true); } else if(jQuery("[id^=input-688D]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-688D]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-688D]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-688D]").prop("disabled", false); } if(!jQuery("[id^=input-688D]").prop("checked")){ jQuery("[id^=input-688D]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-688D]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-688D]").append("
(Required By: 800-SF21SSI-CE Package)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-800-SF21SSI]").hide(); jQuery("[id^=note-single-required-by-800-SF21SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-688D]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-688D]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-688D-800-SF21SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-688D]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-688D]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ option_group_data["692B-SF21SSIBLU"] = {}; option_group_data["692B-SF21SSIBLU"]["part_groups"] = new Array(); option_group_data["692B-SF21SSIBLU"]["part_groups"].push("3"); option_group_data["692B-SF21SSIBLK"] = {}; option_group_data["692B-SF21SSIBLK"]["part_groups"] = new Array(); option_group_data["692B-SF21SSIBLK"]["part_groups"].push("3"); option_group_data["692B-SF21SSIFRE"] = {}; option_group_data["692B-SF21SSIFRE"]["part_groups"] = new Array(); option_group_data["692B-SF21SSIFRE"]["part_groups"].push("3"); option_group_data["692B-SF21SSISBL"] = {}; option_group_data["692B-SF21SSISBL"]["part_groups"] = new Array(); option_group_data["692B-SF21SSISBL"]["part_groups"].push("3"); option_group_data["692W-SF21SSIFRE"] = {}; option_group_data["692W-SF21SSIFRE"]["part_groups"] = new Array(); option_group_data["692W-SF21SSIFRE"]["part_groups"].push("3"); option_group_data["692W-SF21SSIBLK"] = {}; option_group_data["692W-SF21SSIBLK"]["part_groups"] = new Array(); option_group_data["692W-SF21SSIBLK"]["part_groups"].push("3"); option_group_data["692W-SF21SSISBL"] = {}; option_group_data["692W-SF21SSISBL"]["part_groups"] = new Array(); option_group_data["692W-SF21SSISBL"]["part_groups"].push("3"); option_group_data["692W-SF21SSIBLU"] = {}; option_group_data["692W-SF21SSIBLU"]["part_groups"] = new Array(); option_group_data["692W-SF21SSIBLU"]["part_groups"].push("3"); option_group_data["652WT-SF21SSIBLK"] = {}; option_group_data["652WT-SF21SSIBLK"]["available_with"] = new Array(); option_group_data["652WT-SF21SSIBLK"]["available_with_compound"] = new Array(); option_group_data["652WT-SF21SSIBLK"]["available_with"].push("3"); option_group_data["652WT-SF21SSIBLU"] = {}; option_group_data["652WT-SF21SSIBLU"]["available_with"] = new Array(); option_group_data["652WT-SF21SSIBLU"]["available_with_compound"] = new Array(); option_group_data["652WT-SF21SSIBLU"]["available_with"].push("3"); option_group_data["652WT-SF21SSIFRE"] = {}; option_group_data["652WT-SF21SSIFRE"]["available_with"] = new Array(); option_group_data["652WT-SF21SSIFRE"]["available_with_compound"] = new Array(); option_group_data["652WT-SF21SSIFRE"]["available_with"].push("3"); option_group_data["652WT-SF21SSISBL"] = {}; option_group_data["652WT-SF21SSISBL"]["available_with"] = new Array(); option_group_data["652WT-SF21SSISBL"]["available_with_compound"] = new Array(); option_group_data["652WT-SF21SSISBL"]["available_with"].push("3"); option_group_data["619WT-SF21SSI"] = {}; option_group_data["619WT-SF21SSI"]["available_with"] = new Array(); option_group_data["619WT-SF21SSI"]["available_with_compound"] = new Array(); option_group_data["619WT-SF21SSI"]["available_with"].push("3"); option_group_data["619WTEP-SF21SSI"] = {}; option_group_data["619WTEP-SF21SSI"]["available_with"] = new Array(); option_group_data["619WTEP-SF21SSI"]["available_with_compound"] = new Array(); option_group_data["619WTEP-SF21SSI"]["available_with"].push("3"); option_group_data["619WTEP-SF21SSI"]["available_with"].push("75"); option_group_data["619WTTM-SF21SSI"] = {}; option_group_data["619WTTM-SF21SSI"]["available_with"] = new Array(); option_group_data["619WTTM-SF21SSI"]["available_with_compound"] = new Array(); option_group_data["619WTTM-SF21SSI"]["available_with"].push("3"); option_group_data["695EP-SF21SSIG"] = {}; option_group_data["695EP-SF21SSIG"]["available_with"] = new Array(); option_group_data["695EP-SF21SSIG"]["available_with_compound"] = new Array(); option_group_data["695EP-SF21SSIG"]["available_with"].push("25"); option_group_data["695EP-SF21SSIC"] = {}; option_group_data["695EP-SF21SSIC"]["available_with"] = new Array(); option_group_data["695EP-SF21SSIC"]["available_with_compound"] = new Array(); option_group_data["695EP-SF21SSIC"]["available_with"].push("25"); option_group_data["694-SF21SSI"] = {}; option_group_data["694-SF21SSI"]["part_groups"] = new Array(); option_group_data["694-SF21SSI"]["part_groups"].push("75"); option_group_data["696-SF21SSI"] = {}; option_group_data["696-SF21SSI"]["part_groups"] = new Array(); option_group_data["696-SF21SSI"]["part_groups"].push("75"); option_group_data["685NWT-SF21SSI"] = {}; option_group_data["685NWT-SF21SSI"]["part_groups"] = new Array(); option_group_data["685NWT-SF21SSI"]["part_groups"].push("25"); option_group_data["685WT-SF21SSI"] = {}; option_group_data["685WT-SF21SSI"]["part_groups"] = new Array(); option_group_data["685WT-SF21SSI"]["available_with"] = new Array(); option_group_data["685WT-SF21SSI"]["available_with_compound"] = new Array(); option_group_data["685WT-SF21SSI"]["part_groups"].push("25"); option_group_data["685WT-SF21SSI"]["available_with"].push("3"); option_group_data["697-SF21SSI"] = {}; option_group_data["697-SF21SSI"]["available_with"] = new Array(); option_group_data["697-SF21SSI"]["available_with_compound"] = new Array(); option_group_data["697-SF21SSI"]["available_with"].push("3"); option_group_data["STANDARD_TRAILER"] = {}; option_group_data["STANDARD_TRAILER"]["part_groups"] = new Array(); option_group_data["STANDARD_TRAILER"]["part_groups"].push("94"); option_group_data["688TBG-SF21SSIEP"] = {}; option_group_data["688TBG-SF21SSIEP"]["part_groups"] = new Array(); option_group_data["688TBG-SF21SSIEP"]["available_with"] = new Array(); option_group_data["688TBG-SF21SSIEP"]["available_with_compound"] = new Array(); option_group_data["688TBG-SF21SSIEP"]["part_groups"].push("94"); option_group_data["688TBG-SF21SSIEP"]["available_with"].push("25"); option_group_data["688TAG-SF21SSI"] = {}; option_group_data["688TAG-SF21SSI"]["part_groups"] = new Array(); option_group_data["688TAG-SF21SSI"]["part_groups"].push("91"); option_group_data["688TAG-SF21SSIEP"] = {}; option_group_data["688TAG-SF21SSIEP"]["part_groups"] = new Array(); option_group_data["688TAG-SF21SSIEP"]["available_with"] = new Array(); option_group_data["688TAG-SF21SSIEP"]["available_with_compound"] = new Array(); option_group_data["688TAG-SF21SSIEP"]["part_groups"].push("91"); option_group_data["688TAG-SF21SSIEP"]["available_with"].push("25"); option_group_data["688TAA-SF21SSI"] = {}; option_group_data["688TAA-SF21SSI"]["part_groups"] = new Array(); option_group_data["688TAA-SF21SSI"]["part_groups"].push("92"); option_group_data["688TAA-SF21SSIEP"] = {}; option_group_data["688TAA-SF21SSIEP"]["part_groups"] = new Array(); option_group_data["688TAA-SF21SSIEP"]["available_with"] = new Array(); option_group_data["688TAA-SF21SSIEP"]["available_with_compound"] = new Array(); option_group_data["688TAA-SF21SSIEP"]["part_groups"].push("92"); option_group_data["688TAA-SF21SSIEP"]["available_with"].push("25"); option_group_data["688TBA-SF21SSI"] = {}; option_group_data["688TBA-SF21SSI"]["part_groups"] = new Array(); option_group_data["688TBA-SF21SSI"]["part_groups"].push("93"); option_group_data["688TBA-SF21SSIEP"] = {}; option_group_data["688TBA-SF21SSIEP"]["part_groups"] = new Array(); option_group_data["688TBA-SF21SSIEP"]["available_with"] = new Array(); option_group_data["688TBA-SF21SSIEP"]["available_with_compound"] = new Array(); option_group_data["688TBA-SF21SSIEP"]["part_groups"].push("93"); option_group_data["688TBA-SF21SSIEP"]["available_with"].push("25"); option_group_data["686-SF21SSIBLK"] = {}; option_group_data["686-SF21SSIBLK"]["available_with"] = new Array(); option_group_data["686-SF21SSIBLK"]["available_with_compound"] = new Array(); option_group_data["686-SF21SSIBLK"]["available_with"].push("94"); option_group_data["686-SF21SSIALM"] = {}; option_group_data["686-SF21SSIALM"]["available_with"] = new Array(); option_group_data["686-SF21SSIALM"]["available_with_compound"] = new Array(); option_group_data["686-SF21SSIALM"]["available_with"].push("91"); option_group_data["687-SF21SSIBLK"] = {}; option_group_data["687-SF21SSIBLK"]["available_with"] = new Array(); option_group_data["687-SF21SSIBLK"]["available_with_compound"] = new Array(); option_group_data["687-SF21SSIBLK"]["available_with"].push("93"); option_group_data["687-SF21SSIALM"] = {}; option_group_data["687-SF21SSIALM"]["available_with"] = new Array(); option_group_data["687-SF21SSIALM"]["available_with_compound"] = new Array(); option_group_data["687-SF21SSIALM"]["available_with"].push("92"); }); // end of document ready jQuery(document).ready(function(){ jQuery("#boat_build_form").validate({ rules: { name: { required: true, minlength: 2 }, email: { required: true, email: true }, zip: { required: true, minlength: 3 } }, messages: { name: " -Name Required ", email: " -Please enter a valid email address", zip: " -Zip/Postal Required" } }); // end validate });// end doc ready jQuery(document).ready(function(){ checked_boxes_price_tally(); checked_boxes_list_tally(); jQuery(".byb_checkbox:input").change(function(){ // if this is a single selection and if this option is checked if(jQuery(this).attr("single_selection_group") && jQuery(this).prop("checked")) { // loop thorugh all options and remove checks from this single selection group var single_selection_group = jQuery(this).attr("single_selection_group"); var single_selection_checked_option = jQuery(this).val(); jQuery("#boat_build_form input:checked").each(function(){ // if this option is in the single selection group AND it is NOT the same part number as selected above if(jQuery(this).attr("single_selection_group") == single_selection_group && jQuery(this).val() != single_selection_checked_option) { jQuery(this).prop("checked",false).change(); } }); } //includes(); apply_part_groups(); apply_graphics(); checked_boxes_price_tally(); checked_boxes_list_tally(); setCanvasColor(); setXtremeArchGraphics(); //alert(overwrite_group_total["msrp"]); }); }); function checked_boxes_price_tally(){ // here we get the volume discount to be used in the final tally price // these boats do NOT get volume discount applied to them ///////// !!!!!!!!!!! Volume discount has been moved to the line item !!!!!!!!!!!!!!!!!!!!///////// //if(item_id != "342" && item_id != "345") // { // var volume_discount = (100 - parseFloat(jQuery("#volume_discount-holder").val()-0))/100; // } //else // { // var volume_discount = 1; // } var dealer_installed_option_total = 0; // get msrp of dealer installed options jQuery(".dealer_installed_option_price").each(function(){ if(jQuery(this).val()) { dealer_installed_option_total = dealer_installed_option_total+parseFloat(jQuery(this).val()); } }); var checked_boxes_total = new Array(); checked_boxes_total["msrp"] = 0; checked_boxes_total["msrp_base"] = 0; checked_boxes_total["dealer_price"] = 0; checked_boxes_total["dealer_margin"] = 0; base_multiplier jQuery("#boat_build_form input:checked").each(function(){ //alert(this.id); //alert(jQuery("input").attr("disabled")); // if the checkbox is not disabled // this first line weeds out tbd pricing of 999999 //if(!jQuery(this).prop("disabled") && jQuery(this).attr("msrp") && jQuery(this).attr("is_tbd") != 1 && jQuery(this).attr("is_tbd") != "1") //if((!jQuery(this).prop("disabled") || jQuery(this).attr("is_required")) && jQuery(this).attr("msrp") && jQuery(this).val() != "NPPNPRICE22S" ) if(!jQuery(this).prop("included_option") && jQuery(this).attr("msrp")) { //alert(jQuery(this).attr("dealer_margin")); //alert(jQuery(this).attr("id")); // we have base if(jQuery(this).attr("overwrite_group") == 1){ checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*base_multiplier); } // we have option else{ checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*option_multiplier); } checked_boxes_total["msrp"] = checked_boxes_total["msrp"] + parseFloat(jQuery(this).attr("msrp")); checked_boxes_total["dealer_price"] = checked_boxes_total["dealer_price"] + parseFloat(jQuery(this).attr("dealer_cost")); checked_boxes_total["dealer_margin"] = checked_boxes_total["dealer_margin"] + parseFloat(jQuery(this).attr("dealer_margin")); } }); // end checked each // cycle through //alert(checked_boxes_total["msrp"]); // here we format the price // here we send the price to the page jQuery(".msrp_holder").html(checked_boxes_total["msrp_base"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 }); jQuery(".msrp_container").html(checked_boxes_total["msrp"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 }); jQuery(".dealer_price_container").html(checked_boxes_total["dealer_price"]).formatCurrency({ roundToDecimalPlace:0 }); jQuery(".dealer_margin_price_container").html(checked_boxes_total["dealer_margin"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 }); } function apply_graphics(){ // hide all the graphic overlays jQuery(".boat_builder_graphic_overlay").css("display","none"); jQuery(".byb_checkbox").each(function() { // if this option has an overlay if(jQuery(this).attr("graphic_id") !== 0) { // if this option is checked if(this.checked) { // possibly put overlays in csv to show more than one overlay per option..? jQuery("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id")).css("display","block"); //alert("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id")); } }// end if }); } function checked_boxes_list_tally(){ // empty the list container jQuery("#option_list_tally_table").empty(); jQuery("input:checked").each(function(){ //alert(this.id); //jQuery("#option_list_tally").append(this.next().child()); if(jQuery(this).attr("title") && jQuery(this).attr("option_group") != 16) { var price_msrp = jQuery(this).attr("msrp").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"); if(country == 226 || country == 138) { if ((jQuery(this).prop("included_option"))) { jQuery("#option_list_tally_table").append(''+jQuery(this).attr("title")+'$0'); } else { jQuery("#option_list_tally_table").append(''+jQuery(this).attr("title")+'$'+price_msrp+''); } } else { jQuery("#option_list_tally_table").append(''+jQuery(this).attr("title")+''); } } }); // end checked each // } function selectDefaultEngine(){ //alert('firing'); var min_price_engine = 999999999999999; var min_price_engine_id; jQuery('input:radio[name=overwrite_group-1]').each(function(){ var temp_msrp = parseInt(jQuery(this).attr('msrp')); // if this engine is less than the previous one we set it as the sel no if(temp_msrp < min_price_engine) { min_price_engine_id = jQuery(this).attr('id'); min_price_engine = temp_msrp; } }); // check the cheapest engine //alert(min_price_engine_id); jQuery('#'+min_price_engine_id).prop('checked',true).change(); } jQuery(document).ready(function(){ // click the package that is selected //jQuery('input:radio[name=overwrite_group-7]:checked').change(); //alert('here2'); // engine if(!jQuery('input:radio[name=overwrite_group-1]:checked').val()) { //alert('here'); selectDefaultEngine(); } else { //alert('here2'); jQuery('input:radio[name=overwrite_group-1]:checked').change(); } // kicker brand //jQuery('input:radio[name=overwrite_group-58]:checked').change(); //trailer brand //jQuery('input:radio[name=overwrite_group-60]:checked').change(); //accent color //jQuery('input:radio[name=overwrite_group-37]:checked').change(); //hull color //jQuery('input:radio[name=overwrite_group-11]:checked').change(); //canvas color //jQuery('input:radio[name=overwrite_group-12]:checked').change(); //jQuery('input:radio[name=overwrite_group-65]:checked').change(); jQuery('#boat_build_form input:checked').each(function(){ jQuery(this).change(); }); setXtremeArchGraphics() });