jQuery(document).ready(function(){ jQuery("#input-979-SRF26BE").change(function(){ if(jQuery("#input-979-SRF26BE").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-BE_HULL]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 979-SRF26BE - Black Edition Hull)

"); jQuery("[id^=note-BE_HULL]").html("
(Included in 979-SRF26BE - Black Edition Hull)
"); jQuery("[id^=input-BE_HULL]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-979-SRF26BE").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-BE_HULL]").prop("disabled",false); } // enables the includes jQuery("[id^=input-BE_HULL]").prop("disabled",false); jQuery("[id^=input-BE_HULL]").prop("included_option", false); //if(!jQuery("#input-BE_HULL").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-BE_HULL").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-BE_HULL").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-979-SRF26BE-BE_HULL").remove(); } }); // end click listener jQuery("#input-685M-SRF26").change(function(){ if(jQuery("#input-685M-SRF26").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-512]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685M-SRF26 - Black Edition Package)

"); jQuery("[id^=note-512]").html("
(Included in 685M-SRF26 - Black Edition Package)
"); jQuery("[id^=input-512]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685M-SRF26").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-512]").prop("disabled",false); } // enables the includes jQuery("[id^=input-512]").prop("disabled",false); jQuery("[id^=input-512]").prop("included_option", false); //if(!jQuery("#input-512").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-512").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-512").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685M-SRF26-512").remove(); } }); // end click listener jQuery("#input-685M-SRF26").change(function(){ if(jQuery("#input-685M-SRF26").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-767B]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685M-SRF26 - Black Edition Package)

"); jQuery("[id^=note-767B]").html("
(Included in 685M-SRF26 - Black Edition Package)
"); jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685M-SRF26").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-767B]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B]").prop("disabled",false); jQuery("[id^=input-767B]").prop("included_option", false); //if(!jQuery("#input-767B").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685M-SRF26-767B").remove(); } }); // end click listener jQuery("#input-685V-SRF26").change(function(){ if(jQuery("#input-685V-SRF26").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-512]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685V-SRF26 - Black Edition Package)

"); jQuery("[id^=note-512]").html("
(Included in 685V-SRF26 - Black Edition Package)
"); jQuery("[id^=input-512]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685V-SRF26").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-512]").prop("disabled",false); } // enables the includes jQuery("[id^=input-512]").prop("disabled",false); jQuery("[id^=input-512]").prop("included_option", false); //if(!jQuery("#input-512").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-512").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-512").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685V-SRF26-512").remove(); } }); // end click listener jQuery("#input-685V-SRF26").change(function(){ if(jQuery("#input-685V-SRF26").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-767B]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685V-SRF26 - Black Edition Package)

"); jQuery("[id^=note-767B]").html("
(Included in 685V-SRF26 - Black Edition Package)
"); jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685V-SRF26").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-767B]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B]").prop("disabled",false); jQuery("[id^=input-767B]").prop("included_option", false); //if(!jQuery("#input-767B").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685V-SRF26-767B").remove(); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-951-SRF26BLK").change(function(){ if(jQuery("#input-951-SRF26BLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26BLK]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26BLK - Hull Bottom Gelcoat - Black)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26BLK]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26BLK"); //alert(jQuery("[id^=input-951-SRF26BLK]").attr("title")); //alert(jQuery("[id^=input-951-SRF26BLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26BLK").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26BLK").prop("checked")) { jQuery("#input-951-SRF26BLK").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26BLK"); //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-951-SRF26BLK-979]").length === 0) { jQuery("#note-951-SRF26BLK").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26BLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26BLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26BLK-979]").remove(); jQuery("[id^=input-951-SRF26BLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-951-SRF26BLU").change(function(){ if(jQuery("#input-951-SRF26BLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26BLU]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26BLU - Hull Bottom Gelcoat - Biscayne Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26BLU]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26BLU"); //alert(jQuery("[id^=input-951-SRF26BLU]").attr("title")); //alert(jQuery("[id^=input-951-SRF26BLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26BLU").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26BLU").prop("checked")) { jQuery("#input-951-SRF26BLU").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26BLU"); //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-951-SRF26BLU-979]").length === 0) { jQuery("#note-951-SRF26BLU").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26BLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26BLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26BLU-979]").remove(); jQuery("[id^=input-951-SRF26BLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-951-SRF26ALY").change(function(){ if(jQuery("#input-951-SRF26ALY").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26ALY]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26ALY - Hull Bottom Gelcoat - Alloy Gray)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26ALY]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26ALY"); //alert(jQuery("[id^=input-951-SRF26ALY]").attr("title")); //alert(jQuery("[id^=input-951-SRF26ALY]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26ALY").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26ALY").prop("checked")) { jQuery("#input-951-SRF26ALY").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26ALY"); //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-951-SRF26ALY-979]").length === 0) { jQuery("#note-951-SRF26ALY").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26ALY]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26ALY").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26ALY-979]").remove(); jQuery("[id^=input-951-SRF26ALY]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-951-SRF26SBL").change(function(){ if(jQuery("#input-951-SRF26SBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26SBL]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26SBL - Hull Bottom Gelcoat - Steel Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26SBL]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26SBL"); //alert(jQuery("[id^=input-951-SRF26SBL]").attr("title")); //alert(jQuery("[id^=input-951-SRF26SBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26SBL").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26SBL").prop("checked")) { jQuery("#input-951-SRF26SBL").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26SBL"); //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-951-SRF26SBL-979]").length === 0) { jQuery("#note-951-SRF26SBL").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26SBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26SBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26SBL-979]").remove(); jQuery("[id^=input-951-SRF26SBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-951-SRF26ICE").change(function(){ if(jQuery("#input-951-SRF26ICE").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26ICE]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26ICE - Hull Bottom Gelcoat - Ice Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26ICE]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26ICE"); //alert(jQuery("[id^=input-951-SRF26ICE]").attr("title")); //alert(jQuery("[id^=input-951-SRF26ICE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26ICE").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26ICE").prop("checked")) { jQuery("#input-951-SRF26ICE").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26ICE"); //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-951-SRF26ICE-979]").length === 0) { jQuery("#note-951-SRF26ICE").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26ICE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26ICE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26ICE-979]").remove(); jQuery("[id^=input-951-SRF26ICE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-951-SRF26GRN").change(function(){ if(jQuery("#input-951-SRF26GRN").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26GRN]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26GRN - Hull Bottom Gelcoat - Seafoam Green)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26GRN]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26GRN"); //alert(jQuery("[id^=input-951-SRF26GRN]").attr("title")); //alert(jQuery("[id^=input-951-SRF26GRN]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26GRN").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26GRN").prop("checked")) { jQuery("#input-951-SRF26GRN").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26GRN"); //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-951-SRF26GRN-979]").length === 0) { jQuery("#note-951-SRF26GRN").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26GRN]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26GRN").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26GRN-979]").remove(); jQuery("[id^=input-951-SRF26GRN]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-951-SRF26STL").change(function(){ if(jQuery("#input-951-SRF26STL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-951-SRF26STL]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 951-SRF26STL - Hull Bottom Gelcoat - Stealth Gray)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-951-SRF26STL]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-951-SRF26STL"); //alert(jQuery("[id^=input-951-SRF26STL]").attr("title")); //alert(jQuery("[id^=input-951-SRF26STL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-951-SRF26STL").prop("disabled", true); // determine if checked if(jQuery("#input-951-SRF26STL").prop("checked")) { jQuery("#input-951-SRF26STL").removeAttr("checked").change(); } //console.log("if of reverse input-951-SRF26STL"); //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-951-SRF26STL-979]").length === 0) { jQuery("#note-951-SRF26STL").append("
(N/A with 979 )
"); } jQuery("[id^=input-951-SRF26STL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-951-SRF26STL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-SRF26STL-979]").remove(); jQuery("[id^=input-951-SRF26STL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-911-SRF26").change(function(){ if(jQuery("#input-911-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-SRF26BLK]"); //alert(jQuery("[id^=input-950-SRF26BLK]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-SRF26BLK]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-SRF26BLK]").prop("checked")) { jQuery("[id^=input-950-SRF26BLK]").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-SRF26BLK-911-SRF26]").length === 0) { jQuery("[id^=note-950-SRF26BLK]").append("
(N/A with 911-SRF26 - Painted Metallic Hull Stripe - Black)
"); } jQuery("[id^=input-950-SRF26BLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-SRF26BLK]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-SRF26BLK-911-SRF26]").remove(); jQuery("[id^=input-950-SRF26BLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-SRF26BLK]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-911-SRF26"); //alert(jQuery("[id^=input-911-SRF26]").attr("title")); //alert(jQuery("[id^=input-911-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-911-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-911-SRF26").prop("checked")) { jQuery("#input-911-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-911-SRF26"); //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-911-SRF26-950-SRF26BLK]").length === 0) { jQuery("#note-911-SRF26").append("
(N/A with 950-SRF26BLK )
"); } jQuery("[id^=input-911-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-911-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-911-SRF26-950-SRF26BLK]").remove(); jQuery("[id^=input-911-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-906-SRF26").change(function(){ if(jQuery("#input-906-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-SRF26BLU]"); //alert(jQuery("[id^=input-950-SRF26BLU]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-SRF26BLU]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-SRF26BLU]").prop("checked")) { jQuery("[id^=input-950-SRF26BLU]").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-SRF26BLU-906-SRF26]").length === 0) { jQuery("[id^=note-950-SRF26BLU]").append("
(N/A with 906-SRF26 - Painted Metallic Hull Stripe - Blue)
"); } jQuery("[id^=input-950-SRF26BLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-SRF26BLU]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-SRF26BLU-906-SRF26]").remove(); jQuery("[id^=input-950-SRF26BLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-SRF26BLU]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-906-SRF26"); //alert(jQuery("[id^=input-906-SRF26]").attr("title")); //alert(jQuery("[id^=input-906-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-906-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-906-SRF26").prop("checked")) { jQuery("#input-906-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-906-SRF26"); //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-906-SRF26-950-SRF26BLU]").length === 0) { jQuery("#note-906-SRF26").append("
(N/A with 950-SRF26BLU )
"); } jQuery("[id^=input-906-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-906-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-906-SRF26-950-SRF26BLU]").remove(); jQuery("[id^=input-906-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-903-SRF26").change(function(){ if(jQuery("#input-903-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-SRF26WHT]"); //alert(jQuery("[id^=input-950-SRF26WHT]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-SRF26WHT]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-SRF26WHT]").prop("checked")) { jQuery("[id^=input-950-SRF26WHT]").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-SRF26WHT-903-SRF26]").length === 0) { jQuery("[id^=note-950-SRF26WHT]").append("
(N/A with 903-SRF26 - Painted Metallic Hull Stripe - White)
"); } jQuery("[id^=input-950-SRF26WHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-SRF26WHT]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-SRF26WHT-903-SRF26]").remove(); jQuery("[id^=input-950-SRF26WHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-SRF26WHT]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-903-SRF26"); //alert(jQuery("[id^=input-903-SRF26]").attr("title")); //alert(jQuery("[id^=input-903-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-903-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-903-SRF26").prop("checked")) { jQuery("#input-903-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-903-SRF26"); //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-903-SRF26-950-SRF26WHT]").length === 0) { jQuery("#note-903-SRF26").append("
(N/A with 950-SRF26WHT )
"); } jQuery("[id^=input-903-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-903-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-903-SRF26-950-SRF26WHT]").remove(); jQuery("[id^=input-903-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-590-SRF26BLU").change(function(){ if(jQuery("#input-590-SRF26BLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-590-SRF26BLU]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 590-SRF26BLU - Standard Canvas - Biscayne Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-590-SRF26BLU]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-590-SRF26BLU"); //alert(jQuery("[id^=input-590-SRF26BLU]").attr("title")); //alert(jQuery("[id^=input-590-SRF26BLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-590-SRF26BLU").prop("disabled", true); // determine if checked if(jQuery("#input-590-SRF26BLU").prop("checked")) { jQuery("#input-590-SRF26BLU").removeAttr("checked").change(); } //console.log("if of reverse input-590-SRF26BLU"); //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-590-SRF26BLU-979]").length === 0) { jQuery("#note-590-SRF26BLU").append("
(N/A with 979 )
"); } jQuery("[id^=input-590-SRF26BLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-590-SRF26BLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-590-SRF26BLU-979]").remove(); jQuery("[id^=input-590-SRF26BLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-590-SRF26SBL").change(function(){ if(jQuery("#input-590-SRF26SBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-590-SRF26SBL]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 590-SRF26SBL - Standard Canvas - Steel Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-590-SRF26SBL]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-590-SRF26SBL"); //alert(jQuery("[id^=input-590-SRF26SBL]").attr("title")); //alert(jQuery("[id^=input-590-SRF26SBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-590-SRF26SBL").prop("disabled", true); // determine if checked if(jQuery("#input-590-SRF26SBL").prop("checked")) { jQuery("#input-590-SRF26SBL").removeAttr("checked").change(); } //console.log("if of reverse input-590-SRF26SBL"); //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-590-SRF26SBL-979]").length === 0) { jQuery("#note-590-SRF26SBL").append("
(N/A with 979 )
"); } jQuery("[id^=input-590-SRF26SBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-590-SRF26SBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-590-SRF26SBL-979]").remove(); jQuery("[id^=input-590-SRF26SBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-562-SRF26BLU").change(function(){ if(jQuery("#input-562-SRF26BLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-562-SRF26BLU]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 562-SRF26BLU - Extendable AFT Bimini - Biscayne Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-562-SRF26BLU]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-562-SRF26BLU"); //alert(jQuery("[id^=input-562-SRF26BLU]").attr("title")); //alert(jQuery("[id^=input-562-SRF26BLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-562-SRF26BLU").prop("disabled", true); // determine if checked if(jQuery("#input-562-SRF26BLU").prop("checked")) { jQuery("#input-562-SRF26BLU").removeAttr("checked").change(); } //console.log("if of reverse input-562-SRF26BLU"); //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-562-SRF26BLU-979]").length === 0) { jQuery("#note-562-SRF26BLU").append("
(N/A with 979 )
"); } jQuery("[id^=input-562-SRF26BLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-562-SRF26BLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-562-SRF26BLU-979]").remove(); jQuery("[id^=input-562-SRF26BLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-562-SRF26SBL").change(function(){ if(jQuery("#input-562-SRF26SBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").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-979-562-SRF26SBL]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 562-SRF26SBL - Extendable AFT Bimini - Steel Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-562-SRF26SBL]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-562-SRF26SBL"); //alert(jQuery("[id^=input-562-SRF26SBL]").attr("title")); //alert(jQuery("[id^=input-562-SRF26SBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-562-SRF26SBL").prop("disabled", true); // determine if checked if(jQuery("#input-562-SRF26SBL").prop("checked")) { jQuery("#input-562-SRF26SBL").removeAttr("checked").change(); } //console.log("if of reverse input-562-SRF26SBL"); //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-562-SRF26SBL-979]").length === 0) { jQuery("#note-562-SRF26SBL").append("
(N/A with 979 )
"); } jQuery("[id^=input-562-SRF26SBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-562-SRF26SBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-562-SRF26SBL-979]").remove(); jQuery("[id^=input-562-SRF26SBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685M-SRF26").change(function(){ if(jQuery("#input-685M-SRF26").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-685M-SRF26]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685M-SRF26 - Black Edition Package)
"); } 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-685M-SRF26]").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-685M-SRF26"); //alert(jQuery("[id^=input-685M-SRF26]").attr("title")); //alert(jQuery("[id^=input-685M-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685M-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-685M-SRF26").prop("checked")) { jQuery("#input-685M-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-685M-SRF26"); //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-685M-SRF26-950]").length === 0) { jQuery("#note-685M-SRF26").append("
(N/A with 950 )
"); } jQuery("[id^=input-685M-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685M-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685M-SRF26-950]").remove(); jQuery("[id^=input-685M-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685M-SRF26").change(function(){ if(jQuery("#input-685M-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-951]"); //alert(jQuery("[id^=input-951]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-951]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-951]").prop("checked")) { jQuery("[id^=input-951]").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-951-685M-SRF26]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685M-SRF26 - Black Edition Package)
"); } jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-951]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-685M-SRF26]").remove(); jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-951]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685M-SRF26"); //alert(jQuery("[id^=input-685M-SRF26]").attr("title")); //alert(jQuery("[id^=input-685M-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685M-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-685M-SRF26").prop("checked")) { jQuery("#input-685M-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-685M-SRF26"); //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-685M-SRF26-951]").length === 0) { jQuery("#note-685M-SRF26").append("
(N/A with 951 )
"); } jQuery("[id^=input-685M-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685M-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685M-SRF26-951]").remove(); jQuery("[id^=input-685M-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685V-SRF26").change(function(){ if(jQuery("#input-685V-SRF26").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-685V-SRF26]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685V-SRF26 - Black Edition Package)
"); } 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-685V-SRF26]").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-685V-SRF26"); //alert(jQuery("[id^=input-685V-SRF26]").attr("title")); //alert(jQuery("[id^=input-685V-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685V-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-685V-SRF26").prop("checked")) { jQuery("#input-685V-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-685V-SRF26"); //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-685V-SRF26-950]").length === 0) { jQuery("#note-685V-SRF26").append("
(N/A with 950 )
"); } jQuery("[id^=input-685V-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685V-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685V-SRF26-950]").remove(); jQuery("[id^=input-685V-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685V-SRF26").change(function(){ if(jQuery("#input-685V-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-951]"); //alert(jQuery("[id^=input-951]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-951]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-951]").prop("checked")) { jQuery("[id^=input-951]").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-951-685V-SRF26]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685V-SRF26 - Black Edition Package)
"); } jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-951]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-685V-SRF26]").remove(); jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-951]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685V-SRF26"); //alert(jQuery("[id^=input-685V-SRF26]").attr("title")); //alert(jQuery("[id^=input-685V-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685V-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-685V-SRF26").prop("checked")) { jQuery("#input-685V-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-685V-SRF26"); //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-685V-SRF26-951]").length === 0) { jQuery("#note-685V-SRF26").append("
(N/A with 951 )
"); } jQuery("[id^=input-685V-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685V-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685V-SRF26-951]").remove(); jQuery("[id^=input-685V-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-512-SRF26").change(function(){ if(jQuery("#input-512-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-638]"); //alert(jQuery("[id^=input-638]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-638]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-638]").prop("checked")) { jQuery("[id^=input-638]").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-638-512-SRF26]").length === 0) { jQuery("[id^=note-638]").append("
(N/A with 512-SRF26 - JL Audio Sound System Upgrade)
"); } jQuery("[id^=input-638]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-638]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-638-512-SRF26]").remove(); jQuery("[id^=input-638]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-638]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-512-SRF26"); //alert(jQuery("[id^=input-512-SRF26]").attr("title")); //alert(jQuery("[id^=input-512-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-512-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-512-SRF26").prop("checked")) { jQuery("#input-512-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-512-SRF26"); //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-512-SRF26-638]").length === 0) { jQuery("#note-512-SRF26").append("
(N/A with 638 )
"); } jQuery("[id^=input-512-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-512-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-512-SRF26-638]").remove(); jQuery("[id^=input-512-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-713W-SRF26").change(function(){ if(jQuery("#input-713W-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-767B]"); //alert(jQuery("[id^=input-767B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-767B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-767B]").prop("checked")) { jQuery("[id^=input-767B]").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-767B-713W-SRF26]").length === 0) { jQuery("[id^=note-767B]").append("
(N/A with 713W-SRF26 - Tower Speakers (2))
"); } jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-767B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-767B-713W-SRF26]").remove(); jQuery("[id^=input-767B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-767B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-713W-SRF26"); //alert(jQuery("[id^=input-713W-SRF26]").attr("title")); //alert(jQuery("[id^=input-713W-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-713W-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-713W-SRF26").prop("checked")) { jQuery("#input-713W-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-713W-SRF26"); //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-713W-SRF26-767B]").length === 0) { jQuery("#note-713W-SRF26").append("
(N/A with 767B )
"); } jQuery("[id^=input-713W-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-713W-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-713W-SRF26-767B]").remove(); jQuery("[id^=input-713W-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-713W-SRF26").change(function(){ if(jQuery("#input-713W-SRF26").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-713W-SRF26]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 713W-SRF26 - Tower Speakers (2))
"); } 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-713W-SRF26]").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-713W-SRF26"); //alert(jQuery("[id^=input-713W-SRF26]").attr("title")); //alert(jQuery("[id^=input-713W-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-713W-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-713W-SRF26").prop("checked")) { jQuery("#input-713W-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-713W-SRF26"); //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-713W-SRF26-685]").length === 0) { jQuery("#note-713W-SRF26").append("
(N/A with 685 )
"); } jQuery("[id^=input-713W-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-713W-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-713W-SRF26-685]").remove(); jQuery("[id^=input-713W-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-SRF26CYN").change(function(){ if(jQuery("#input-560NCT-SRF26CYN").prop("checked")) { //alert("na_with here"); //alert("[id^=input-650]"); //alert(jQuery("[id^=input-650]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-650]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-650]").prop("checked")) { jQuery("[id^=input-650]").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-650-560NCT-SRF26CYN]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-SRF26CYN - Bowrider Filler Cushion)
"); } jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-650]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-650-560NCT-SRF26CYN]").remove(); jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-650]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-560NCT-SRF26CYN"); //alert(jQuery("[id^=input-560NCT-SRF26CYN]").attr("title")); //alert(jQuery("[id^=input-560NCT-SRF26CYN]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-SRF26CYN").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-SRF26CYN").prop("checked")) { jQuery("#input-560NCT-SRF26CYN").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-SRF26CYN"); //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-560NCT-SRF26CYN-650]").length === 0) { jQuery("#note-560NCT-SRF26CYN").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-SRF26CYN]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-SRF26CYN").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-SRF26CYN-650]").remove(); jQuery("[id^=input-560NCT-SRF26CYN]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-SRF26BLU").change(function(){ if(jQuery("#input-560NCT-SRF26BLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-650]"); //alert(jQuery("[id^=input-650]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-650]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-650]").prop("checked")) { jQuery("[id^=input-650]").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-650-560NCT-SRF26BLU]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-SRF26BLU - Bowrider Filler Cushion)
"); } jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-650]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-650-560NCT-SRF26BLU]").remove(); jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-650]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-560NCT-SRF26BLU"); //alert(jQuery("[id^=input-560NCT-SRF26BLU]").attr("title")); //alert(jQuery("[id^=input-560NCT-SRF26BLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-SRF26BLU").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-SRF26BLU").prop("checked")) { jQuery("#input-560NCT-SRF26BLU").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-SRF26BLU"); //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-560NCT-SRF26BLU-650]").length === 0) { jQuery("#note-560NCT-SRF26BLU").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-SRF26BLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-SRF26BLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-SRF26BLU-650]").remove(); jQuery("[id^=input-560NCT-SRF26BLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-SRF26SLT").change(function(){ if(jQuery("#input-560NCT-SRF26SLT").prop("checked")) { //alert("na_with here"); //alert("[id^=input-650]"); //alert(jQuery("[id^=input-650]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-650]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-650]").prop("checked")) { jQuery("[id^=input-650]").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-650-560NCT-SRF26SLT]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-SRF26SLT - Bowrider Filler Cushion)
"); } jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-650]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-650-560NCT-SRF26SLT]").remove(); jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-650]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-560NCT-SRF26SLT"); //alert(jQuery("[id^=input-560NCT-SRF26SLT]").attr("title")); //alert(jQuery("[id^=input-560NCT-SRF26SLT]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-SRF26SLT").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-SRF26SLT").prop("checked")) { jQuery("#input-560NCT-SRF26SLT").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-SRF26SLT"); //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-560NCT-SRF26SLT-650]").length === 0) { jQuery("#note-560NCT-SRF26SLT").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-SRF26SLT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-SRF26SLT").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-SRF26SLT-650]").remove(); jQuery("[id^=input-560NCT-SRF26SLT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-SRF26SBL").change(function(){ if(jQuery("#input-560NCT-SRF26SBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-650]"); //alert(jQuery("[id^=input-650]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-650]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-650]").prop("checked")) { jQuery("[id^=input-650]").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-650-560NCT-SRF26SBL]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-SRF26SBL - Bowrider Filler Cushion)
"); } jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-650]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-650-560NCT-SRF26SBL]").remove(); jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-650]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-560NCT-SRF26SBL"); //alert(jQuery("[id^=input-560NCT-SRF26SBL]").attr("title")); //alert(jQuery("[id^=input-560NCT-SRF26SBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-SRF26SBL").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-SRF26SBL").prop("checked")) { jQuery("#input-560NCT-SRF26SBL").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-SRF26SBL"); //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-560NCT-SRF26SBL-650]").length === 0) { jQuery("#note-560NCT-SRF26SBL").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-SRF26SBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-SRF26SBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-SRF26SBL-650]").remove(); jQuery("[id^=input-560NCT-SRF26SBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-SRF26BLK").change(function(){ if(jQuery("#input-560NCT-SRF26BLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-650]"); //alert(jQuery("[id^=input-650]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-650]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-650]").prop("checked")) { jQuery("[id^=input-650]").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-650-560NCT-SRF26BLK]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-SRF26BLK - Bowrider Filler Cushion)
"); } jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-650]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-650-560NCT-SRF26BLK]").remove(); jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-650]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-560NCT-SRF26BLK"); //alert(jQuery("[id^=input-560NCT-SRF26BLK]").attr("title")); //alert(jQuery("[id^=input-560NCT-SRF26BLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-SRF26BLK").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-SRF26BLK").prop("checked")) { jQuery("#input-560NCT-SRF26BLK").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-SRF26BLK"); //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-560NCT-SRF26BLK-650]").length === 0) { jQuery("#note-560NCT-SRF26BLK").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-SRF26BLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-SRF26BLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-SRF26BLK-650]").remove(); jQuery("[id^=input-560NCT-SRF26BLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-SRF26DNE").change(function(){ if(jQuery("#input-560NCT-SRF26DNE").prop("checked")) { //alert("na_with here"); //alert("[id^=input-650]"); //alert(jQuery("[id^=input-650]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-650]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-650]").prop("checked")) { jQuery("[id^=input-650]").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-650-560NCT-SRF26DNE]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-SRF26DNE - Bowrider Filler Cushion)
"); } jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-650]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-650-560NCT-SRF26DNE]").remove(); jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-650]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-560NCT-SRF26DNE"); //alert(jQuery("[id^=input-560NCT-SRF26DNE]").attr("title")); //alert(jQuery("[id^=input-560NCT-SRF26DNE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-SRF26DNE").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-SRF26DNE").prop("checked")) { jQuery("#input-560NCT-SRF26DNE").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-SRF26DNE"); //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-560NCT-SRF26DNE-650]").length === 0) { jQuery("#note-560NCT-SRF26DNE").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-SRF26DNE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-SRF26DNE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-SRF26DNE-650]").remove(); jQuery("[id^=input-560NCT-SRF26DNE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-SRF26").change(function(){ if(jQuery("#input-704S-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592ID]"); //alert(jQuery("[id^=input-592ID]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592ID]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592ID]").prop("checked")) { jQuery("[id^=input-592ID]").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-592ID-704S-SRF26]").length === 0) { jQuery("[id^=note-592ID]").append("
(N/A with 704S-SRF26 - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-592ID]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592ID]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592ID-704S-SRF26]").remove(); jQuery("[id^=input-592ID]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592ID]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704S-SRF26"); //alert(jQuery("[id^=input-704S-SRF26]").attr("title")); //alert(jQuery("[id^=input-704S-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-704S-SRF26").prop("checked")) { jQuery("#input-704S-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-704S-SRF26"); //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-704S-SRF26-592ID]").length === 0) { jQuery("#note-704S-SRF26").append("
(N/A with 592ID )
"); } jQuery("[id^=input-704S-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-SRF26-592ID]").remove(); jQuery("[id^=input-704S-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-SRF26").change(function(){ if(jQuery("#input-704S-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592IC]"); //alert(jQuery("[id^=input-592IC]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592IC]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592IC]").prop("checked")) { jQuery("[id^=input-592IC]").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-592IC-704S-SRF26]").length === 0) { jQuery("[id^=note-592IC]").append("
(N/A with 704S-SRF26 - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-592IC]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592IC]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592IC-704S-SRF26]").remove(); jQuery("[id^=input-592IC]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592IC]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704S-SRF26"); //alert(jQuery("[id^=input-704S-SRF26]").attr("title")); //alert(jQuery("[id^=input-704S-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-704S-SRF26").prop("checked")) { jQuery("#input-704S-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-704S-SRF26"); //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-704S-SRF26-592IC]").length === 0) { jQuery("#note-704S-SRF26").append("
(N/A with 592IC )
"); } jQuery("[id^=input-704S-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-SRF26-592IC]").remove(); jQuery("[id^=input-704S-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-SRF26").change(function(){ if(jQuery("#input-704D-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592IS]"); //alert(jQuery("[id^=input-592IS]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592IS]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592IS]").prop("checked")) { jQuery("[id^=input-592IS]").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-592IS-704D-SRF26]").length === 0) { jQuery("[id^=note-592IS]").append("
(N/A with 704D-SRF26 - Snap-In Seadek Cockpit Flooring - Dune)
"); } jQuery("[id^=input-592IS]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592IS]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592IS-704D-SRF26]").remove(); jQuery("[id^=input-592IS]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592IS]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704D-SRF26"); //alert(jQuery("[id^=input-704D-SRF26]").attr("title")); //alert(jQuery("[id^=input-704D-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-704D-SRF26").prop("checked")) { jQuery("#input-704D-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-704D-SRF26"); //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-704D-SRF26-592IS]").length === 0) { jQuery("#note-704D-SRF26").append("
(N/A with 592IS )
"); } jQuery("[id^=input-704D-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-SRF26-592IS]").remove(); jQuery("[id^=input-704D-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-SRF26").change(function(){ if(jQuery("#input-704D-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592IC]"); //alert(jQuery("[id^=input-592IC]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592IC]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592IC]").prop("checked")) { jQuery("[id^=input-592IC]").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-592IC-704D-SRF26]").length === 0) { jQuery("[id^=note-592IC]").append("
(N/A with 704D-SRF26 - Snap-In Seadek Cockpit Flooring - Dune)
"); } jQuery("[id^=input-592IC]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592IC]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592IC-704D-SRF26]").remove(); jQuery("[id^=input-592IC]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592IC]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704D-SRF26"); //alert(jQuery("[id^=input-704D-SRF26]").attr("title")); //alert(jQuery("[id^=input-704D-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-704D-SRF26").prop("checked")) { jQuery("#input-704D-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-704D-SRF26"); //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-704D-SRF26-592IC]").length === 0) { jQuery("#note-704D-SRF26").append("
(N/A with 592IC )
"); } jQuery("[id^=input-704D-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-SRF26-592IC]").remove(); jQuery("[id^=input-704D-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-SRF26").change(function(){ if(jQuery("#input-704C-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592IS]"); //alert(jQuery("[id^=input-592IS]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592IS]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592IS]").prop("checked")) { jQuery("[id^=input-592IS]").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-592IS-704C-SRF26]").length === 0) { jQuery("[id^=note-592IS]").append("
(N/A with 704C-SRF26 - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-592IS]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592IS]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592IS-704C-SRF26]").remove(); jQuery("[id^=input-592IS]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592IS]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-SRF26"); //alert(jQuery("[id^=input-704C-SRF26]").attr("title")); //alert(jQuery("[id^=input-704C-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-704C-SRF26").prop("checked")) { jQuery("#input-704C-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-704C-SRF26"); //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-SRF26-592IS]").length === 0) { jQuery("#note-704C-SRF26").append("
(N/A with 592IS )
"); } jQuery("[id^=input-704C-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-SRF26-592IS]").remove(); jQuery("[id^=input-704C-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-SRF26").change(function(){ if(jQuery("#input-704C-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592ID]"); //alert(jQuery("[id^=input-592ID]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592ID]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592ID]").prop("checked")) { jQuery("[id^=input-592ID]").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-592ID-704C-SRF26]").length === 0) { jQuery("[id^=note-592ID]").append("
(N/A with 704C-SRF26 - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-592ID]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592ID]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592ID-704C-SRF26]").remove(); jQuery("[id^=input-592ID]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592ID]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-SRF26"); //alert(jQuery("[id^=input-704C-SRF26]").attr("title")); //alert(jQuery("[id^=input-704C-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-704C-SRF26").prop("checked")) { jQuery("#input-704C-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-704C-SRF26"); //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-SRF26-592ID]").length === 0) { jQuery("#note-704C-SRF26").append("
(N/A with 592ID )
"); } jQuery("[id^=input-704C-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-SRF26-592ID]").remove(); jQuery("[id^=input-704C-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-527-SRF26").change(function(){ if(jQuery("#input-527-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-540]"); //alert(jQuery("[id^=input-540]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-540]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-540]").prop("checked")) { jQuery("[id^=input-540]").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-540-527-SRF26]").length === 0) { jQuery("[id^=note-540]").append("
(N/A with 527-SRF26 - Anchor - Galvanized)
"); } jQuery("[id^=input-540]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-540]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-540-527-SRF26]").remove(); jQuery("[id^=input-540]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-540]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-527-SRF26"); //alert(jQuery("[id^=input-527-SRF26]").attr("title")); //alert(jQuery("[id^=input-527-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-527-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-527-SRF26").prop("checked")) { jQuery("#input-527-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-527-SRF26"); //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-527-SRF26-540]").length === 0) { jQuery("#note-527-SRF26").append("
(N/A with 540 )
"); } jQuery("[id^=input-527-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-527-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-527-SRF26-540]").remove(); jQuery("[id^=input-527-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-797-SRF26").change(function(){ if(jQuery("#input-797-SRF26").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-797-SRF26]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 797-SRF26 - Ski Mirror)
"); } 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-797-SRF26]").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-797-SRF26"); //alert(jQuery("[id^=input-797-SRF26]").attr("title")); //alert(jQuery("[id^=input-797-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-797-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-797-SRF26").prop("checked")) { jQuery("#input-797-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-797-SRF26"); //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-797-SRF26-685]").length === 0) { jQuery("#note-797-SRF26").append("
(N/A with 685 )
"); } jQuery("[id^=input-797-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-797-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-797-SRF26-685]").remove(); jQuery("[id^=input-797-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-796DB-SRF26").change(function(){ if(jQuery("#input-796DB-SRF26").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-796DB-SRF26]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 796DB-SRF26 - Diamondback Board Racks - Swiveling)
"); } 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-796DB-SRF26]").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-796DB-SRF26"); //alert(jQuery("[id^=input-796DB-SRF26]").attr("title")); //alert(jQuery("[id^=input-796DB-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-796DB-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-796DB-SRF26").prop("checked")) { jQuery("#input-796DB-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-796DB-SRF26"); //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-796DB-SRF26-685]").length === 0) { jQuery("#note-796DB-SRF26").append("
(N/A with 685 )
"); } jQuery("[id^=input-796DB-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-796DB-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-796DB-SRF26-685]").remove(); jQuery("[id^=input-796DB-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-579-SRF26").change(function(){ if(jQuery("#input-579-SRF26").prop("checked")) { //alert("na_with here"); //alert("[id^=input-800]"); //alert(jQuery("[id^=input-800]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-800]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-800]").prop("checked")) { jQuery("[id^=input-800]").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-800-579-SRF26]").length === 0) { jQuery("[id^=note-800]").append("
(N/A with 579-SRF26 - Dual Battery Charger)
"); } jQuery("[id^=input-800]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-800]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-800-579-SRF26]").remove(); jQuery("[id^=input-800]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-800]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-579-SRF26"); //alert(jQuery("[id^=input-579-SRF26]").attr("title")); //alert(jQuery("[id^=input-579-SRF26]").is(":checked")); // disable the includes and unchecks it jQuery("#input-579-SRF26").prop("disabled", true); // determine if checked if(jQuery("#input-579-SRF26").prop("checked")) { jQuery("#input-579-SRF26").removeAttr("checked").change(); } //console.log("if of reverse input-579-SRF26"); //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-579-SRF26-800]").length === 0) { jQuery("#note-579-SRF26").append("
(N/A with 800 )
"); } jQuery("[id^=input-579-SRF26]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-579-SRF26").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-579-SRF26-800]").remove(); jQuery("[id^=input-579-SRF26]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-979-SRF26BE").change(function(){ if(jQuery("#input-979-SRF26BE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-SRF26BE]").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-535-979-SRF26BE]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-535]").prop("type") != "radio") if(jQuery("[id^=input-535]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-535]").prop("disabled", true); } else if(jQuery("[id^=input-535]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-535]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-535]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-535]").prop("disabled", false); } if(!jQuery("[id^=input-535]").prop("checked")){ jQuery("[id^=input-535]").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-535]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-535]").append("
(Required By: 979-SRF26BE-Black Edition Hull)
"); } } // 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-979-SRF26BE]").hide(); jQuery("[id^=note-single-required-by-979-SRF26BE]").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-535]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-535]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-535-979-SRF26BE]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-535]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-535]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-979-SRF26BE").change(function(){ if(jQuery("#input-979-SRF26BE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-SRF26BE]").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-979-SRF26BE]").hide(); jQuery("[id^=note-single-required-by-979-SRF26BE]").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-535]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-535]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-535-979-SRF26BE]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-535]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-535]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-BE_HULL").change(function(){ if(jQuery("#input-BE_HULL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-BE_HULL]").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-979-BE_HULL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-979]").prop("type") != "radio") if(jQuery("[id^=input-979]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-979]").prop("disabled", true); } else if(jQuery("[id^=input-979]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-979]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-979]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-979]").prop("disabled", false); } if(!jQuery("[id^=input-979]").prop("checked")){ jQuery("[id^=input-979]").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-979]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-979]").append("
(Required By: BE_HULL-Black Edition Hull Bottom)
"); } } // 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-BE_HULL]").hide(); jQuery("[id^=note-single-required-by-BE_HULL]").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-979]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-979]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-979-BE_HULL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-979]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-979]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-532-SRF26").change(function(){ if(jQuery("#input-532-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-532-SRF26]").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-592IS-532-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592IS]").prop("type") != "radio") if(jQuery("[id^=input-592IS]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592IS]").prop("disabled", true); } else if(jQuery("[id^=input-592IS]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592IS]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592IS]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592IS]").prop("disabled", false); } if(!jQuery("[id^=input-592IS]").prop("checked")){ jQuery("[id^=input-592IS]").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-592IS]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592IS]").append("
(Required By: 532-SRF26-Cockpit Interior - Slate)
"); } } // 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-532-SRF26]").hide(); jQuery("[id^=note-single-required-by-532-SRF26]").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-592IS]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IS]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IS-532-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IS]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IS]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-778-SRF26").change(function(){ if(jQuery("#input-778-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-778-SRF26]").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-592ID-778-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592ID]").prop("type") != "radio") if(jQuery("[id^=input-592ID]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592ID]").prop("disabled", true); } else if(jQuery("[id^=input-592ID]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592ID]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592ID]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592ID]").prop("disabled", false); } if(!jQuery("[id^=input-592ID]").prop("checked")){ jQuery("[id^=input-592ID]").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-592ID]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592ID]").append("
(Required By: 778-SRF26-Cockpit Interior - Dune)
"); } } // 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-778-SRF26]").hide(); jQuery("[id^=note-single-required-by-778-SRF26]").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-592ID]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592ID]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592ID-778-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592ID]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592ID]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-535-SRF26").change(function(){ if(jQuery("#input-535-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-SRF26]").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-535-SRF26]").hide(); jQuery("[id^=note-single-required-by-535-SRF26]").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-592ID]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592ID]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592ID-778-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592ID]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592ID]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-535-SRF26").change(function(){ if(jQuery("#input-535-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-SRF26]").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-979-535-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-979]").prop("type") != "radio") if(jQuery("[id^=input-979]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-979]").prop("disabled", true); } else if(jQuery("[id^=input-979]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-979]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-979]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-979]").prop("disabled", false); } if(!jQuery("[id^=input-979]").prop("checked")){ jQuery("[id^=input-979]").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-979]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-979]").append("
(Required By: 535-SRF26-Cockpit Interior - Black Edition)
"); } } // 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-535-SRF26]").hide(); jQuery("[id^=note-single-required-by-535-SRF26]").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-979]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-979]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-979-535-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-979]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-979]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-638M-SRF26").change(function(){ if(jQuery("#input-638M-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-638M-SRF26]").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-592IC-638M-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592IC]").prop("type") != "radio") if(jQuery("[id^=input-592IC]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592IC]").prop("disabled", true); } else if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592IC]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592IC]").prop("disabled", false); } if(!jQuery("[id^=input-592IC]").prop("checked")){ jQuery("[id^=input-592IC]").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-592IC]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592IC]").append("
(Required By: 638M-SRF26-Cockpit Interior - Cayenne)
"); } } // 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-638M-SRF26]").hide(); jQuery("[id^=note-single-required-by-638M-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-638M-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-638V-SRF26").change(function(){ if(jQuery("#input-638V-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-638V-SRF26]").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-592IC-638V-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592IC]").prop("type") != "radio") if(jQuery("[id^=input-592IC]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592IC]").prop("disabled", true); } else if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592IC]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592IC]").prop("disabled", false); } if(!jQuery("[id^=input-592IC]").prop("checked")){ jQuery("[id^=input-592IC]").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-592IC]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592IC]").append("
(Required By: 638V-SRF26-Cockpit Interior - Cayenne)
"); } } // 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-638V-SRF26]").hide(); jQuery("[id^=note-single-required-by-638V-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-638V-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-685M-SRF26").change(function(){ if(jQuery("#input-685M-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-685M-SRF26]").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-592IC-685M-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592IC]").prop("type") != "radio") if(jQuery("[id^=input-592IC]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592IC]").prop("disabled", true); } else if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592IC]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592IC]").prop("disabled", false); } if(!jQuery("[id^=input-592IC]").prop("checked")){ jQuery("[id^=input-592IC]").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-592IC]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592IC]").append("
(Required By: 685M-SRF26-Black Edition 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-685M-SRF26]").hide(); jQuery("[id^=note-single-required-by-685M-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-685M-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-685V-SRF26").change(function(){ if(jQuery("#input-685V-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-685V-SRF26]").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-592IC-685V-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592IC]").prop("type") != "radio") if(jQuery("[id^=input-592IC]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592IC]").prop("disabled", true); } else if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592IC]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592IC]").prop("disabled", false); } if(!jQuery("[id^=input-592IC]").prop("checked")){ jQuery("[id^=input-592IC]").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-592IC]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592IC]").append("
(Required By: 685V-SRF26-Black Edition 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-685V-SRF26]").hide(); jQuery("[id^=note-single-required-by-685V-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-685V-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-713W-SRF26").change(function(){ if(jQuery("#input-713W-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-713W-SRF26]").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-713W-SRF26]").hide(); jQuery("[id^=note-single-required-by-713W-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-685V-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-713B-SRF26").change(function(){ if(jQuery("#input-713B-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-713B-SRF26]").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-713B-SRF26]").hide(); jQuery("[id^=note-single-required-by-713B-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-685V-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-595T-SRF26").change(function(){ if(jQuery("#input-595T-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-595T-SRF26]").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-650-595T-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 595T-SRF26-Teak Inlay Table Top - Teak)
"); } } // 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-595T-SRF26]").hide(); jQuery("[id^=note-single-required-by-595T-SRF26]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-595T-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-595S-SRF26").change(function(){ if(jQuery("#input-595S-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-595S-SRF26]").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-650-595S-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 595S-SRF26-Teak Inlay Table Top - Silver)
"); } } // 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-595S-SRF26]").hide(); jQuery("[id^=note-single-required-by-595S-SRF26]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-595S-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-560CT-SRF26DNE").change(function(){ if(jQuery("#input-560CT-SRF26DNE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-SRF26DNE]").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-650-560CT-SRF26DNE]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 560CT-SRF26DNE-Bowrider Filler Cushion)
"); } } // 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-560CT-SRF26DNE]").hide(); jQuery("[id^=note-single-required-by-560CT-SRF26DNE]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26DNE]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-560CT-SRF26SBL").change(function(){ if(jQuery("#input-560CT-SRF26SBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-SRF26SBL]").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-650-560CT-SRF26SBL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 560CT-SRF26SBL-Bowrider Filler Cushion)
"); } } // 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-560CT-SRF26SBL]").hide(); jQuery("[id^=note-single-required-by-560CT-SRF26SBL]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26SBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-560CT-SRF26BLK").change(function(){ if(jQuery("#input-560CT-SRF26BLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-SRF26BLK]").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-650-560CT-SRF26BLK]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 560CT-SRF26BLK-Bowrider Filler Cushion)
"); } } // 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-560CT-SRF26BLK]").hide(); jQuery("[id^=note-single-required-by-560CT-SRF26BLK]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26BLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-560CT-SRF26BLU").change(function(){ if(jQuery("#input-560CT-SRF26BLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-SRF26BLU]").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-650-560CT-SRF26BLU]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 560CT-SRF26BLU-Bowrider Filler Cushion)
"); } } // 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-560CT-SRF26BLU]").hide(); jQuery("[id^=note-single-required-by-560CT-SRF26BLU]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26BLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-560CT-SRF26CYN").change(function(){ if(jQuery("#input-560CT-SRF26CYN").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-SRF26CYN]").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-650-560CT-SRF26CYN]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 560CT-SRF26CYN-Bowrider Filler Cushion)
"); } } // 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-560CT-SRF26CYN]").hide(); jQuery("[id^=note-single-required-by-560CT-SRF26CYN]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26CYN]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-560CT-SRF26SLT").change(function(){ if(jQuery("#input-560CT-SRF26SLT").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-SRF26SLT]").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-650-560CT-SRF26SLT]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-650]").prop("type") != "radio") if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-650]").prop("disabled", true); } else if(jQuery("[id^=input-650]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-650]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-650]").prop("disabled", false); } if(!jQuery("[id^=input-650]").prop("checked")){ jQuery("[id^=input-650]").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-650]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-650]").append("
(Required By: 560CT-SRF26SLT-Bowrider Filler Cushion)
"); } } // 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-560CT-SRF26SLT]").hide(); jQuery("[id^=note-single-required-by-560CT-SRF26SLT]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26SLT]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-592IC-SRF26").change(function(){ if(jQuery("#input-592IC-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592IC-SRF26]").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-592IC-SRF26]").hide(); jQuery("[id^=note-single-required-by-592IC-SRF26]").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-650]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-650]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-650-560CT-SRF26SLT]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-650]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-650]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-704C-SRF26").change(function(){ if(jQuery("#input-704C-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-704C-SRF26]").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-592IC-704C-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-592IC]").prop("type") != "radio") if(jQuery("[id^=input-592IC]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-592IC]").prop("disabled", true); } else if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-592IC]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-592IC]").prop("disabled", false); } if(!jQuery("[id^=input-592IC]").prop("checked")){ jQuery("[id^=input-592IC]").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-592IC]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-592IC]").append("
(Required By: 704C-SRF26-Snap-In Seadek Cockpit Flooring - Cayenne)
"); } } // 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-704C-SRF26]").hide(); jQuery("[id^=note-single-required-by-704C-SRF26]").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-592IC]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-592IC]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-592IC-704C-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-592IC]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-592IC]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-539-SRF26").change(function(){ if(jQuery("#input-539-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-539-SRF26]").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-540-539-SRF26]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-540]").prop("type") != "radio") if(jQuery("[id^=input-540]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-540]").prop("disabled", true); } else if(jQuery("[id^=input-540]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-540]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-540]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-540]").prop("disabled", false); } if(!jQuery("[id^=input-540]").prop("checked")){ jQuery("[id^=input-540]").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-540]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-540]").append("
(Required By: 539-SRF26-Polished Stainless Steel Anchor for Windlass)
"); } } // 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-539-SRF26]").hide(); jQuery("[id^=note-single-required-by-539-SRF26]").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-540]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-540]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-540-539-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-540]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-540]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-796BE-SRF26").change(function(){ if(jQuery("#input-796BE-SRF26").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-796BE-SRF26]").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-796BE-SRF26]").hide(); jQuery("[id^=note-single-required-by-796BE-SRF26]").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-540]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-540]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-540-539-SRF26]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-540]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-540]").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["950-SRF26WHT"] = {}; option_group_data["950-SRF26WHT"]["part_groups"] = new Array(); option_group_data["950-SRF26WHT"]["part_groups"].push("37"); option_group_data["950-SRF26BLK"] = {}; option_group_data["950-SRF26BLK"]["part_groups"] = new Array(); option_group_data["950-SRF26BLK"]["part_groups"].push("31"); option_group_data["950-SRF26BLU"] = {}; option_group_data["950-SRF26BLU"]["part_groups"] = new Array(); option_group_data["950-SRF26BLU"]["part_groups"].push("32"); option_group_data["950-SRF26ALY"] = {}; option_group_data["950-SRF26ALY"]["part_groups"] = new Array(); option_group_data["950-SRF26ALY"]["part_groups"].push("30"); option_group_data["950-SRF26SBL"] = {}; option_group_data["950-SRF26SBL"]["part_groups"] = new Array(); option_group_data["950-SRF26SBL"]["part_groups"].push("33"); option_group_data["950-SRF26ICE"] = {}; option_group_data["950-SRF26ICE"]["part_groups"] = new Array(); option_group_data["950-SRF26ICE"]["part_groups"].push("35"); option_group_data["950-SRF26GRN"] = {}; option_group_data["950-SRF26GRN"]["part_groups"] = new Array(); option_group_data["950-SRF26GRN"]["part_groups"].push("34"); option_group_data["950-SRF26STL"] = {}; option_group_data["950-SRF26STL"]["part_groups"] = new Array(); option_group_data["950-SRF26STL"]["part_groups"].push("36"); option_group_data["951-SRF26WHT"] = {}; option_group_data["951-SRF26WHT"]["part_groups"] = new Array(); option_group_data["951-SRF26WHT"]["part_groups"].push("38"); option_group_data["951-SRF26WHT"]["part_groups"].push("48"); option_group_data["951-SRF26BLK"] = {}; option_group_data["951-SRF26BLK"]["part_groups"] = new Array(); option_group_data["951-SRF26BLK"]["part_groups"].push("31"); option_group_data["951-SRF26BLK"]["part_groups"].push("41"); option_group_data["951-SRF26BLU"] = {}; option_group_data["951-SRF26BLU"]["part_groups"] = new Array(); option_group_data["951-SRF26BLU"]["part_groups"].push("32"); option_group_data["951-SRF26BLU"]["part_groups"].push("42"); option_group_data["951-SRF26ALY"] = {}; option_group_data["951-SRF26ALY"]["part_groups"] = new Array(); option_group_data["951-SRF26ALY"]["part_groups"].push("30"); option_group_data["951-SRF26ALY"]["part_groups"].push("40"); option_group_data["951-SRF26SBL"] = {}; option_group_data["951-SRF26SBL"]["part_groups"] = new Array(); option_group_data["951-SRF26SBL"]["part_groups"].push("33"); option_group_data["951-SRF26ICE"] = {}; option_group_data["951-SRF26ICE"]["part_groups"] = new Array(); option_group_data["951-SRF26ICE"]["part_groups"].push("35"); option_group_data["951-SRF26ICE"]["part_groups"].push("45"); option_group_data["951-SRF26GRN"] = {}; option_group_data["951-SRF26GRN"]["part_groups"] = new Array(); option_group_data["951-SRF26GRN"]["part_groups"].push("34"); option_group_data["951-SRF26GRN"]["part_groups"].push("44"); option_group_data["951-SRF26STL"] = {}; option_group_data["951-SRF26STL"]["part_groups"] = new Array(); option_group_data["951-SRF26STL"]["part_groups"].push("36"); option_group_data["951-SRF26STL"]["part_groups"].push("46"); option_group_data["979-SRF26BE"] = {}; option_group_data["979-SRF26BE"]["part_groups"] = new Array(); option_group_data["979-SRF26BE"]["part_groups"].push("31"); option_group_data["979-SRF26BE"]["part_groups"].push("125"); option_group_data["656-SRF26BLK"] = {}; option_group_data["656-SRF26BLK"]["available_with"] = new Array(); option_group_data["656-SRF26BLK"]["available_with_compound"] = new Array(); option_group_data["656-SRF26BLK"]["available_with"].push("31"); option_group_data["656-SRF26BLK"]["available_with"].push("37"); option_group_data["656-SRF26BLU"] = {}; option_group_data["656-SRF26BLU"]["available_with"] = new Array(); option_group_data["656-SRF26BLU"]["available_with_compound"] = new Array(); option_group_data["656-SRF26BLU"]["available_with"].push("32"); option_group_data["656-SRF26BLU"]["available_with"].push("37"); option_group_data["656-SRF26SBL"] = {}; option_group_data["656-SRF26SBL"]["available_with"] = new Array(); option_group_data["656-SRF26SBL"]["available_with_compound"] = new Array(); option_group_data["656-SRF26SBL"]["available_with"].push("33"); option_group_data["656-SRF26SBL"]["available_with"].push("37"); option_group_data["656-SRF26ALY"] = {}; option_group_data["656-SRF26ALY"]["available_with"] = new Array(); option_group_data["656-SRF26ALY"]["available_with_compound"] = new Array(); option_group_data["656-SRF26ALY"]["available_with"].push("30"); option_group_data["656-SRF26ALY"]["available_with"].push("37"); option_group_data["656-SRF26ICE"] = {}; option_group_data["656-SRF26ICE"]["available_with"] = new Array(); option_group_data["656-SRF26ICE"]["available_with_compound"] = new Array(); option_group_data["656-SRF26ICE"]["available_with"].push("35"); option_group_data["656-SRF26ICE"]["available_with"].push("37"); option_group_data["656-SRF26GRN"] = {}; option_group_data["656-SRF26GRN"]["available_with"] = new Array(); option_group_data["656-SRF26GRN"]["available_with_compound"] = new Array(); option_group_data["656-SRF26GRN"]["available_with"].push("34"); option_group_data["656-SRF26GRN"]["available_with"].push("37"); option_group_data["656-SRF26STL"] = {}; option_group_data["656-SRF26STL"]["available_with"] = new Array(); option_group_data["656-SRF26STL"]["available_with_compound"] = new Array(); option_group_data["656-SRF26STL"]["available_with"].push("36"); option_group_data["656-SRF26STL"]["available_with"].push("37"); option_group_data["643-SRF26"] = {}; option_group_data["643-SRF26"]["part_groups"] = new Array(); option_group_data["643-SRF26"]["part_groups"].push("21"); option_group_data["644-SRF26"] = {}; option_group_data["644-SRF26"]["part_groups"] = new Array(); option_group_data["644-SRF26"]["part_groups"].push("22"); option_group_data["532-SRF26"] = {}; option_group_data["532-SRF26"]["part_groups"] = new Array(); option_group_data["532-SRF26"]["part_groups"].push("20"); option_group_data["778-SRF26"] = {}; option_group_data["778-SRF26"]["part_groups"] = new Array(); option_group_data["778-SRF26"]["part_groups"].push("29"); option_group_data["535-SRF26"] = {}; option_group_data["535-SRF26"]["part_groups"] = new Array(); option_group_data["535-SRF26"]["part_groups"].push("27"); option_group_data["663-SRF26"] = {}; option_group_data["663-SRF26"]["part_groups"] = new Array(); option_group_data["663-SRF26"]["part_groups"].push("28"); option_group_data["638M-SRF26"] = {}; option_group_data["638M-SRF26"]["part_groups"] = new Array(); option_group_data["638M-SRF26"]["part_groups"].push("27"); option_group_data["638M-SRF26"]["part_groups"].push("95"); option_group_data["638V-SRF26"] = {}; option_group_data["638V-SRF26"]["part_groups"] = new Array(); option_group_data["638V-SRF26"]["part_groups"].push("27"); option_group_data["638V-SRF26"]["part_groups"].push("95"); option_group_data["STANDARD_ARCH"] = {}; option_group_data["STANDARD_ARCH"]["part_groups"] = new Array(); option_group_data["STANDARD_ARCH"]["part_groups"].push("9"); option_group_data["767B-SRF26"] = {}; option_group_data["767B-SRF26"]["part_groups"] = new Array(); option_group_data["767B-SRF26"]["part_groups"].push("10"); option_group_data["642B-SRF26ALY"] = {}; option_group_data["642B-SRF26ALY"]["available_with"] = new Array(); option_group_data["642B-SRF26ALY"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26ALY"]["available_with"].push("10"); option_group_data["642B-SRF26ALY"]["available_with"].push("126"); option_group_data["642-SRF26ALY"] = {}; option_group_data["642-SRF26ALY"]["available_with"] = new Array(); option_group_data["642-SRF26ALY"]["available_with_compound"] = new Array(); option_group_data["642-SRF26ALY"]["available_with"].push("9"); option_group_data["642-SRF26BLK"] = {}; option_group_data["642-SRF26BLK"]["available_with"] = new Array(); option_group_data["642-SRF26BLK"]["available_with_compound"] = new Array(); option_group_data["642-SRF26BLK"]["available_with"].push("9"); option_group_data["642-SRF26BLU"] = {}; option_group_data["642-SRF26BLU"]["available_with"] = new Array(); option_group_data["642-SRF26BLU"]["available_with_compound"] = new Array(); option_group_data["642-SRF26BLU"]["available_with"].push("9"); option_group_data["642B-SRF26BLU"] = {}; option_group_data["642B-SRF26BLU"]["available_with"] = new Array(); option_group_data["642B-SRF26BLU"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26BLU"]["available_with"].push("10"); option_group_data["642B-SRF26BLU"]["available_with"].push("126"); option_group_data["642-SRF26SBL"] = {}; option_group_data["642-SRF26SBL"]["available_with"] = new Array(); option_group_data["642-SRF26SBL"]["available_with_compound"] = new Array(); option_group_data["642-SRF26SBL"]["available_with"].push("9"); option_group_data["642B-SRF26SBL"] = {}; option_group_data["642B-SRF26SBL"]["available_with"] = new Array(); option_group_data["642B-SRF26SBL"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26SBL"]["available_with"].push("10"); option_group_data["642B-SRF26SBL"]["available_with"].push("126"); option_group_data["642-SRF26STL"] = {}; option_group_data["642-SRF26STL"]["available_with"] = new Array(); option_group_data["642-SRF26STL"]["available_with_compound"] = new Array(); option_group_data["642-SRF26STL"]["available_with"].push("9"); option_group_data["642B-SRF26STL"] = {}; option_group_data["642B-SRF26STL"]["available_with"] = new Array(); option_group_data["642B-SRF26STL"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26STL"]["available_with"].push("10"); option_group_data["642B-SRF26STL"]["available_with"].push("126"); option_group_data["642-SRF26GRN"] = {}; option_group_data["642-SRF26GRN"]["available_with"] = new Array(); option_group_data["642-SRF26GRN"]["available_with_compound"] = new Array(); option_group_data["642-SRF26GRN"]["available_with"].push("9"); option_group_data["642B-SRF26GRN"] = {}; option_group_data["642B-SRF26GRN"]["available_with"] = new Array(); option_group_data["642B-SRF26GRN"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26GRN"]["available_with"].push("10"); option_group_data["642B-SRF26GRN"]["available_with"].push("126"); option_group_data["642B-SRF26ICE"] = {}; option_group_data["642B-SRF26ICE"]["available_with"] = new Array(); option_group_data["642B-SRF26ICE"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26ICE"]["available_with"].push("10"); option_group_data["642B-SRF26ICE"]["available_with"].push("126"); option_group_data["642-SRF26ICE"] = {}; option_group_data["642-SRF26ICE"]["available_with"] = new Array(); option_group_data["642-SRF26ICE"]["available_with_compound"] = new Array(); option_group_data["642-SRF26ICE"]["available_with"].push("9"); option_group_data["642B-SRF26WHT"] = {}; option_group_data["642B-SRF26WHT"]["available_with"] = new Array(); option_group_data["642B-SRF26WHT"]["available_with_compound"] = new Array(); option_group_data["642B-SRF26WHT"]["available_with"].push("10"); option_group_data["642B-SRF26WHT"]["available_with"].push("126"); option_group_data["685M-SRF26"] = {}; option_group_data["685M-SRF26"]["part_groups"] = new Array(); option_group_data["685M-SRF26"]["part_groups"].push("126"); option_group_data["685V-SRF26"] = {}; option_group_data["685V-SRF26"]["part_groups"] = new Array(); option_group_data["685V-SRF26"]["part_groups"].push("126"); option_group_data["512C-SRF26"] = {}; option_group_data["512C-SRF26"]["available_with"] = new Array(); option_group_data["512C-SRF26"]["available_with_compound"] = new Array(); option_group_data["512C-SRF26"]["available_with"].push("95"); option_group_data["713B-SRF26"] = {}; option_group_data["713B-SRF26"]["available_with"] = new Array(); option_group_data["713B-SRF26"]["available_with_compound"] = new Array(); option_group_data["713B-SRF26"]["available_with"].push("10"); option_group_data["713B-SRF26"]["available_with"].push("126"); option_group_data["560CT-SRF26DNE"] = {}; option_group_data["560CT-SRF26DNE"]["available_with"] = new Array(); option_group_data["560CT-SRF26DNE"]["available_with_compound"] = new Array(); option_group_data["560CT-SRF26DNE"]["available_with"].push("29"); option_group_data["560CT-SRF26SBL"] = {}; option_group_data["560CT-SRF26SBL"]["available_with"] = new Array(); option_group_data["560CT-SRF26SBL"]["available_with_compound"] = new Array(); option_group_data["560CT-SRF26SBL"]["available_with"].push("28"); option_group_data["560CT-SRF26BLK"] = {}; option_group_data["560CT-SRF26BLK"]["available_with"] = new Array(); option_group_data["560CT-SRF26BLK"]["available_with_compound"] = new Array(); option_group_data["560CT-SRF26BLK"]["available_with"].push("21"); option_group_data["560CT-SRF26BLU"] = {}; option_group_data["560CT-SRF26BLU"]["available_with"] = new Array(); option_group_data["560CT-SRF26BLU"]["available_with_compound"] = new Array(); option_group_data["560CT-SRF26BLU"]["available_with"].push("22"); option_group_data["560CT-SRF26CYN"] = {}; option_group_data["560CT-SRF26CYN"]["available_with"] = new Array(); option_group_data["560CT-SRF26CYN"]["available_with_compound"] = new Array(); option_group_data["560CT-SRF26CYN"]["available_with"].push("27"); option_group_data["560CT-SRF26SLT"] = {}; option_group_data["560CT-SRF26SLT"]["available_with"] = new Array(); option_group_data["560CT-SRF26SLT"]["available_with_compound"] = new Array(); option_group_data["560CT-SRF26SLT"]["available_with"].push("20"); option_group_data["560NCT-SRF26CYN"] = {}; option_group_data["560NCT-SRF26CYN"]["available_with"] = new Array(); option_group_data["560NCT-SRF26CYN"]["available_with_compound"] = new Array(); option_group_data["560NCT-SRF26CYN"]["available_with"].push("27"); option_group_data["560NCT-SRF26BLU"] = {}; option_group_data["560NCT-SRF26BLU"]["available_with"] = new Array(); option_group_data["560NCT-SRF26BLU"]["available_with_compound"] = new Array(); option_group_data["560NCT-SRF26BLU"]["available_with"].push("22"); option_group_data["560NCT-SRF26SLT"] = {}; option_group_data["560NCT-SRF26SLT"]["available_with"] = new Array(); option_group_data["560NCT-SRF26SLT"]["available_with_compound"] = new Array(); option_group_data["560NCT-SRF26SLT"]["available_with"].push("20"); option_group_data["560NCT-SRF26SBL"] = {}; option_group_data["560NCT-SRF26SBL"]["available_with"] = new Array(); option_group_data["560NCT-SRF26SBL"]["available_with_compound"] = new Array(); option_group_data["560NCT-SRF26SBL"]["available_with"].push("28"); option_group_data["560NCT-SRF26BLK"] = {}; option_group_data["560NCT-SRF26BLK"]["available_with"] = new Array(); option_group_data["560NCT-SRF26BLK"]["available_with_compound"] = new Array(); option_group_data["560NCT-SRF26BLK"]["available_with"].push("21"); option_group_data["560NCT-SRF26DNE"] = {}; option_group_data["560NCT-SRF26DNE"]["available_with"] = new Array(); option_group_data["560NCT-SRF26DNE"]["available_with_compound"] = new Array(); option_group_data["560NCT-SRF26DNE"]["available_with"].push("29"); option_group_data["704C-SRF26"] = {}; option_group_data["704C-SRF26"]["available_with"] = new Array(); option_group_data["704C-SRF26"]["available_with_compound"] = new Array(); option_group_data["704C-SRF26"]["available_with"].push("27"); option_group_data["796BE-SRF26"] = {}; option_group_data["796BE-SRF26"]["available_with"] = new Array(); option_group_data["796BE-SRF26"]["available_with_compound"] = new Array(); option_group_data["796BE-SRF26"]["available_with"].push("126"); option_group_data["688AA-SRF26"] = {}; option_group_data["688AA-SRF26"]["part_groups"] = new Array(); option_group_data["688AA-SRF26"]["part_groups"].push("52"); option_group_data["688BA-SRF26"] = {}; option_group_data["688BA-SRF26"]["part_groups"] = new Array(); option_group_data["688BA-SRF26"]["part_groups"].push("50"); option_group_data["688WA-SRF26"] = {}; option_group_data["688WA-SRF26"]["part_groups"] = new Array(); option_group_data["688WA-SRF26"]["part_groups"].push("50"); option_group_data["688BE-SRF26"] = {}; option_group_data["688BE-SRF26"]["part_groups"] = new Array(); option_group_data["688BE-SRF26"]["available_with"] = new Array(); option_group_data["688BE-SRF26"]["available_with_compound"] = new Array(); option_group_data["688BE-SRF26"]["part_groups"].push("57"); option_group_data["688BE-SRF26"]["available_with"].push("126"); option_group_data["687-SRF26ALM"] = {}; option_group_data["687-SRF26ALM"]["available_with"] = new Array(); option_group_data["687-SRF26ALM"]["available_with_compound"] = new Array(); option_group_data["687-SRF26ALM"]["available_with"].push("52"); option_group_data["687C-SRF26"] = {}; option_group_data["687C-SRF26"]["available_with"] = new Array(); option_group_data["687C-SRF26"]["available_with_compound"] = new Array(); option_group_data["687C-SRF26"]["available_with"].push("50"); option_group_data["687BE-SRF26"] = {}; option_group_data["687BE-SRF26"]["available_with"] = new Array(); option_group_data["687BE-SRF26"]["available_with_compound"] = new Array(); option_group_data["687BE-SRF26"]["available_with"].push("57"); }); // 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() });