jQuery(document).ready(function(){ }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-950]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 950 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-950]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-925]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-925]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 925 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-925]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-926]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-926]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 926 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-926]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-927]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-927]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 927 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-927]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-931]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-931]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 931 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-931]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-971]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-971]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 971 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-971]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-972]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-972]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 972 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-972]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-974]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-974]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 974 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-974]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-976]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-976]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 976 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-976]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-973]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-973]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 973 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-973]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-SRF23").change(function(){ if(jQuery("#input-904-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-928]").append("
(N/A with 904-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-904-SRF23]").attr("title")); //alert(jQuery("[id^=input-904-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-904-SRF23").prop("checked")) { jQuery("#input-904-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-904-SRF23"); //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-SRF23-928]").length === 0) { jQuery("#note-904-SRF23").append("
(N/A with 928 )
"); } jQuery("[id^=input-904-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-SRF23-928]").remove(); jQuery("[id^=input-904-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WT-SRF23").change(function(){ if(jQuery("#input-619WT-SRF23").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-SRF23]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 619WT-SRF23 - 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-SRF23]").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-SRF23"); //alert(jQuery("[id^=input-619WT-SRF23]").attr("title")); //alert(jQuery("[id^=input-619WT-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WT-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-619WT-SRF23").prop("checked")) { jQuery("#input-619WT-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-619WT-SRF23"); //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-SRF23-685]").length === 0) { jQuery("#note-619WT-SRF23").append("
(N/A with 685 )
"); } jQuery("[id^=input-619WT-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WT-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WT-SRF23-685]").remove(); jQuery("[id^=input-619WT-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-594S-SRF23").change(function(){ if(jQuery("#input-594S-SRF23").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-594S-SRF23]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 594S-SRF23 - Swim Platform Logo 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-594S-SRF23]").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-594S-SRF23"); //alert(jQuery("[id^=input-594S-SRF23]").attr("title")); //alert(jQuery("[id^=input-594S-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-594S-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-594S-SRF23").prop("checked")) { jQuery("#input-594S-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-594S-SRF23"); //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-594S-SRF23-685]").length === 0) { jQuery("#note-594S-SRF23").append("
(N/A with 685 )
"); } jQuery("[id^=input-594S-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-594S-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-594S-SRF23-685]").remove(); jQuery("[id^=input-594S-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-594C-SRF23").change(function(){ if(jQuery("#input-594C-SRF23").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-594C-SRF23]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 594C-SRF23 - Swim Platform Logo 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-594C-SRF23]").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-594C-SRF23"); //alert(jQuery("[id^=input-594C-SRF23]").attr("title")); //alert(jQuery("[id^=input-594C-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-594C-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-594C-SRF23").prop("checked")) { jQuery("#input-594C-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-594C-SRF23"); //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-594C-SRF23-685]").length === 0) { jQuery("#note-594C-SRF23").append("
(N/A with 685 )
"); } jQuery("[id^=input-594C-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-594C-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-594C-SRF23-685]").remove(); jQuery("[id^=input-594C-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704G-SRF23").change(function(){ if(jQuery("#input-704G-SRF23").prop("checked")) { //alert("na_with here"); //alert("[id^=input-594C]"); //alert(jQuery("[id^=input-594C]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-594C]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-594C]").prop("checked")) { jQuery("[id^=input-594C]").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-594C-704G-SRF23]").length === 0) { jQuery("[id^=note-594C]").append("
(N/A with 704G-SRF23 - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-594C]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-594C]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-594C-704G-SRF23]").remove(); jQuery("[id^=input-594C]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-594C]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704G-SRF23"); //alert(jQuery("[id^=input-704G-SRF23]").attr("title")); //alert(jQuery("[id^=input-704G-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704G-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-704G-SRF23").prop("checked")) { jQuery("#input-704G-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-704G-SRF23"); //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-704G-SRF23-594C]").length === 0) { jQuery("#note-704G-SRF23").append("
(N/A with 594C )
"); } jQuery("[id^=input-704G-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704G-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704G-SRF23-594C]").remove(); jQuery("[id^=input-704G-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704G-SRF23").change(function(){ if(jQuery("#input-704G-SRF23").prop("checked")) { //alert("na_with here"); //alert("[id^=input-594CEP]"); //alert(jQuery("[id^=input-594CEP]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-594CEP]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-594CEP]").prop("checked")) { jQuery("[id^=input-594CEP]").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-594CEP-704G-SRF23]").length === 0) { jQuery("[id^=note-594CEP]").append("
(N/A with 704G-SRF23 - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-594CEP]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-594CEP]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-594CEP-704G-SRF23]").remove(); jQuery("[id^=input-594CEP]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-594CEP]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704G-SRF23"); //alert(jQuery("[id^=input-704G-SRF23]").attr("title")); //alert(jQuery("[id^=input-704G-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704G-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-704G-SRF23").prop("checked")) { jQuery("#input-704G-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-704G-SRF23"); //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-704G-SRF23-594CEP]").length === 0) { jQuery("#note-704G-SRF23").append("
(N/A with 594CEP )
"); } jQuery("[id^=input-704G-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704G-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704G-SRF23-594CEP]").remove(); jQuery("[id^=input-704G-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-SRF23").change(function(){ if(jQuery("#input-704C-SRF23").prop("checked")) { //alert("na_with here"); //alert("[id^=input-594S]"); //alert(jQuery("[id^=input-594S]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-594S]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-594S]").prop("checked")) { jQuery("[id^=input-594S]").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-594S-704C-SRF23]").length === 0) { jQuery("[id^=note-594S]").append("
(N/A with 704C-SRF23 - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-594S]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-594S]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-594S-704C-SRF23]").remove(); jQuery("[id^=input-594S]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-594S]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-SRF23"); //alert(jQuery("[id^=input-704C-SRF23]").attr("title")); //alert(jQuery("[id^=input-704C-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-704C-SRF23").prop("checked")) { jQuery("#input-704C-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-704C-SRF23"); //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-704C-SRF23-594S]").length === 0) { jQuery("#note-704C-SRF23").append("
(N/A with 594S )
"); } jQuery("[id^=input-704C-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-SRF23-594S]").remove(); jQuery("[id^=input-704C-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-SRF23").change(function(){ if(jQuery("#input-704C-SRF23").prop("checked")) { //alert("na_with here"); //alert("[id^=input-594SEP]"); //alert(jQuery("[id^=input-594SEP]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-594SEP]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-594SEP]").prop("checked")) { jQuery("[id^=input-594SEP]").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-594SEP-704C-SRF23]").length === 0) { jQuery("[id^=note-594SEP]").append("
(N/A with 704C-SRF23 - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-594SEP]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-594SEP]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-594SEP-704C-SRF23]").remove(); jQuery("[id^=input-594SEP]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-594SEP]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-SRF23"); //alert(jQuery("[id^=input-704C-SRF23]").attr("title")); //alert(jQuery("[id^=input-704C-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-704C-SRF23").prop("checked")) { jQuery("#input-704C-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-704C-SRF23"); //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-704C-SRF23-594SEP]").length === 0) { jQuery("#note-704C-SRF23").append("
(N/A with 594SEP )
"); } jQuery("[id^=input-704C-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-SRF23-594SEP]").remove(); jQuery("[id^=input-704C-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-688AG-SRF23").change(function(){ if(jQuery("#input-688AG-SRF23").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-688AG-SRF23]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 688AG-SRF23 - Trailer - Aluminum Tandem Axle with 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-688AG-SRF23]").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-688AG-SRF23"); //alert(jQuery("[id^=input-688AG-SRF23]").attr("title")); //alert(jQuery("[id^=input-688AG-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-688AG-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-688AG-SRF23").prop("checked")) { jQuery("#input-688AG-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-688AG-SRF23"); //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-688AG-SRF23-685]").length === 0) { jQuery("#note-688AG-SRF23").append("
(N/A with 685 )
"); } jQuery("[id^=input-688AG-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-688AG-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688AG-SRF23-685]").remove(); jQuery("[id^=input-688AG-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-688AA-SRF23").change(function(){ if(jQuery("#input-688AA-SRF23").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-688AA-SRF23]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 688AA-SRF23 - Trailer - Aluminum Tandem Axle with 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-688AA-SRF23]").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-688AA-SRF23"); //alert(jQuery("[id^=input-688AA-SRF23]").attr("title")); //alert(jQuery("[id^=input-688AA-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-688AA-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-688AA-SRF23").prop("checked")) { jQuery("#input-688AA-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-688AA-SRF23"); //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-688AA-SRF23-685]").length === 0) { jQuery("#note-688AA-SRF23").append("
(N/A with 685 )
"); } jQuery("[id^=input-688AA-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-688AA-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688AA-SRF23-685]").remove(); jQuery("[id^=input-688AA-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-688WA-SRF23").change(function(){ if(jQuery("#input-688WA-SRF23").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-688WA-SRF23]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 688WA-SRF23 - Trailer - White Frame with White Fenders 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-688WA-SRF23]").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-688WA-SRF23"); //alert(jQuery("[id^=input-688WA-SRF23]").attr("title")); //alert(jQuery("[id^=input-688WA-SRF23]").is(":checked")); // disable the includes and unchecks it jQuery("#input-688WA-SRF23").prop("disabled", true); // determine if checked if(jQuery("#input-688WA-SRF23").prop("checked")) { jQuery("#input-688WA-SRF23").removeAttr("checked").change(); } //console.log("if of reverse input-688WA-SRF23"); //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-688WA-SRF23-685]").length === 0) { jQuery("#note-688WA-SRF23").append("
(N/A with 685 )
"); } jQuery("[id^=input-688WA-SRF23]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-688WA-SRF23").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688WA-SRF23-685]").remove(); jQuery("[id^=input-688WA-SRF23]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-687-SRF23BLK").change(function(){ if(jQuery("#input-687-SRF23BLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-688A]"); //alert(jQuery("[id^=input-688A]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-688A]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-688A]").prop("checked")) { jQuery("[id^=input-688A]").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-688A-687-SRF23BLK]").length === 0) { jQuery("[id^=note-688A]").append("
(N/A with 687-SRF23BLK - Spare Tire Kit - Aluminum Wheel)
"); } jQuery("[id^=input-688A]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-688A]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688A-687-SRF23BLK]").remove(); jQuery("[id^=input-688A]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-688A]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-687-SRF23BLK"); //alert(jQuery("[id^=input-687-SRF23BLK]").attr("title")); //alert(jQuery("[id^=input-687-SRF23BLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-687-SRF23BLK").prop("disabled", true); // determine if checked if(jQuery("#input-687-SRF23BLK").prop("checked")) { jQuery("#input-687-SRF23BLK").removeAttr("checked").change(); } //console.log("if of reverse input-687-SRF23BLK"); //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-687-SRF23BLK-688A]").length === 0) { jQuery("#note-687-SRF23BLK").append("
(N/A with 688A )
"); } jQuery("[id^=input-687-SRF23BLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-687-SRF23BLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-687-SRF23BLK-688A]").remove(); jQuery("[id^=input-687-SRF23BLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-687-SRF23BLK").change(function(){ if(jQuery("#input-687-SRF23BLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-688D]"); //alert(jQuery("[id^=input-688D]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-688D]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-688D]").prop("checked")) { jQuery("[id^=input-688D]").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-688D-687-SRF23BLK]").length === 0) { jQuery("[id^=note-688D]").append("
(N/A with 687-SRF23BLK - Spare Tire Kit - Aluminum Wheel)
"); } jQuery("[id^=input-688D]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-688D]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688D-687-SRF23BLK]").remove(); jQuery("[id^=input-688D]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-688D]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-687-SRF23BLK"); //alert(jQuery("[id^=input-687-SRF23BLK]").attr("title")); //alert(jQuery("[id^=input-687-SRF23BLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-687-SRF23BLK").prop("disabled", true); // determine if checked if(jQuery("#input-687-SRF23BLK").prop("checked")) { jQuery("#input-687-SRF23BLK").removeAttr("checked").change(); } //console.log("if of reverse input-687-SRF23BLK"); //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-687-SRF23BLK-688D]").length === 0) { jQuery("#note-687-SRF23BLK").append("
(N/A with 688D )
"); } jQuery("[id^=input-687-SRF23BLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-687-SRF23BLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-687-SRF23BLK-688D]").remove(); jQuery("[id^=input-687-SRF23BLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-956-SRF23").change(function(){ if(jQuery("#input-956-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-956-SRF23]").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-SRF23]").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-SRF23-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-SRF23]").hide(); jQuery("[id^=note-single-required-by-956-SRF23]").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-SRF23]").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-638-SRF23").change(function(){ if(jQuery("#input-638-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-638-SRF23]").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-638-SRF23]").hide(); jQuery("[id^=note-single-required-by-638-SRF23]").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-SRF23]").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-658-SRF23").change(function(){ if(jQuery("#input-658-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-658-SRF23]").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-658-SRF23]").hide(); jQuery("[id^=note-single-required-by-658-SRF23]").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-SRF23]").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-619WTEP-SRF23").change(function(){ if(jQuery("#input-619WTEP-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619WTEP-SRF23]").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-685-619WTEP-SRF23]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685]").prop("type") != "radio") if(jQuery("[id^=input-685]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685]").prop("disabled", true); } else if(jQuery("[id^=input-685]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685]").prop("disabled", false); } if(!jQuery("[id^=input-685]").prop("checked")){ jQuery("[id^=input-685]").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-685]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685]").append("
(Required By: 619WTEP-SRF23-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-SRF23]").hide(); jQuery("[id^=note-single-required-by-619WTEP-SRF23]").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-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-619WTEP-SRF23]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-594CEP-SRF23").change(function(){ if(jQuery("#input-594CEP-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-594CEP-SRF23]").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-685-594CEP-SRF23]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685]").prop("type") != "radio") if(jQuery("[id^=input-685]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685]").prop("disabled", true); } else if(jQuery("[id^=input-685]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685]").prop("disabled", false); } if(!jQuery("[id^=input-685]").prop("checked")){ jQuery("[id^=input-685]").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-685]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685]").append("
(Required By: 594CEP-SRF23-Swim Platform Logo Mat)
"); } } // 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-594CEP-SRF23]").hide(); jQuery("[id^=note-single-required-by-594CEP-SRF23]").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-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-594CEP-SRF23]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-594SEP-SRF23").change(function(){ if(jQuery("#input-594SEP-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-594SEP-SRF23]").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-685-594SEP-SRF23]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685]").prop("type") != "radio") if(jQuery("[id^=input-685]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685]").prop("disabled", true); } else if(jQuery("[id^=input-685]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685]").prop("disabled", false); } if(!jQuery("[id^=input-685]").prop("checked")){ jQuery("[id^=input-685]").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-685]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685]").append("
(Required By: 594SEP-SRF23-Swim Platform Logo Mat)
"); } } // 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-594SEP-SRF23]").hide(); jQuery("[id^=note-single-required-by-594SEP-SRF23]").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-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-594SEP-SRF23]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-685WT-SRF23").change(function(){ if(jQuery("#input-685WT-SRF23").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-685WT-SRF23]").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-SRF23]").hide(); jQuery("[id^=note-single-required-by-685WT-SRF23]").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-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-594SEP-SRF23]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").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["971-SRF23"] = {}; option_group_data["971-SRF23"]["part_groups"] = new Array(); option_group_data["971-SRF23"]["part_groups"].push("50"); option_group_data["972-SRF23"] = {}; option_group_data["972-SRF23"]["part_groups"] = new Array(); option_group_data["972-SRF23"]["part_groups"].push("51"); option_group_data["974-SRF23"] = {}; option_group_data["974-SRF23"]["part_groups"] = new Array(); option_group_data["974-SRF23"]["part_groups"].push("52"); option_group_data["973-SRF23"] = {}; option_group_data["973-SRF23"]["part_groups"] = new Array(); option_group_data["973-SRF23"]["part_groups"].push("53"); option_group_data["976-SRF23"] = {}; option_group_data["976-SRF23"]["part_groups"] = new Array(); option_group_data["976-SRF23"]["part_groups"].push("56"); option_group_data["956-SRF23"] = {}; option_group_data["956-SRF23"]["part_groups"] = new Array(); option_group_data["956-SRF23"]["part_groups"].push("55"); option_group_data["950-SRF23"] = {}; option_group_data["950-SRF23"]["part_groups"] = new Array(); option_group_data["950-SRF23"]["part_groups"].push("50"); option_group_data["951-SRF23"] = {}; option_group_data["951-SRF23"]["part_groups"] = new Array(); option_group_data["951-SRF23"]["part_groups"].push("51"); option_group_data["952-SRF23"] = {}; option_group_data["952-SRF23"]["part_groups"] = new Array(); option_group_data["952-SRF23"]["part_groups"].push("52"); option_group_data["954-SRF23"] = {}; option_group_data["954-SRF23"]["part_groups"] = new Array(); option_group_data["954-SRF23"]["part_groups"].push("53"); option_group_data["930-SRF23"] = {}; option_group_data["930-SRF23"]["part_groups"] = new Array(); option_group_data["930-SRF23"]["part_groups"].push("56"); option_group_data["925-SRF23"] = {}; option_group_data["925-SRF23"]["part_groups"] = new Array(); option_group_data["925-SRF23"]["part_groups"].push("50"); option_group_data["931-SRF23"] = {}; option_group_data["931-SRF23"]["part_groups"] = new Array(); option_group_data["931-SRF23"]["part_groups"].push("56"); option_group_data["926-SRF23"] = {}; option_group_data["926-SRF23"]["part_groups"] = new Array(); option_group_data["926-SRF23"]["part_groups"].push("51"); option_group_data["927-SRF23"] = {}; option_group_data["927-SRF23"]["part_groups"] = new Array(); option_group_data["927-SRF23"]["part_groups"].push("52"); option_group_data["928-SRF23"] = {}; option_group_data["928-SRF23"]["part_groups"] = new Array(); option_group_data["928-SRF23"]["part_groups"].push("53"); option_group_data["659-SRF23BLK"] = {}; option_group_data["659-SRF23BLK"]["available_with"] = new Array(); option_group_data["659-SRF23BLK"]["available_with_compound"] = new Array(); option_group_data["659-SRF23BLK"]["available_with"].push("50"); option_group_data["659-SRF23BLK"]["available_with"].push("55"); option_group_data["659-SRF23BLU"] = {}; option_group_data["659-SRF23BLU"]["available_with"] = new Array(); option_group_data["659-SRF23BLU"]["available_with_compound"] = new Array(); option_group_data["659-SRF23BLU"]["available_with"].push("51"); option_group_data["659-SRF23BLU"]["available_with"].push("55"); option_group_data["659-SRF23FRE"] = {}; option_group_data["659-SRF23FRE"]["available_with"] = new Array(); option_group_data["659-SRF23FRE"]["available_with_compound"] = new Array(); option_group_data["659-SRF23FRE"]["available_with"].push("53"); option_group_data["659-SRF23FRE"]["available_with"].push("55"); option_group_data["659-SRF23SBL"] = {}; option_group_data["659-SRF23SBL"]["available_with"] = new Array(); option_group_data["659-SRF23SBL"]["available_with_compound"] = new Array(); option_group_data["659-SRF23SBL"]["available_with"].push("55"); option_group_data["659-SRF23SBL"]["available_with"].push("56"); option_group_data["659-SRF23ALY"] = {}; option_group_data["659-SRF23ALY"]["available_with"] = new Array(); option_group_data["659-SRF23ALY"]["available_with_compound"] = new Array(); option_group_data["659-SRF23ALY"]["available_with"].push("52"); option_group_data["659-SRF23ALY"]["available_with"].push("55"); option_group_data["643-SRF23"] = {}; option_group_data["643-SRF23"]["part_groups"] = new Array(); option_group_data["643-SRF23"]["part_groups"].push("10"); option_group_data["644-SRF23"] = {}; option_group_data["644-SRF23"]["part_groups"] = new Array(); option_group_data["644-SRF23"]["part_groups"].push("10"); option_group_data["638-SRF23"] = {}; option_group_data["638-SRF23"]["part_groups"] = new Array(); option_group_data["638-SRF23"]["part_groups"].push("10"); option_group_data["658-SRF23"] = {}; option_group_data["658-SRF23"]["part_groups"] = new Array(); option_group_data["658-SRF23"]["part_groups"].push("10"); option_group_data["663-SRF23"] = {}; option_group_data["663-SRF23"]["part_groups"] = new Array(); option_group_data["663-SRF23"]["part_groups"].push("10"); option_group_data["STANDARD_ARCH"] = {}; option_group_data["STANDARD_ARCH"]["part_groups"] = new Array(); option_group_data["STANDARD_ARCH"]["part_groups"].push("5"); option_group_data["693-SRF23"] = {}; option_group_data["693-SRF23"]["part_groups"] = new Array(); option_group_data["693-SRF23"]["part_groups"].push("5"); option_group_data["652WT-SRF23BLK"] = {}; option_group_data["652WT-SRF23BLK"]["available_with"] = new Array(); option_group_data["652WT-SRF23BLK"]["available_with_compound"] = new Array(); option_group_data["652WT-SRF23BLK"]["available_with"].push("5"); option_group_data["652WT-SRF23FRE"] = {}; option_group_data["652WT-SRF23FRE"]["available_with"] = new Array(); option_group_data["652WT-SRF23FRE"]["available_with_compound"] = new Array(); option_group_data["652WT-SRF23FRE"]["available_with"].push("5"); option_group_data["652WT-SRF23BLU"] = {}; option_group_data["652WT-SRF23BLU"]["available_with"] = new Array(); option_group_data["652WT-SRF23BLU"]["available_with_compound"] = new Array(); option_group_data["652WT-SRF23BLU"]["available_with"].push("5"); option_group_data["652WT-SRF23SBL"] = {}; option_group_data["652WT-SRF23SBL"]["available_with"] = new Array(); option_group_data["652WT-SRF23SBL"]["available_with_compound"] = new Array(); option_group_data["652WT-SRF23SBL"]["available_with"].push("5"); option_group_data["619WT-SRF23"] = {}; option_group_data["619WT-SRF23"]["available_with"] = new Array(); option_group_data["619WT-SRF23"]["available_with_compound"] = new Array(); option_group_data["619WT-SRF23"]["available_with"].push("5"); option_group_data["619WTEP-SRF23"] = {}; option_group_data["619WTEP-SRF23"]["available_with"] = new Array(); option_group_data["619WTEP-SRF23"]["available_with_compound"] = new Array(); option_group_data["619WTEP-SRF23"]["available_with"].push("5"); option_group_data["685WT-SRF23"] = {}; option_group_data["685WT-SRF23"]["part_groups"] = new Array(); option_group_data["685WT-SRF23"]["part_groups"].push("62"); option_group_data["796-SRF23"] = {}; option_group_data["796-SRF23"]["available_with"] = new Array(); option_group_data["796-SRF23"]["available_with_compound"] = new Array(); option_group_data["796-SRF23"]["available_with"].push("5"); option_group_data["688BA-SRF23EP"] = {}; option_group_data["688BA-SRF23EP"]["available_with"] = new Array(); option_group_data["688BA-SRF23EP"]["available_with_compound"] = new Array(); option_group_data["688BA-SRF23EP"]["available_with"].push("62"); option_group_data["688AG-SRF23"] = {}; option_group_data["688AG-SRF23"]["part_groups"] = new Array(); option_group_data["688AG-SRF23"]["part_groups"].push("60"); option_group_data["688AG-SRF23EP"] = {}; option_group_data["688AG-SRF23EP"]["part_groups"] = new Array(); option_group_data["688AG-SRF23EP"]["available_with"] = new Array(); option_group_data["688AG-SRF23EP"]["available_with_compound"] = new Array(); option_group_data["688AG-SRF23EP"]["part_groups"].push("60"); option_group_data["688AG-SRF23EP"]["available_with"].push("62"); option_group_data["688AA-SRF23"] = {}; option_group_data["688AA-SRF23"]["part_groups"] = new Array(); option_group_data["688AA-SRF23"]["part_groups"].push("61"); option_group_data["688AA-SRF23EP"] = {}; option_group_data["688AA-SRF23EP"]["part_groups"] = new Array(); option_group_data["688AA-SRF23EP"]["available_with"] = new Array(); option_group_data["688AA-SRF23EP"]["available_with_compound"] = new Array(); option_group_data["688AA-SRF23EP"]["part_groups"].push("61"); option_group_data["688AA-SRF23EP"]["available_with"].push("62"); option_group_data["688WA-SRF23EP"] = {}; option_group_data["688WA-SRF23EP"]["available_with"] = new Array(); option_group_data["688WA-SRF23EP"]["available_with_compound"] = new Array(); option_group_data["688WA-SRF23EP"]["available_with"].push("62"); option_group_data["687-SRF23ALM"] = {}; option_group_data["687-SRF23ALM"]["available_with"] = new Array(); option_group_data["687-SRF23ALM"]["available_with_compound"] = new Array(); option_group_data["687-SRF23ALM"]["available_with"].push("61"); option_group_data["686-SRF23ALM"] = {}; option_group_data["686-SRF23ALM"]["available_with"] = new Array(); option_group_data["686-SRF23ALM"]["available_with_compound"] = new Array(); option_group_data["686-SRF23ALM"]["available_with"].push("60"); }); // 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() });