jQuery(document).ready(function(){ jQuery("#input-979-270OSXBE").change(function(){ if(jQuery("#input-979-270OSXBE").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-270OSXBE - Black Edition Hull)

"); jQuery("[id^=note-BE_HULL]").html("
(Included in 979-270OSXBE - 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-270OSXBE").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-270OSXBE-BE_HULL").remove(); } }); // end click listener jQuery("#input-685B-270OSX").change(function(){ if(jQuery("#input-685B-270OSX").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 685B-270OSX - Black Edition Package)

"); jQuery("[id^=note-512]").html("
(Included in 685B-270OSX - 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-685B-270OSX").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-685B-270OSX-512").remove(); } }); // end click listener jQuery("#input-685B-270OSX").change(function(){ if(jQuery("#input-685B-270OSX").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-551]").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 685B-270OSX - Black Edition Package)

"); jQuery("[id^=note-551]").html("
(Included in 685B-270OSX - Black Edition Package)
"); jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685B-270OSX").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-551]").prop("disabled",false); } // enables the includes jQuery("[id^=input-551]").prop("disabled",false); jQuery("[id^=input-551]").prop("included_option", false); //if(!jQuery("#input-551").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-551").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-551").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-685B-270OSX-551").remove(); } }); // end click listener jQuery("#input-685B-270OSX").change(function(){ if(jQuery("#input-685B-270OSX").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-270OSXCYNBLK]").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 685B-270OSX - Black Edition Package)

"); jQuery("[id^=note-767B-270OSXCYNBLK]").html("
(Included in 685B-270OSX - Black Edition Package)
"); jQuery("[id^=input-767B-270OSXCYNBLK]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685B-270OSX").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-270OSXCYNBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B-270OSXCYNBLK]").prop("disabled",false); jQuery("[id^=input-767B-270OSXCYNBLK]").prop("included_option", false); //if(!jQuery("#input-767B-270OSXCYNBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B-270OSXCYNBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B-270OSXCYNBLK").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-685B-270OSX-767B-270OSXCYNBLK").remove(); } }); // end click listener jQuery("#input-685M-270OSX").change(function(){ if(jQuery("#input-685M-270OSX").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-270OSX - Black Edition Package)

"); jQuery("[id^=note-512]").html("
(Included in 685M-270OSX - 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-270OSX").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-270OSX-512").remove(); } }); // end click listener jQuery("#input-685M-270OSX").change(function(){ if(jQuery("#input-685M-270OSX").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-551]").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-270OSX - Black Edition Package)

"); jQuery("[id^=note-551]").html("
(Included in 685M-270OSX - Black Edition Package)
"); jQuery("[id^=input-551]").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-270OSX").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-551]").prop("disabled",false); } // enables the includes jQuery("[id^=input-551]").prop("disabled",false); jQuery("[id^=input-551]").prop("included_option", false); //if(!jQuery("#input-551").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-551").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-551").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-270OSX-551").remove(); } }); // end click listener jQuery("#input-685M-270OSX").change(function(){ if(jQuery("#input-685M-270OSX").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-270OSXCYNBLK]").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-270OSX - Black Edition Package)

"); jQuery("[id^=note-767B-270OSXCYNBLK]").html("
(Included in 685M-270OSX - Black Edition Package)
"); jQuery("[id^=input-767B-270OSXCYNBLK]").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-270OSX").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-270OSXCYNBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B-270OSXCYNBLK]").prop("disabled",false); jQuery("[id^=input-767B-270OSXCYNBLK]").prop("included_option", false); //if(!jQuery("#input-767B-270OSXCYNBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B-270OSXCYNBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B-270OSXCYNBLK").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-270OSX-767B-270OSXCYNBLK").remove(); } }); // end click listener jQuery("#input-685YM-270OSX").change(function(){ if(jQuery("#input-685YM-270OSX").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 685YM-270OSX - Black Edition Package - Mechanical Yamaha)

"); jQuery("[id^=note-512]").html("
(Included in 685YM-270OSX - Black Edition Package - Mechanical Yamaha)
"); 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-685YM-270OSX").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-685YM-270OSX-512").remove(); } }); // end click listener jQuery("#input-685YM-270OSX").change(function(){ if(jQuery("#input-685YM-270OSX").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-551]").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 685YM-270OSX - Black Edition Package - Mechanical Yamaha)

"); jQuery("[id^=note-551]").html("
(Included in 685YM-270OSX - Black Edition Package - Mechanical Yamaha)
"); jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685YM-270OSX").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-551]").prop("disabled",false); } // enables the includes jQuery("[id^=input-551]").prop("disabled",false); jQuery("[id^=input-551]").prop("included_option", false); //if(!jQuery("#input-551").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-551").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-551").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-685YM-270OSX-551").remove(); } }); // end click listener jQuery("#input-685YM-270OSX").change(function(){ if(jQuery("#input-685YM-270OSX").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-270OSXCYNBLK]").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 685YM-270OSX - Black Edition Package - Mechanical Yamaha)

"); jQuery("[id^=note-767B-270OSXCYNBLK]").html("
(Included in 685YM-270OSX - Black Edition Package - Mechanical Yamaha)
"); jQuery("[id^=input-767B-270OSXCYNBLK]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685YM-270OSX").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-270OSXCYNBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B-270OSXCYNBLK]").prop("disabled",false); jQuery("[id^=input-767B-270OSXCYNBLK]").prop("included_option", false); //if(!jQuery("#input-767B-270OSXCYNBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B-270OSXCYNBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B-270OSXCYNBLK").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-685YM-270OSX-767B-270OSXCYNBLK").remove(); } }); // end click listener jQuery("#input-685YD-270OSX").change(function(){ if(jQuery("#input-685YD-270OSX").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 685YD-270OSX - Black Edition Package - Digital Yamaha)

"); jQuery("[id^=note-512]").html("
(Included in 685YD-270OSX - Black Edition Package - Digital Yamaha)
"); 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-685YD-270OSX").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-685YD-270OSX-512").remove(); } }); // end click listener jQuery("#input-685YD-270OSX").change(function(){ if(jQuery("#input-685YD-270OSX").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-551]").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 685YD-270OSX - Black Edition Package - Digital Yamaha)

"); jQuery("[id^=note-551]").html("
(Included in 685YD-270OSX - Black Edition Package - Digital Yamaha)
"); jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685YD-270OSX").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-551]").prop("disabled",false); } // enables the includes jQuery("[id^=input-551]").prop("disabled",false); jQuery("[id^=input-551]").prop("included_option", false); //if(!jQuery("#input-551").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-551").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-551").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-685YD-270OSX-551").remove(); } }); // end click listener jQuery("#input-685YD-270OSX").change(function(){ if(jQuery("#input-685YD-270OSX").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-270OSXCYNBLK]").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 685YD-270OSX - Black Edition Package - Digital Yamaha)

"); jQuery("[id^=note-767B-270OSXCYNBLK]").html("
(Included in 685YD-270OSX - Black Edition Package - Digital Yamaha)
"); jQuery("[id^=input-767B-270OSXCYNBLK]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685YD-270OSX").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-270OSXCYNBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B-270OSXCYNBLK]").prop("disabled",false); jQuery("[id^=input-767B-270OSXCYNBLK]").prop("included_option", false); //if(!jQuery("#input-767B-270OSXCYNBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B-270OSXCYNBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B-270OSXCYNBLK").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-685YD-270OSX-767B-270OSXCYNBLK").remove(); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-910-270OSXBLK").change(function(){ if(jQuery("#input-910-270OSXBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-270OSXBLK]"); //alert(jQuery("[id^=input-950-270OSXBLK]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-270OSXBLK]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-270OSXBLK]").prop("checked")) { jQuery("[id^=input-950-270OSXBLK]").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-270OSXBLK-910-270OSXBLK]").length === 0) { jQuery("[id^=note-950-270OSXBLK]").append("
(N/A with 910-270OSXBLK - Painted Metallic Hull Stripe - Black)
"); } jQuery("[id^=input-950-270OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-270OSXBLK]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-270OSXBLK-910-270OSXBLK]").remove(); jQuery("[id^=input-950-270OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-270OSXBLK]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-270OSXBLK"); //alert(jQuery("[id^=input-910-270OSXBLK]").attr("title")); //alert(jQuery("[id^=input-910-270OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-270OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-910-270OSXBLK").prop("checked")) { jQuery("#input-910-270OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-910-270OSXBLK"); //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-910-270OSXBLK-950-270OSXBLK]").length === 0) { jQuery("#note-910-270OSXBLK").append("
(N/A with 950-270OSXBLK )
"); } jQuery("[id^=input-910-270OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-270OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-270OSXBLK-950-270OSXBLK]").remove(); jQuery("[id^=input-910-270OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-270OSXBLU").change(function(){ if(jQuery("#input-910-270OSXBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-270OSXBLU]"); //alert(jQuery("[id^=input-950-270OSXBLU]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-270OSXBLU]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-270OSXBLU]").prop("checked")) { jQuery("[id^=input-950-270OSXBLU]").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-270OSXBLU-910-270OSXBLU]").length === 0) { jQuery("[id^=note-950-270OSXBLU]").append("
(N/A with 910-270OSXBLU - Painted Metallic Hull Stripe - Blue)
"); } jQuery("[id^=input-950-270OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-270OSXBLU]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-270OSXBLU-910-270OSXBLU]").remove(); jQuery("[id^=input-950-270OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-270OSXBLU]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-270OSXBLU"); //alert(jQuery("[id^=input-910-270OSXBLU]").attr("title")); //alert(jQuery("[id^=input-910-270OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-270OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-910-270OSXBLU").prop("checked")) { jQuery("#input-910-270OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-910-270OSXBLU"); //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-910-270OSXBLU-950-270OSXBLU]").length === 0) { jQuery("#note-910-270OSXBLU").append("
(N/A with 950-270OSXBLU )
"); } jQuery("[id^=input-910-270OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-270OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-270OSXBLU-950-270OSXBLU]").remove(); jQuery("[id^=input-910-270OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-270OSXWHT").change(function(){ if(jQuery("#input-910-270OSXWHT").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-270OSXWHT]"); //alert(jQuery("[id^=input-950-270OSXWHT]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-270OSXWHT]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-270OSXWHT]").prop("checked")) { jQuery("[id^=input-950-270OSXWHT]").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-270OSXWHT-910-270OSXWHT]").length === 0) { jQuery("[id^=note-950-270OSXWHT]").append("
(N/A with 910-270OSXWHT - Painted Metallic Hull Stripe - White)
"); } jQuery("[id^=input-950-270OSXWHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-270OSXWHT]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-270OSXWHT-910-270OSXWHT]").remove(); jQuery("[id^=input-950-270OSXWHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-270OSXWHT]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-270OSXWHT"); //alert(jQuery("[id^=input-910-270OSXWHT]").attr("title")); //alert(jQuery("[id^=input-910-270OSXWHT]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-270OSXWHT").prop("disabled", true); // determine if checked if(jQuery("#input-910-270OSXWHT").prop("checked")) { jQuery("#input-910-270OSXWHT").removeAttr("checked").change(); } //console.log("if of reverse input-910-270OSXWHT"); //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-910-270OSXWHT-950-270OSXWHT]").length === 0) { jQuery("#note-910-270OSXWHT").append("
(N/A with 950-270OSXWHT )
"); } jQuery("[id^=input-910-270OSXWHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-270OSXWHT").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-270OSXWHT-950-270OSXWHT]").remove(); jQuery("[id^=input-910-270OSXWHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-canvas_blue").change(function(){ if(jQuery("#input-canvas_blue").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-canvas_blue]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with canvas_blue - Canvas Color - Biscayne Blue (If Equipped))
"); } 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-canvas_blue]").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-canvas_blue"); //alert(jQuery("[id^=input-canvas_blue]").attr("title")); //alert(jQuery("[id^=input-canvas_blue]").is(":checked")); // disable the includes and unchecks it jQuery("#input-canvas_blue").prop("disabled", true); // determine if checked if(jQuery("#input-canvas_blue").prop("checked")) { jQuery("#input-canvas_blue").removeAttr("checked").change(); } //console.log("if of reverse input-canvas_blue"); //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-canvas_blue-685]").length === 0) { jQuery("#note-canvas_blue").append("
(N/A with 685 )
"); } jQuery("[id^=input-canvas_blue]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-canvas_blue").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-canvas_blue-685]").remove(); jQuery("[id^=input-canvas_blue]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-canvas_steel").change(function(){ if(jQuery("#input-canvas_steel").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-canvas_steel]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with canvas_steel - Canvas Color - Steel Blue (If Equipped))
"); } 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-canvas_steel]").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-canvas_steel"); //alert(jQuery("[id^=input-canvas_steel]").attr("title")); //alert(jQuery("[id^=input-canvas_steel]").is(":checked")); // disable the includes and unchecks it jQuery("#input-canvas_steel").prop("disabled", true); // determine if checked if(jQuery("#input-canvas_steel").prop("checked")) { jQuery("#input-canvas_steel").removeAttr("checked").change(); } //console.log("if of reverse input-canvas_steel"); //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-canvas_steel-685]").length === 0) { jQuery("#note-canvas_steel").append("
(N/A with 685 )
"); } jQuery("[id^=input-canvas_steel]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-canvas_steel").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-canvas_steel-685]").remove(); jQuery("[id^=input-canvas_steel]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-270OSXBLK").change(function(){ if(jQuery("#input-557-270OSXBLK").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-557-270OSXBLK]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 557-270OSXBLK - Cockpit and Bow Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-557-270OSXBLK]").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-557-270OSXBLK"); //alert(jQuery("[id^=input-557-270OSXBLK]").attr("title")); //alert(jQuery("[id^=input-557-270OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-270OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-557-270OSXBLK").prop("checked")) { jQuery("#input-557-270OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-557-270OSXBLK"); //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-557-270OSXBLK-685]").length === 0) { jQuery("#note-557-270OSXBLK").append("
(N/A with 685 )
"); } jQuery("[id^=input-557-270OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-270OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-270OSXBLK-685]").remove(); jQuery("[id^=input-557-270OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-270OSXBLK").change(function(){ if(jQuery("#input-557-270OSXBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-767]"); //alert(jQuery("[id^=input-767]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-767]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-767]").prop("checked")) { jQuery("[id^=input-767]").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-767-557-270OSXBLK]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 557-270OSXBLK - Cockpit and Bow Cover)
"); } jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-767]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-767-557-270OSXBLK]").remove(); jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-767]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-557-270OSXBLK"); //alert(jQuery("[id^=input-557-270OSXBLK]").attr("title")); //alert(jQuery("[id^=input-557-270OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-270OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-557-270OSXBLK").prop("checked")) { jQuery("#input-557-270OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-557-270OSXBLK"); //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-557-270OSXBLK-767]").length === 0) { jQuery("#note-557-270OSXBLK").append("
(N/A with 767 )
"); } jQuery("[id^=input-557-270OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-270OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-270OSXBLK-767]").remove(); jQuery("[id^=input-557-270OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-270OSXBLU").change(function(){ if(jQuery("#input-557-270OSXBLU").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-557-270OSXBLU]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 557-270OSXBLU - Cockpit and Bow Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-557-270OSXBLU]").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-557-270OSXBLU"); //alert(jQuery("[id^=input-557-270OSXBLU]").attr("title")); //alert(jQuery("[id^=input-557-270OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-270OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-557-270OSXBLU").prop("checked")) { jQuery("#input-557-270OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-557-270OSXBLU"); //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-557-270OSXBLU-685]").length === 0) { jQuery("#note-557-270OSXBLU").append("
(N/A with 685 )
"); } jQuery("[id^=input-557-270OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-270OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-270OSXBLU-685]").remove(); jQuery("[id^=input-557-270OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-270OSXBLU").change(function(){ if(jQuery("#input-557-270OSXBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-767]"); //alert(jQuery("[id^=input-767]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-767]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-767]").prop("checked")) { jQuery("[id^=input-767]").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-767-557-270OSXBLU]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 557-270OSXBLU - Cockpit and Bow Cover)
"); } jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-767]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-767-557-270OSXBLU]").remove(); jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-767]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-557-270OSXBLU"); //alert(jQuery("[id^=input-557-270OSXBLU]").attr("title")); //alert(jQuery("[id^=input-557-270OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-270OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-557-270OSXBLU").prop("checked")) { jQuery("#input-557-270OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-557-270OSXBLU"); //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-557-270OSXBLU-767]").length === 0) { jQuery("#note-557-270OSXBLU").append("
(N/A with 767 )
"); } jQuery("[id^=input-557-270OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-270OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-270OSXBLU-767]").remove(); jQuery("[id^=input-557-270OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-270OSXSBL").change(function(){ if(jQuery("#input-557-270OSXSBL").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-557-270OSXSBL]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 557-270OSXSBL - Cockpit and Bow Cover)
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-557-270OSXSBL]").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-557-270OSXSBL"); //alert(jQuery("[id^=input-557-270OSXSBL]").attr("title")); //alert(jQuery("[id^=input-557-270OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-270OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-557-270OSXSBL").prop("checked")) { jQuery("#input-557-270OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-557-270OSXSBL"); //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-557-270OSXSBL-685]").length === 0) { jQuery("#note-557-270OSXSBL").append("
(N/A with 685 )
"); } jQuery("[id^=input-557-270OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-270OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-270OSXSBL-685]").remove(); jQuery("[id^=input-557-270OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-270OSXSBL").change(function(){ if(jQuery("#input-557-270OSXSBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-767]"); //alert(jQuery("[id^=input-767]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-767]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-767]").prop("checked")) { jQuery("[id^=input-767]").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-767-557-270OSXSBL]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 557-270OSXSBL - Cockpit and Bow Cover)
"); } jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-767]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-767-557-270OSXSBL]").remove(); jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-767]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-557-270OSXSBL"); //alert(jQuery("[id^=input-557-270OSXSBL]").attr("title")); //alert(jQuery("[id^=input-557-270OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-270OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-557-270OSXSBL").prop("checked")) { jQuery("#input-557-270OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-557-270OSXSBL"); //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-557-270OSXSBL-767]").length === 0) { jQuery("#note-557-270OSXSBL").append("
(N/A with 767 )
"); } jQuery("[id^=input-557-270OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-270OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-270OSXSBL-767]").remove(); jQuery("[id^=input-557-270OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619RA-270OSX").change(function(){ if(jQuery("#input-619RA-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").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-760-619RA-270OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 619RA-270OSX - Mooring Cover)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-619RA-270OSX]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619RA-270OSX"); //alert(jQuery("[id^=input-619RA-270OSX]").attr("title")); //alert(jQuery("[id^=input-619RA-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619RA-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-619RA-270OSX").prop("checked")) { jQuery("#input-619RA-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-619RA-270OSX"); //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-619RA-270OSX-760]").length === 0) { jQuery("#note-619RA-270OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-619RA-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619RA-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619RA-270OSX-760]").remove(); jQuery("[id^=input-619RA-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619ST-270OSX").change(function(){ if(jQuery("#input-619ST-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-767]"); //alert(jQuery("[id^=input-767]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-767]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-767]").prop("checked")) { jQuery("[id^=input-767]").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-767-619ST-270OSX]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 619ST-270OSX - Mooring Cover)
"); } jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-767]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-767-619ST-270OSX]").remove(); jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-767]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619ST-270OSX"); //alert(jQuery("[id^=input-619ST-270OSX]").attr("title")); //alert(jQuery("[id^=input-619ST-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619ST-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-619ST-270OSX").prop("checked")) { jQuery("#input-619ST-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-619ST-270OSX"); //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-619ST-270OSX-767]").length === 0) { jQuery("#note-619ST-270OSX").append("
(N/A with 767 )
"); } jQuery("[id^=input-619ST-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619ST-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619ST-270OSX-767]").remove(); jQuery("[id^=input-619ST-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685B-270OSX").change(function(){ if(jQuery("#input-685B-270OSX").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-685B-270OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685B-270OSX - 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-685B-270OSX]").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-685B-270OSX"); //alert(jQuery("[id^=input-685B-270OSX]").attr("title")); //alert(jQuery("[id^=input-685B-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685B-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685B-270OSX").prop("checked")) { jQuery("#input-685B-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685B-270OSX"); //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-685B-270OSX-950]").length === 0) { jQuery("#note-685B-270OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685B-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685B-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685B-270OSX-950]").remove(); jQuery("[id^=input-685B-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685B-270OSX").change(function(){ if(jQuery("#input-685B-270OSX").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-685B-270OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685B-270OSX - 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-685B-270OSX]").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-685B-270OSX"); //alert(jQuery("[id^=input-685B-270OSX]").attr("title")); //alert(jQuery("[id^=input-685B-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685B-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685B-270OSX").prop("checked")) { jQuery("#input-685B-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685B-270OSX"); //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-685B-270OSX-951]").length === 0) { jQuery("#note-685B-270OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685B-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685B-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685B-270OSX-951]").remove(); jQuery("[id^=input-685B-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685M-270OSX").change(function(){ if(jQuery("#input-685M-270OSX").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-270OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685M-270OSX - 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-270OSX]").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-270OSX"); //alert(jQuery("[id^=input-685M-270OSX]").attr("title")); //alert(jQuery("[id^=input-685M-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685M-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685M-270OSX").prop("checked")) { jQuery("#input-685M-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685M-270OSX"); //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-270OSX-950]").length === 0) { jQuery("#note-685M-270OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685M-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685M-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685M-270OSX-950]").remove(); jQuery("[id^=input-685M-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685M-270OSX").change(function(){ if(jQuery("#input-685M-270OSX").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-270OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685M-270OSX - 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-270OSX]").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-270OSX"); //alert(jQuery("[id^=input-685M-270OSX]").attr("title")); //alert(jQuery("[id^=input-685M-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685M-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685M-270OSX").prop("checked")) { jQuery("#input-685M-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685M-270OSX"); //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-270OSX-951]").length === 0) { jQuery("#note-685M-270OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685M-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685M-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685M-270OSX-951]").remove(); jQuery("[id^=input-685M-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685YM-270OSX").change(function(){ if(jQuery("#input-685YM-270OSX").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-685YM-270OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685YM-270OSX - Black Edition Package - Mechanical Yamaha)
"); } 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-685YM-270OSX]").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-685YM-270OSX"); //alert(jQuery("[id^=input-685YM-270OSX]").attr("title")); //alert(jQuery("[id^=input-685YM-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685YM-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685YM-270OSX").prop("checked")) { jQuery("#input-685YM-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685YM-270OSX"); //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-685YM-270OSX-950]").length === 0) { jQuery("#note-685YM-270OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685YM-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685YM-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685YM-270OSX-950]").remove(); jQuery("[id^=input-685YM-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685YM-270OSX").change(function(){ if(jQuery("#input-685YM-270OSX").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-685YM-270OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685YM-270OSX - Black Edition Package - Mechanical Yamaha)
"); } 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-685YM-270OSX]").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-685YM-270OSX"); //alert(jQuery("[id^=input-685YM-270OSX]").attr("title")); //alert(jQuery("[id^=input-685YM-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685YM-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685YM-270OSX").prop("checked")) { jQuery("#input-685YM-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685YM-270OSX"); //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-685YM-270OSX-951]").length === 0) { jQuery("#note-685YM-270OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685YM-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685YM-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685YM-270OSX-951]").remove(); jQuery("[id^=input-685YM-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685YD-270OSX").change(function(){ if(jQuery("#input-685YD-270OSX").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-685YD-270OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685YD-270OSX - Black Edition Package - Digital Yamaha)
"); } 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-685YD-270OSX]").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-685YD-270OSX"); //alert(jQuery("[id^=input-685YD-270OSX]").attr("title")); //alert(jQuery("[id^=input-685YD-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685YD-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685YD-270OSX").prop("checked")) { jQuery("#input-685YD-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685YD-270OSX"); //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-685YD-270OSX-950]").length === 0) { jQuery("#note-685YD-270OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685YD-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685YD-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685YD-270OSX-950]").remove(); jQuery("[id^=input-685YD-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685YD-270OSX").change(function(){ if(jQuery("#input-685YD-270OSX").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-685YD-270OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685YD-270OSX - Black Edition Package - Digital Yamaha)
"); } 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-685YD-270OSX]").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-685YD-270OSX"); //alert(jQuery("[id^=input-685YD-270OSX]").attr("title")); //alert(jQuery("[id^=input-685YD-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685YD-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685YD-270OSX").prop("checked")) { jQuery("#input-685YD-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685YD-270OSX"); //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-685YD-270OSX-951]").length === 0) { jQuery("#note-685YD-270OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685YD-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685YD-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685YD-270OSX-951]").remove(); jQuery("[id^=input-685YD-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-512-270OSX").change(function(){ if(jQuery("#input-512-270OSX").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-270OSX]").length === 0) { jQuery("[id^=note-638]").append("
(N/A with 512-270OSX - 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-270OSX]").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-270OSX"); //alert(jQuery("[id^=input-512-270OSX]").attr("title")); //alert(jQuery("[id^=input-512-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-512-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-512-270OSX").prop("checked")) { jQuery("#input-512-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-512-270OSX"); //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-270OSX-638]").length === 0) { jQuery("#note-512-270OSX").append("
(N/A with 638 )
"); } jQuery("[id^=input-512-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-512-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-512-270OSX-638]").remove(); jQuery("[id^=input-512-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-270OSXBLU").change(function(){ if(jQuery("#input-560NCT-270OSXBLU").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-270OSXBLU]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-270OSXBLU - 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-270OSXBLU]").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-270OSXBLU"); //alert(jQuery("[id^=input-560NCT-270OSXBLU]").attr("title")); //alert(jQuery("[id^=input-560NCT-270OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-270OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-270OSXBLU").prop("checked")) { jQuery("#input-560NCT-270OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-270OSXBLU"); //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-270OSXBLU-650]").length === 0) { jQuery("#note-560NCT-270OSXBLU").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-270OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-270OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-270OSXBLU-650]").remove(); jQuery("[id^=input-560NCT-270OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-270OSXDNE").change(function(){ if(jQuery("#input-560NCT-270OSXDNE").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-270OSXDNE]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-270OSXDNE - 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-270OSXDNE]").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-270OSXDNE"); //alert(jQuery("[id^=input-560NCT-270OSXDNE]").attr("title")); //alert(jQuery("[id^=input-560NCT-270OSXDNE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-270OSXDNE").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-270OSXDNE").prop("checked")) { jQuery("#input-560NCT-270OSXDNE").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-270OSXDNE"); //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-270OSXDNE-650]").length === 0) { jQuery("#note-560NCT-270OSXDNE").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-270OSXDNE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-270OSXDNE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-270OSXDNE-650]").remove(); jQuery("[id^=input-560NCT-270OSXDNE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-270OSXBLK").change(function(){ if(jQuery("#input-560NCT-270OSXBLK").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-270OSXBLK]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-270OSXBLK - 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-270OSXBLK]").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-270OSXBLK"); //alert(jQuery("[id^=input-560NCT-270OSXBLK]").attr("title")); //alert(jQuery("[id^=input-560NCT-270OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-270OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-270OSXBLK").prop("checked")) { jQuery("#input-560NCT-270OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-270OSXBLK"); //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-270OSXBLK-650]").length === 0) { jQuery("#note-560NCT-270OSXBLK").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-270OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-270OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-270OSXBLK-650]").remove(); jQuery("[id^=input-560NCT-270OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-270OSXSLT").change(function(){ if(jQuery("#input-560NCT-270OSXSLT").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-270OSXSLT]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-270OSXSLT - 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-270OSXSLT]").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-270OSXSLT"); //alert(jQuery("[id^=input-560NCT-270OSXSLT]").attr("title")); //alert(jQuery("[id^=input-560NCT-270OSXSLT]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-270OSXSLT").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-270OSXSLT").prop("checked")) { jQuery("#input-560NCT-270OSXSLT").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-270OSXSLT"); //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-270OSXSLT-650]").length === 0) { jQuery("#note-560NCT-270OSXSLT").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-270OSXSLT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-270OSXSLT").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-270OSXSLT-650]").remove(); jQuery("[id^=input-560NCT-270OSXSLT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-270OSXCYN").change(function(){ if(jQuery("#input-560NCT-270OSXCYN").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-270OSXCYN]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-270OSXCYN - 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-270OSXCYN]").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-270OSXCYN"); //alert(jQuery("[id^=input-560NCT-270OSXCYN]").attr("title")); //alert(jQuery("[id^=input-560NCT-270OSXCYN]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-270OSXCYN").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-270OSXCYN").prop("checked")) { jQuery("#input-560NCT-270OSXCYN").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-270OSXCYN"); //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-270OSXCYN-650]").length === 0) { jQuery("#note-560NCT-270OSXCYN").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-270OSXCYN]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-270OSXCYN").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-270OSXCYN-650]").remove(); jQuery("[id^=input-560NCT-270OSXCYN]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-270OSXSBL").change(function(){ if(jQuery("#input-560NCT-270OSXSBL").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-270OSXSBL]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-270OSXSBL - 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-270OSXSBL]").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-270OSXSBL"); //alert(jQuery("[id^=input-560NCT-270OSXSBL]").attr("title")); //alert(jQuery("[id^=input-560NCT-270OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-270OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-270OSXSBL").prop("checked")) { jQuery("#input-560NCT-270OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-270OSXSBL"); //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-270OSXSBL-650]").length === 0) { jQuery("#note-560NCT-270OSXSBL").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-270OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-270OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-270OSXSBL-650]").remove(); jQuery("[id^=input-560NCT-270OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-592D-270OSX").change(function(){ if(jQuery("#input-592D-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").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-760-592D-270OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 592D-270OSX - Seadek Swim Platform Mat - Dune)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-592D-270OSX]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-592D-270OSX"); //alert(jQuery("[id^=input-592D-270OSX]").attr("title")); //alert(jQuery("[id^=input-592D-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-592D-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-592D-270OSX").prop("checked")) { jQuery("#input-592D-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-592D-270OSX"); //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-592D-270OSX-760]").length === 0) { jQuery("#note-592D-270OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-592D-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-592D-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592D-270OSX-760]").remove(); jQuery("[id^=input-592D-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-592S-270OSX").change(function(){ if(jQuery("#input-592S-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").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-760-592S-270OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 592S-270OSX - Seadek Swim Platform Mat - Slate)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-592S-270OSX]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-592S-270OSX"); //alert(jQuery("[id^=input-592S-270OSX]").attr("title")); //alert(jQuery("[id^=input-592S-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-592S-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-592S-270OSX").prop("checked")) { jQuery("#input-592S-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-592S-270OSX"); //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-592S-270OSX-760]").length === 0) { jQuery("#note-592S-270OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-592S-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-592S-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592S-270OSX-760]").remove(); jQuery("[id^=input-592S-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-592C-270OSX").change(function(){ if(jQuery("#input-592C-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").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-760-592C-270OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 592C-270OSX - Seadek Swim Platform Mat - Cayenne)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-592C-270OSX]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-592C-270OSX"); //alert(jQuery("[id^=input-592C-270OSX]").attr("title")); //alert(jQuery("[id^=input-592C-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-592C-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-592C-270OSX").prop("checked")) { jQuery("#input-592C-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-592C-270OSX"); //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-592C-270OSX-760]").length === 0) { jQuery("#note-592C-270OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-592C-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-592C-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592C-270OSX-760]").remove(); jQuery("[id^=input-592C-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-270OSX").change(function(){ if(jQuery("#input-704D-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592S-]"); //alert(jQuery("[id^=input-592S-]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592S-]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592S-]").prop("checked")) { jQuery("[id^=input-592S-]").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-592S--704D-270OSX]").length === 0) { jQuery("[id^=note-592S-]").append("
(N/A with 704D-270OSX - Snap-In Seadek Cockpit Flooring - Dune)
"); } jQuery("[id^=input-592S-]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592S-]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592S--704D-270OSX]").remove(); jQuery("[id^=input-592S-]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592S-]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704D-270OSX"); //alert(jQuery("[id^=input-704D-270OSX]").attr("title")); //alert(jQuery("[id^=input-704D-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-270OSX").prop("checked")) { jQuery("#input-704D-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-270OSX"); //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-270OSX-592S-]").length === 0) { jQuery("#note-704D-270OSX").append("
(N/A with 592S- )
"); } jQuery("[id^=input-704D-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-270OSX-592S-]").remove(); jQuery("[id^=input-704D-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-270OSX").change(function(){ if(jQuery("#input-704D-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592STS]"); //alert(jQuery("[id^=input-592STS]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592STS]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592STS]").prop("checked")) { jQuery("[id^=input-592STS]").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-592STS-704D-270OSX]").length === 0) { jQuery("[id^=note-592STS]").append("
(N/A with 704D-270OSX - Snap-In Seadek Cockpit Flooring - Dune)
"); } jQuery("[id^=input-592STS]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592STS]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592STS-704D-270OSX]").remove(); jQuery("[id^=input-592STS]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592STS]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704D-270OSX"); //alert(jQuery("[id^=input-704D-270OSX]").attr("title")); //alert(jQuery("[id^=input-704D-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-270OSX").prop("checked")) { jQuery("#input-704D-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-270OSX"); //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-270OSX-592STS]").length === 0) { jQuery("#note-704D-270OSX").append("
(N/A with 592STS )
"); } jQuery("[id^=input-704D-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-270OSX-592STS]").remove(); jQuery("[id^=input-704D-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-270OSX").change(function(){ if(jQuery("#input-704D-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592C]"); //alert(jQuery("[id^=input-592C]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592C]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592C]").prop("checked")) { jQuery("[id^=input-592C]").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-592C-704D-270OSX]").length === 0) { jQuery("[id^=note-592C]").append("
(N/A with 704D-270OSX - Snap-In Seadek Cockpit Flooring - Dune)
"); } jQuery("[id^=input-592C]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592C]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592C-704D-270OSX]").remove(); jQuery("[id^=input-592C]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592C]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704D-270OSX"); //alert(jQuery("[id^=input-704D-270OSX]").attr("title")); //alert(jQuery("[id^=input-704D-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-270OSX").prop("checked")) { jQuery("#input-704D-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-270OSX"); //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-270OSX-592C]").length === 0) { jQuery("#note-704D-270OSX").append("
(N/A with 592C )
"); } jQuery("[id^=input-704D-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-270OSX-592C]").remove(); jQuery("[id^=input-704D-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-270OSX").change(function(){ if(jQuery("#input-704D-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592STC]"); //alert(jQuery("[id^=input-592STC]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592STC]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592STC]").prop("checked")) { jQuery("[id^=input-592STC]").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-592STC-704D-270OSX]").length === 0) { jQuery("[id^=note-592STC]").append("
(N/A with 704D-270OSX - Snap-In Seadek Cockpit Flooring - Dune)
"); } jQuery("[id^=input-592STC]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592STC]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592STC-704D-270OSX]").remove(); jQuery("[id^=input-592STC]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592STC]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704D-270OSX"); //alert(jQuery("[id^=input-704D-270OSX]").attr("title")); //alert(jQuery("[id^=input-704D-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-270OSX").prop("checked")) { jQuery("#input-704D-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-270OSX"); //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-270OSX-592STC]").length === 0) { jQuery("#note-704D-270OSX").append("
(N/A with 592STC )
"); } jQuery("[id^=input-704D-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-270OSX-592STC]").remove(); jQuery("[id^=input-704D-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-270OSX").change(function(){ if(jQuery("#input-704S-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592D]"); //alert(jQuery("[id^=input-592D]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592D]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592D]").prop("checked")) { jQuery("[id^=input-592D]").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-592D-704S-270OSX]").length === 0) { jQuery("[id^=note-592D]").append("
(N/A with 704S-270OSX - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-592D]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592D]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592D-704S-270OSX]").remove(); jQuery("[id^=input-592D]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592D]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704S-270OSX"); //alert(jQuery("[id^=input-704S-270OSX]").attr("title")); //alert(jQuery("[id^=input-704S-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-270OSX").prop("checked")) { jQuery("#input-704S-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-270OSX"); //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-270OSX-592D]").length === 0) { jQuery("#note-704S-270OSX").append("
(N/A with 592D )
"); } jQuery("[id^=input-704S-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-270OSX-592D]").remove(); jQuery("[id^=input-704S-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-270OSX").change(function(){ if(jQuery("#input-704S-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592STD]"); //alert(jQuery("[id^=input-592STD]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592STD]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592STD]").prop("checked")) { jQuery("[id^=input-592STD]").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-592STD-704S-270OSX]").length === 0) { jQuery("[id^=note-592STD]").append("
(N/A with 704S-270OSX - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-592STD]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592STD]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592STD-704S-270OSX]").remove(); jQuery("[id^=input-592STD]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592STD]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704S-270OSX"); //alert(jQuery("[id^=input-704S-270OSX]").attr("title")); //alert(jQuery("[id^=input-704S-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-270OSX").prop("checked")) { jQuery("#input-704S-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-270OSX"); //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-270OSX-592STD]").length === 0) { jQuery("#note-704S-270OSX").append("
(N/A with 592STD )
"); } jQuery("[id^=input-704S-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-270OSX-592STD]").remove(); jQuery("[id^=input-704S-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-270OSX").change(function(){ if(jQuery("#input-704S-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592C]"); //alert(jQuery("[id^=input-592C]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592C]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592C]").prop("checked")) { jQuery("[id^=input-592C]").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-592C-704S-270OSX]").length === 0) { jQuery("[id^=note-592C]").append("
(N/A with 704S-270OSX - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-592C]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592C]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592C-704S-270OSX]").remove(); jQuery("[id^=input-592C]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592C]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704S-270OSX"); //alert(jQuery("[id^=input-704S-270OSX]").attr("title")); //alert(jQuery("[id^=input-704S-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-270OSX").prop("checked")) { jQuery("#input-704S-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-270OSX"); //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-270OSX-592C]").length === 0) { jQuery("#note-704S-270OSX").append("
(N/A with 592C )
"); } jQuery("[id^=input-704S-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-270OSX-592C]").remove(); jQuery("[id^=input-704S-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-270OSX").change(function(){ if(jQuery("#input-704S-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592STC]"); //alert(jQuery("[id^=input-592STC]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592STC]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592STC]").prop("checked")) { jQuery("[id^=input-592STC]").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-592STC-704S-270OSX]").length === 0) { jQuery("[id^=note-592STC]").append("
(N/A with 704S-270OSX - Snap-In Seadek Cockpit Flooring - Slate)
"); } jQuery("[id^=input-592STC]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592STC]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592STC-704S-270OSX]").remove(); jQuery("[id^=input-592STC]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592STC]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704S-270OSX"); //alert(jQuery("[id^=input-704S-270OSX]").attr("title")); //alert(jQuery("[id^=input-704S-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-270OSX").prop("checked")) { jQuery("#input-704S-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-270OSX"); //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-270OSX-592STC]").length === 0) { jQuery("#note-704S-270OSX").append("
(N/A with 592STC )
"); } jQuery("[id^=input-704S-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-270OSX-592STC]").remove(); jQuery("[id^=input-704S-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-270OSX").change(function(){ if(jQuery("#input-704C-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592S-]"); //alert(jQuery("[id^=input-592S-]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592S-]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592S-]").prop("checked")) { jQuery("[id^=input-592S-]").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-592S--704C-270OSX]").length === 0) { jQuery("[id^=note-592S-]").append("
(N/A with 704C-270OSX - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-592S-]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592S-]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592S--704C-270OSX]").remove(); jQuery("[id^=input-592S-]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592S-]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-270OSX"); //alert(jQuery("[id^=input-704C-270OSX]").attr("title")); //alert(jQuery("[id^=input-704C-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-270OSX").prop("checked")) { jQuery("#input-704C-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-270OSX"); //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-270OSX-592S-]").length === 0) { jQuery("#note-704C-270OSX").append("
(N/A with 592S- )
"); } jQuery("[id^=input-704C-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-270OSX-592S-]").remove(); jQuery("[id^=input-704C-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-270OSX").change(function(){ if(jQuery("#input-704C-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592D-]"); //alert(jQuery("[id^=input-592D-]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592D-]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592D-]").prop("checked")) { jQuery("[id^=input-592D-]").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-592D--704C-270OSX]").length === 0) { jQuery("[id^=note-592D-]").append("
(N/A with 704C-270OSX - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-592D-]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592D-]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592D--704C-270OSX]").remove(); jQuery("[id^=input-592D-]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592D-]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-270OSX"); //alert(jQuery("[id^=input-704C-270OSX]").attr("title")); //alert(jQuery("[id^=input-704C-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-270OSX").prop("checked")) { jQuery("#input-704C-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-270OSX"); //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-270OSX-592D-]").length === 0) { jQuery("#note-704C-270OSX").append("
(N/A with 592D- )
"); } jQuery("[id^=input-704C-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-270OSX-592D-]").remove(); jQuery("[id^=input-704C-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-270OSX").change(function(){ if(jQuery("#input-704C-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592STS-]"); //alert(jQuery("[id^=input-592STS-]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592STS-]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592STS-]").prop("checked")) { jQuery("[id^=input-592STS-]").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-592STS--704C-270OSX]").length === 0) { jQuery("[id^=note-592STS-]").append("
(N/A with 704C-270OSX - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-592STS-]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592STS-]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592STS--704C-270OSX]").remove(); jQuery("[id^=input-592STS-]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592STS-]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-270OSX"); //alert(jQuery("[id^=input-704C-270OSX]").attr("title")); //alert(jQuery("[id^=input-704C-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-270OSX").prop("checked")) { jQuery("#input-704C-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-270OSX"); //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-270OSX-592STS-]").length === 0) { jQuery("#note-704C-270OSX").append("
(N/A with 592STS- )
"); } jQuery("[id^=input-704C-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-270OSX-592STS-]").remove(); jQuery("[id^=input-704C-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-270OSX").change(function(){ if(jQuery("#input-704C-270OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-592STD-]"); //alert(jQuery("[id^=input-592STD-]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-592STD-]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-592STD-]").prop("checked")) { jQuery("[id^=input-592STD-]").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-592STD--704C-270OSX]").length === 0) { jQuery("[id^=note-592STD-]").append("
(N/A with 704C-270OSX - Snap-In Seadek Cockpit Flooring - Cayenne)
"); } jQuery("[id^=input-592STD-]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-592STD-]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592STD--704C-270OSX]").remove(); jQuery("[id^=input-592STD-]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-592STD-]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-704C-270OSX"); //alert(jQuery("[id^=input-704C-270OSX]").attr("title")); //alert(jQuery("[id^=input-704C-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-270OSX").prop("checked")) { jQuery("#input-704C-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-270OSX"); //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-270OSX-592STD-]").length === 0) { jQuery("#note-704C-270OSX").append("
(N/A with 592STD- )
"); } jQuery("[id^=input-704C-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-270OSX-592STD-]").remove(); jQuery("[id^=input-704C-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-527-270OSX").change(function(){ if(jQuery("#input-527-270OSX").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-270OSX]").length === 0) { jQuery("[id^=note-540]").append("
(N/A with 527-270OSX - 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-270OSX]").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-270OSX"); //alert(jQuery("[id^=input-527-270OSX]").attr("title")); //alert(jQuery("[id^=input-527-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-527-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-527-270OSX").prop("checked")) { jQuery("#input-527-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-527-270OSX"); //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-270OSX-540]").length === 0) { jQuery("#note-527-270OSX").append("
(N/A with 540 )
"); } jQuery("[id^=input-527-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-527-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-527-270OSX-540]").remove(); jQuery("[id^=input-527-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-796DB-270OSX").change(function(){ if(jQuery("#input-796DB-270OSX").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-270OSX]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 796DB-270OSX - 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-270OSX]").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-270OSX"); //alert(jQuery("[id^=input-796DB-270OSX]").attr("title")); //alert(jQuery("[id^=input-796DB-270OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-796DB-270OSX").prop("disabled", true); // determine if checked if(jQuery("#input-796DB-270OSX").prop("checked")) { jQuery("#input-796DB-270OSX").removeAttr("checked").change(); } //console.log("if of reverse input-796DB-270OSX"); //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-270OSX-685]").length === 0) { jQuery("#note-796DB-270OSX").append("
(N/A with 685 )
"); } jQuery("[id^=input-796DB-270OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-796DB-270OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-796DB-270OSX-685]").remove(); jQuery("[id^=input-796DB-270OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-979-270OSXBE").change(function(){ if(jQuery("#input-979-270OSXBE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-270OSXBE]").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-270OSXBE]").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-270OSXBE-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-270OSXBE]").hide(); jQuery("[id^=note-single-required-by-979-270OSXBE]").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-270OSXBE]").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-270OSXBE").change(function(){ if(jQuery("#input-979-270OSXBE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-270OSXBE]").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-270OSXBE]").hide(); jQuery("[id^=note-single-required-by-979-270OSXBE]").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-270OSXBE]").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-535-270OSX").change(function(){ if(jQuery("#input-535-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-270OSX]").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-270OSX]").hide(); jQuery("[id^=note-single-required-by-535-270OSX]").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-535-270OSX").change(function(){ if(jQuery("#input-535-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-270OSX]").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-270OSX]").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-270OSX-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-270OSX]").hide(); jQuery("[id^=note-single-required-by-535-270OSX]").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-270OSX]").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-767W-270OSXCYNBLU").change(function(){ if(jQuery("#input-767W-270OSXCYNBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXCYNBLU]").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-767W-270OSXCYNBLU]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXCYNBLU]").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-270OSX]").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-767W-270OSXSLTBLU").change(function(){ if(jQuery("#input-767W-270OSXSLTBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXSLTBLU]").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-532-767W-270OSXSLTBLU]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-532]").prop("type") != "radio") if(jQuery("[id^=input-532]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-532]").prop("disabled", true); } else if(jQuery("[id^=input-532]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-532]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-532]").prop("disabled", false); } if(!jQuery("[id^=input-532]").prop("checked")){ jQuery("[id^=input-532]").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-532]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-532]").append("
(Required By: 767W-270OSXSLTBLU-EFX Electric Folding Arch Tower - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-767W-270OSXSLTBLU]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXSLTBLU]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767W-270OSXSLTBLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXCYNBLK").change(function(){ if(jQuery("#input-767W-270OSXCYNBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXCYNBLK]").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-767W-270OSXCYNBLK]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXCYNBLK]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767W-270OSXSLTBLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXSLTBLK").change(function(){ if(jQuery("#input-767W-270OSXSLTBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXSLTBLK]").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-532-767W-270OSXSLTBLK]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-532]").prop("type") != "radio") if(jQuery("[id^=input-532]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-532]").prop("disabled", true); } else if(jQuery("[id^=input-532]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-532]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-532]").prop("disabled", false); } if(!jQuery("[id^=input-532]").prop("checked")){ jQuery("[id^=input-532]").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-532]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-532]").append("
(Required By: 767W-270OSXSLTBLK-EFX Electric Folding Arch Tower - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-767W-270OSXSLTBLK]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXSLTBLK]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767W-270OSXSLTBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXDNESBL").change(function(){ if(jQuery("#input-767W-270OSXDNESBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXDNESBL]").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-778-767W-270OSXDNESBL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-778]").prop("type") != "radio") if(jQuery("[id^=input-778]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-778]").prop("disabled", true); } else if(jQuery("[id^=input-778]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-778]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-778]").prop("disabled", false); } if(!jQuery("[id^=input-778]").prop("checked")){ jQuery("[id^=input-778]").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-778]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-778]").append("
(Required By: 767W-270OSXDNESBL-EFX Electric Folding Arch Tower - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-767W-270OSXDNESBL]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXDNESBL]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767W-270OSXDNESBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXDNEBLK").change(function(){ if(jQuery("#input-767W-270OSXDNEBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXDNEBLK]").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-778-767W-270OSXDNEBLK]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-778]").prop("type") != "radio") if(jQuery("[id^=input-778]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-778]").prop("disabled", true); } else if(jQuery("[id^=input-778]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-778]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-778]").prop("disabled", false); } if(!jQuery("[id^=input-778]").prop("checked")){ jQuery("[id^=input-778]").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-778]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-778]").append("
(Required By: 767W-270OSXDNEBLK-EFX Electric Folding Arch Tower - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-767W-270OSXDNEBLK]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXDNEBLK]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767W-270OSXDNEBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXCYNSBL").change(function(){ if(jQuery("#input-767W-270OSXCYNSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXCYNSBL]").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-767W-270OSXCYNSBL]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXCYNSBL]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767W-270OSXDNEBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXDNEBLU").change(function(){ if(jQuery("#input-767W-270OSXDNEBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXDNEBLU]").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-778-767W-270OSXDNEBLU]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-778]").prop("type") != "radio") if(jQuery("[id^=input-778]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-778]").prop("disabled", true); } else if(jQuery("[id^=input-778]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-778]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-778]").prop("disabled", false); } if(!jQuery("[id^=input-778]").prop("checked")){ jQuery("[id^=input-778]").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-778]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-778]").append("
(Required By: 767W-270OSXDNEBLU-EFX Electric Folding Arch Tower - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-767W-270OSXDNEBLU]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXDNEBLU]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767W-270OSXDNEBLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-270OSXSLTSBL").change(function(){ if(jQuery("#input-767W-270OSXSLTSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-270OSXSLTSBL]").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-532-767W-270OSXSLTSBL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-532]").prop("type") != "radio") if(jQuery("[id^=input-532]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-532]").prop("disabled", true); } else if(jQuery("[id^=input-532]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-532]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-532]").prop("disabled", false); } if(!jQuery("[id^=input-532]").prop("checked")){ jQuery("[id^=input-532]").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-532]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-532]").append("
(Required By: 767W-270OSXSLTSBL-EFX Electric Folding Arch Tower - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-767W-270OSXSLTSBL]").hide(); jQuery("[id^=note-single-required-by-767W-270OSXSLTSBL]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767W-270OSXSLTSBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXDNEBLU").change(function(){ if(jQuery("#input-767B-270OSXDNEBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXDNEBLU]").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-778-767B-270OSXDNEBLU]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-778]").prop("type") != "radio") if(jQuery("[id^=input-778]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-778]").prop("disabled", true); } else if(jQuery("[id^=input-778]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-778]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-778]").prop("disabled", false); } if(!jQuery("[id^=input-778]").prop("checked")){ jQuery("[id^=input-778]").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-778]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-778]").append("
(Required By: 767B-270OSXDNEBLU-EFX Electric Folding Arch Tower - Black)
"); } } // 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-767B-270OSXDNEBLU]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXDNEBLU]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNEBLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXDNEBLK").change(function(){ if(jQuery("#input-767B-270OSXDNEBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXDNEBLK]").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-778-767B-270OSXDNEBLK]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-778]").prop("type") != "radio") if(jQuery("[id^=input-778]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-778]").prop("disabled", true); } else if(jQuery("[id^=input-778]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-778]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-778]").prop("disabled", false); } if(!jQuery("[id^=input-778]").prop("checked")){ jQuery("[id^=input-778]").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-778]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-778]").append("
(Required By: 767B-270OSXDNEBLK-EFX Electric Folding Arch Tower - Black)
"); } } // 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-767B-270OSXDNEBLK]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXDNEBLK]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNEBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXCYNBLK").change(function(){ if(jQuery("#input-767B-270OSXCYNBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXCYNBLK]").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-767B-270OSXCYNBLK]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXCYNBLK]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNEBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXSLTSBL").change(function(){ if(jQuery("#input-767B-270OSXSLTSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXSLTSBL]").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-532-767B-270OSXSLTSBL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-532]").prop("type") != "radio") if(jQuery("[id^=input-532]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-532]").prop("disabled", true); } else if(jQuery("[id^=input-532]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-532]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-532]").prop("disabled", false); } if(!jQuery("[id^=input-532]").prop("checked")){ jQuery("[id^=input-532]").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-532]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-532]").append("
(Required By: 767B-270OSXSLTSBL-EFX Electric Folding Arch Tower - Black)
"); } } // 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-767B-270OSXSLTSBL]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXSLTSBL]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767B-270OSXSLTSBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXCYNBLU").change(function(){ if(jQuery("#input-767B-270OSXCYNBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXCYNBLU]").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-767B-270OSXCYNBLU]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXCYNBLU]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767B-270OSXSLTSBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXCYNSBL").change(function(){ if(jQuery("#input-767B-270OSXCYNSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXCYNSBL]").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-767B-270OSXCYNSBL]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXCYNSBL]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767B-270OSXSLTSBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXSLTBLU").change(function(){ if(jQuery("#input-767B-270OSXSLTBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXSLTBLU]").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-532-767B-270OSXSLTBLU]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-532]").prop("type") != "radio") if(jQuery("[id^=input-532]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-532]").prop("disabled", true); } else if(jQuery("[id^=input-532]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-532]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-532]").prop("disabled", false); } if(!jQuery("[id^=input-532]").prop("checked")){ jQuery("[id^=input-532]").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-532]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-532]").append("
(Required By: 767B-270OSXSLTBLU-EFX Electric Folding Arch Tower - Black)
"); } } // 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-767B-270OSXSLTBLU]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXSLTBLU]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767B-270OSXSLTBLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXSLTBLK").change(function(){ if(jQuery("#input-767B-270OSXSLTBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXSLTBLK]").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-532-767B-270OSXSLTBLK]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-532]").prop("type") != "radio") if(jQuery("[id^=input-532]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-532]").prop("disabled", true); } else if(jQuery("[id^=input-532]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-532]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-532]").prop("disabled", false); } if(!jQuery("[id^=input-532]").prop("checked")){ jQuery("[id^=input-532]").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-532]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-532]").append("
(Required By: 767B-270OSXSLTBLK-EFX Electric Folding Arch Tower - Black)
"); } } // 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-767B-270OSXSLTBLK]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXSLTBLK]").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-532]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-532]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-532-767B-270OSXSLTBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-532]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-532]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767B-270OSXDNESBL").change(function(){ if(jQuery("#input-767B-270OSXDNESBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-270OSXDNESBL]").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-778-767B-270OSXDNESBL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-778]").prop("type") != "radio") if(jQuery("[id^=input-778]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-778]").prop("disabled", true); } else if(jQuery("[id^=input-778]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-778]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-778]").prop("disabled", false); } if(!jQuery("[id^=input-778]").prop("checked")){ jQuery("[id^=input-778]").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-778]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-778]").append("
(Required By: 767B-270OSXDNESBL-EFX Electric Folding Arch Tower - Black)
"); } } // 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-767B-270OSXDNESBL]").hide(); jQuery("[id^=note-single-required-by-767B-270OSXDNESBL]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNESBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619RAST-270OSX").change(function(){ if(jQuery("#input-619RAST-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619RAST-270OSX]").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-619RAST-270OSX]").hide(); jQuery("[id^=note-single-required-by-619RAST-270OSX]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNESBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619ST-270OSX").change(function(){ if(jQuery("#input-619ST-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619ST-270OSX]").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-619ST-270OSX]").hide(); jQuery("[id^=note-single-required-by-619ST-270OSX]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNESBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-713W-270OSX").change(function(){ if(jQuery("#input-713W-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-713W-270OSX]").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-270OSX]").hide(); jQuery("[id^=note-single-required-by-713W-270OSX]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNESBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-713B-270OSX").change(function(){ if(jQuery("#input-713B-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-713B-270OSX]").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-270OSX]").hide(); jQuery("[id^=note-single-required-by-713B-270OSX]").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-778]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-778]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-778-767B-270OSXDNESBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-778]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-778]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-595T-270OSX").change(function(){ if(jQuery("#input-595T-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-595T-270OSX]").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-270OSX]").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-270OSX-Plasdeck 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-270OSX]").hide(); jQuery("[id^=note-single-required-by-595T-270OSX]").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-270OSX]").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-270OSX").change(function(){ if(jQuery("#input-595S-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-595S-270OSX]").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-270OSX]").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-270OSX-Plasdeck 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-270OSX]").hide(); jQuery("[id^=note-single-required-by-595S-270OSX]").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-270OSX]").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-270OSXBLK").change(function(){ if(jQuery("#input-560CT-270OSXBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-270OSXBLK]").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-270OSXBLK]").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-270OSXBLK-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-270OSXBLK]").hide(); jQuery("[id^=note-single-required-by-560CT-270OSXBLK]").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-270OSXBLK]").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-270OSXCYN").change(function(){ if(jQuery("#input-560CT-270OSXCYN").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-270OSXCYN]").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-270OSXCYN]").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-270OSXCYN-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-270OSXCYN]").hide(); jQuery("[id^=note-single-required-by-560CT-270OSXCYN]").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-270OSXCYN]").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-270OSXSLT").change(function(){ if(jQuery("#input-560CT-270OSXSLT").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-270OSXSLT]").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-270OSXSLT]").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-270OSXSLT-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-270OSXSLT]").hide(); jQuery("[id^=note-single-required-by-560CT-270OSXSLT]").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-270OSXSLT]").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-270OSXBLU").change(function(){ if(jQuery("#input-560CT-270OSXBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-270OSXBLU]").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-270OSXBLU]").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-270OSXBLU-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-270OSXBLU]").hide(); jQuery("[id^=note-single-required-by-560CT-270OSXBLU]").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-270OSXBLU]").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-270OSXDNE").change(function(){ if(jQuery("#input-560CT-270OSXDNE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-270OSXDNE]").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-270OSXDNE]").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-270OSXDNE-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-270OSXDNE]").hide(); jQuery("[id^=note-single-required-by-560CT-270OSXDNE]").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-270OSXDNE]").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-270OSXSBL").change(function(){ if(jQuery("#input-560CT-270OSXSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-270OSXSBL]").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-270OSXSBL]").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-270OSXSBL-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-270OSXSBL]").hide(); jQuery("[id^=note-single-required-by-560CT-270OSXSBL]").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-270OSXSBL]").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-592STD-270OSX").change(function(){ if(jQuery("#input-592STD-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592STD-270OSX]").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-592STD-270OSX]").hide(); jQuery("[id^=note-single-required-by-592STD-270OSX]").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-270OSXSBL]").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-592STS-270OSX").change(function(){ if(jQuery("#input-592STS-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592STS-270OSX]").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-592STS-270OSX]").hide(); jQuery("[id^=note-single-required-by-592STS-270OSX]").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-270OSXSBL]").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-592STC-270OSX").change(function(){ if(jQuery("#input-592STC-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592STC-270OSX]").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-592STC-270OSX]").hide(); jQuery("[id^=note-single-required-by-592STC-270OSX]").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-270OSXSBL]").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-539-270OSX").change(function(){ if(jQuery("#input-539-270OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-539-270OSX]").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-270OSX]").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-270OSX-Polished Stainless Steel Anchor)
"); } } // 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-270OSX]").hide(); jQuery("[id^=note-single-required-by-539-270OSX]").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-270OSX]").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["979-270OSXBE"] = {}; option_group_data["979-270OSXBE"]["part_groups"] = new Array(); option_group_data["979-270OSXBE"]["part_groups"].push("125"); option_group_data["369-270OSX"] = {}; option_group_data["369-270OSX"]["part_groups"] = new Array(); option_group_data["369-270OSX"]["part_groups"].push("4"); option_group_data["381-270OSX"] = {}; option_group_data["381-270OSX"]["part_groups"] = new Array(); option_group_data["381-270OSX"]["part_groups"].push("13"); option_group_data["396-270OSX"] = {}; option_group_data["396-270OSX"]["part_groups"] = new Array(); option_group_data["396-270OSX"]["part_groups"].push("13"); option_group_data["383W-270OSX"] = {}; option_group_data["383W-270OSX"]["part_groups"] = new Array(); option_group_data["383W-270OSX"]["part_groups"].push("6"); option_group_data["266D250VMAX"] = {}; option_group_data["266D250VMAX"]["available_with"] = new Array(); option_group_data["266D250VMAX"]["available_with_compound"] = new Array(); option_group_data["266D250VMAX"]["available_with"].push("4"); option_group_data["532-270OSX"] = {}; option_group_data["532-270OSX"]["part_groups"] = new Array(); option_group_data["532-270OSX"]["part_groups"].push("20"); option_group_data["778-270OSX"] = {}; option_group_data["778-270OSX"]["part_groups"] = new Array(); option_group_data["778-270OSX"]["part_groups"].push("30"); option_group_data["643-270OSX"] = {}; option_group_data["643-270OSX"]["part_groups"] = new Array(); option_group_data["643-270OSX"]["part_groups"].push("21"); option_group_data["644-270OSX"] = {}; option_group_data["644-270OSX"]["part_groups"] = new Array(); option_group_data["644-270OSX"]["part_groups"].push("22"); option_group_data["663-270OSX"] = {}; option_group_data["663-270OSX"]["part_groups"] = new Array(); option_group_data["663-270OSX"]["part_groups"].push("23"); option_group_data["535-270OSX"] = {}; option_group_data["535-270OSX"]["part_groups"] = new Array(); option_group_data["535-270OSX"]["part_groups"].push("27"); option_group_data["638M-270OSX"] = {}; option_group_data["638M-270OSX"]["part_groups"] = new Array(); option_group_data["638M-270OSX"]["available_with"] = new Array(); option_group_data["638M-270OSX"]["available_with_compound"] = new Array(); option_group_data["638M-270OSX"]["part_groups"].push("27"); option_group_data["638M-270OSX"]["part_groups"].push("95"); option_group_data["638M-270OSX"]["available_with"].push("2"); option_group_data["638YM-270OSX"] = {}; option_group_data["638YM-270OSX"]["part_groups"] = new Array(); option_group_data["638YM-270OSX"]["available_with"] = new Array(); option_group_data["638YM-270OSX"]["available_with_compound"] = new Array(); option_group_data["638YM-270OSX"]["part_groups"].push("27"); option_group_data["638YM-270OSX"]["part_groups"].push("95"); option_group_data["638YM-270OSX"]["available_with"].push("4"); option_group_data["638YD-270OSX"] = {}; option_group_data["638YD-270OSX"]["part_groups"] = new Array(); option_group_data["638YD-270OSX"]["available_with"] = new Array(); option_group_data["638YD-270OSX"]["available_with_compound"] = new Array(); option_group_data["638YD-270OSX"]["part_groups"].push("27"); option_group_data["638YD-270OSX"]["part_groups"].push("95"); option_group_data["638YD-270OSX"]["available_with"].push("6"); option_group_data["638YD-270OSX"]["available_with"].push("13"); option_group_data["767W-270OSXCYNBLU"] = {}; option_group_data["767W-270OSXCYNBLU"]["part_groups"] = new Array(); option_group_data["767W-270OSXCYNBLU"]["available_with"] = new Array(); option_group_data["767W-270OSXCYNBLU"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXCYNBLU"]["part_groups"].push("3"); option_group_data["767W-270OSXCYNBLU"]["available_with"].push("27"); option_group_data["767W-270OSXSBLBLK"] = {}; option_group_data["767W-270OSXSBLBLK"]["part_groups"] = new Array(); option_group_data["767W-270OSXSBLBLK"]["available_with"] = new Array(); option_group_data["767W-270OSXSBLBLK"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXSBLBLK"]["part_groups"].push("3"); option_group_data["767W-270OSXSBLBLK"]["available_with"].push("23"); option_group_data["767W-270OSXBLKSBL"] = {}; option_group_data["767W-270OSXBLKSBL"]["part_groups"] = new Array(); option_group_data["767W-270OSXBLKSBL"]["available_with"] = new Array(); option_group_data["767W-270OSXBLKSBL"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXBLKSBL"]["part_groups"].push("3"); option_group_data["767W-270OSXBLKSBL"]["available_with"].push("21"); option_group_data["767W-270OSXSLTBLU"] = {}; option_group_data["767W-270OSXSLTBLU"]["part_groups"] = new Array(); option_group_data["767W-270OSXSLTBLU"]["available_with"] = new Array(); option_group_data["767W-270OSXSLTBLU"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXSLTBLU"]["part_groups"].push("3"); option_group_data["767W-270OSXSLTBLU"]["available_with"].push("20"); option_group_data["767W-270OSXCYNBLK"] = {}; option_group_data["767W-270OSXCYNBLK"]["part_groups"] = new Array(); option_group_data["767W-270OSXCYNBLK"]["available_with"] = new Array(); option_group_data["767W-270OSXCYNBLK"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXCYNBLK"]["part_groups"].push("3"); option_group_data["767W-270OSXCYNBLK"]["available_with"].push("27"); option_group_data["767W-270OSXBLKBLU"] = {}; option_group_data["767W-270OSXBLKBLU"]["part_groups"] = new Array(); option_group_data["767W-270OSXBLKBLU"]["available_with"] = new Array(); option_group_data["767W-270OSXBLKBLU"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXBLKBLU"]["part_groups"].push("3"); option_group_data["767W-270OSXBLKBLU"]["available_with"].push("21"); option_group_data["767W-270OSXSLTBLK"] = {}; option_group_data["767W-270OSXSLTBLK"]["part_groups"] = new Array(); option_group_data["767W-270OSXSLTBLK"]["available_with"] = new Array(); option_group_data["767W-270OSXSLTBLK"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXSLTBLK"]["part_groups"].push("3"); option_group_data["767W-270OSXSLTBLK"]["available_with"].push("20"); option_group_data["767W-270OSXBLUBLU"] = {}; option_group_data["767W-270OSXBLUBLU"]["part_groups"] = new Array(); option_group_data["767W-270OSXBLUBLU"]["available_with"] = new Array(); option_group_data["767W-270OSXBLUBLU"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXBLUBLU"]["part_groups"].push("3"); option_group_data["767W-270OSXBLUBLU"]["available_with"].push("22"); option_group_data["767W-270OSXSBLSBL"] = {}; option_group_data["767W-270OSXSBLSBL"]["part_groups"] = new Array(); option_group_data["767W-270OSXSBLSBL"]["available_with"] = new Array(); option_group_data["767W-270OSXSBLSBL"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXSBLSBL"]["part_groups"].push("3"); option_group_data["767W-270OSXSBLSBL"]["available_with"].push("23"); option_group_data["767W-270OSXBLKBLK"] = {}; option_group_data["767W-270OSXBLKBLK"]["part_groups"] = new Array(); option_group_data["767W-270OSXBLKBLK"]["available_with"] = new Array(); option_group_data["767W-270OSXBLKBLK"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXBLKBLK"]["part_groups"].push("3"); option_group_data["767W-270OSXBLKBLK"]["available_with"].push("21"); option_group_data["767W-270OSXDNESBL"] = {}; option_group_data["767W-270OSXDNESBL"]["part_groups"] = new Array(); option_group_data["767W-270OSXDNESBL"]["available_with"] = new Array(); option_group_data["767W-270OSXDNESBL"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXDNESBL"]["part_groups"].push("3"); option_group_data["767W-270OSXDNESBL"]["available_with"].push("30"); option_group_data["767W-270OSXSBLBLU"] = {}; option_group_data["767W-270OSXSBLBLU"]["part_groups"] = new Array(); option_group_data["767W-270OSXSBLBLU"]["available_with"] = new Array(); option_group_data["767W-270OSXSBLBLU"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXSBLBLU"]["part_groups"].push("3"); option_group_data["767W-270OSXSBLBLU"]["available_with"].push("23"); option_group_data["767W-270OSXDNEBLK"] = {}; option_group_data["767W-270OSXDNEBLK"]["part_groups"] = new Array(); option_group_data["767W-270OSXDNEBLK"]["available_with"] = new Array(); option_group_data["767W-270OSXDNEBLK"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXDNEBLK"]["part_groups"].push("3"); option_group_data["767W-270OSXDNEBLK"]["available_with"].push("30"); option_group_data["767W-270OSXCYNSBL"] = {}; option_group_data["767W-270OSXCYNSBL"]["part_groups"] = new Array(); option_group_data["767W-270OSXCYNSBL"]["available_with"] = new Array(); option_group_data["767W-270OSXCYNSBL"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXCYNSBL"]["part_groups"].push("3"); option_group_data["767W-270OSXCYNSBL"]["available_with"].push("27"); option_group_data["767W-270OSXBLUSBL"] = {}; option_group_data["767W-270OSXBLUSBL"]["part_groups"] = new Array(); option_group_data["767W-270OSXBLUSBL"]["available_with"] = new Array(); option_group_data["767W-270OSXBLUSBL"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXBLUSBL"]["part_groups"].push("3"); option_group_data["767W-270OSXBLUSBL"]["available_with"].push("22"); option_group_data["767W-270OSXDNEBLU"] = {}; option_group_data["767W-270OSXDNEBLU"]["part_groups"] = new Array(); option_group_data["767W-270OSXDNEBLU"]["available_with"] = new Array(); option_group_data["767W-270OSXDNEBLU"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXDNEBLU"]["part_groups"].push("3"); option_group_data["767W-270OSXDNEBLU"]["available_with"].push("30"); option_group_data["767W-270OSXBLUBLK"] = {}; option_group_data["767W-270OSXBLUBLK"]["part_groups"] = new Array(); option_group_data["767W-270OSXBLUBLK"]["available_with"] = new Array(); option_group_data["767W-270OSXBLUBLK"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXBLUBLK"]["part_groups"].push("3"); option_group_data["767W-270OSXBLUBLK"]["available_with"].push("22"); option_group_data["767W-270OSXSLTSBL"] = {}; option_group_data["767W-270OSXSLTSBL"]["part_groups"] = new Array(); option_group_data["767W-270OSXSLTSBL"]["available_with"] = new Array(); option_group_data["767W-270OSXSLTSBL"]["available_with_compound"] = new Array(); option_group_data["767W-270OSXSLTSBL"]["part_groups"].push("3"); option_group_data["767W-270OSXSLTSBL"]["available_with"].push("20"); option_group_data["767B-270OSXDNEBLU"] = {}; option_group_data["767B-270OSXDNEBLU"]["part_groups"] = new Array(); option_group_data["767B-270OSXDNEBLU"]["available_with"] = new Array(); option_group_data["767B-270OSXDNEBLU"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXDNEBLU"]["part_groups"].push("8"); option_group_data["767B-270OSXDNEBLU"]["available_with"].push("30"); option_group_data["767B-270OSXBLUSBL"] = {}; option_group_data["767B-270OSXBLUSBL"]["part_groups"] = new Array(); option_group_data["767B-270OSXBLUSBL"]["available_with"] = new Array(); option_group_data["767B-270OSXBLUSBL"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXBLUSBL"]["part_groups"].push("8"); option_group_data["767B-270OSXBLUSBL"]["available_with"].push("22"); option_group_data["767B-270OSXBLUBLU"] = {}; option_group_data["767B-270OSXBLUBLU"]["part_groups"] = new Array(); option_group_data["767B-270OSXBLUBLU"]["available_with"] = new Array(); option_group_data["767B-270OSXBLUBLU"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXBLUBLU"]["part_groups"].push("8"); option_group_data["767B-270OSXBLUBLU"]["available_with"].push("22"); option_group_data["767B-270OSXSBLBLK"] = {}; option_group_data["767B-270OSXSBLBLK"]["part_groups"] = new Array(); option_group_data["767B-270OSXSBLBLK"]["available_with"] = new Array(); option_group_data["767B-270OSXSBLBLK"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXSBLBLK"]["part_groups"].push("8"); option_group_data["767B-270OSXSBLBLK"]["available_with"].push("23"); option_group_data["767B-270OSXDNEBLK"] = {}; option_group_data["767B-270OSXDNEBLK"]["part_groups"] = new Array(); option_group_data["767B-270OSXDNEBLK"]["available_with"] = new Array(); option_group_data["767B-270OSXDNEBLK"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXDNEBLK"]["part_groups"].push("8"); option_group_data["767B-270OSXDNEBLK"]["available_with"].push("30"); option_group_data["767B-270OSXCYNBLK"] = {}; option_group_data["767B-270OSXCYNBLK"]["part_groups"] = new Array(); option_group_data["767B-270OSXCYNBLK"]["available_with"] = new Array(); option_group_data["767B-270OSXCYNBLK"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXCYNBLK"]["part_groups"].push("8"); option_group_data["767B-270OSXCYNBLK"]["available_with"].push("27"); option_group_data["767B-270OSXCYNBLK"]["available_with"].push("126"); option_group_data["767B-270OSXSLTSBL"] = {}; option_group_data["767B-270OSXSLTSBL"]["part_groups"] = new Array(); option_group_data["767B-270OSXSLTSBL"]["available_with"] = new Array(); option_group_data["767B-270OSXSLTSBL"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXSLTSBL"]["part_groups"].push("8"); option_group_data["767B-270OSXSLTSBL"]["available_with"].push("20"); option_group_data["767B-270OSXCYNBLU"] = {}; option_group_data["767B-270OSXCYNBLU"]["part_groups"] = new Array(); option_group_data["767B-270OSXCYNBLU"]["available_with"] = new Array(); option_group_data["767B-270OSXCYNBLU"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXCYNBLU"]["part_groups"].push("8"); option_group_data["767B-270OSXCYNBLU"]["available_with"].push("27"); option_group_data["767B-270OSXBLKBLK"] = {}; option_group_data["767B-270OSXBLKBLK"]["part_groups"] = new Array(); option_group_data["767B-270OSXBLKBLK"]["available_with"] = new Array(); option_group_data["767B-270OSXBLKBLK"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXBLKBLK"]["part_groups"].push("8"); option_group_data["767B-270OSXBLKBLK"]["available_with"].push("21"); option_group_data["767B-270OSXCYNSBL"] = {}; option_group_data["767B-270OSXCYNSBL"]["part_groups"] = new Array(); option_group_data["767B-270OSXCYNSBL"]["available_with"] = new Array(); option_group_data["767B-270OSXCYNSBL"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXCYNSBL"]["part_groups"].push("8"); option_group_data["767B-270OSXCYNSBL"]["available_with"].push("27"); option_group_data["767B-270OSXSBLSBL"] = {}; option_group_data["767B-270OSXSBLSBL"]["part_groups"] = new Array(); option_group_data["767B-270OSXSBLSBL"]["available_with"] = new Array(); option_group_data["767B-270OSXSBLSBL"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXSBLSBL"]["part_groups"].push("8"); option_group_data["767B-270OSXSBLSBL"]["available_with"].push("23"); option_group_data["767B-270OSXBLKBLU"] = {}; option_group_data["767B-270OSXBLKBLU"]["part_groups"] = new Array(); option_group_data["767B-270OSXBLKBLU"]["available_with"] = new Array(); option_group_data["767B-270OSXBLKBLU"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXBLKBLU"]["part_groups"].push("8"); option_group_data["767B-270OSXBLKBLU"]["available_with"].push("21"); option_group_data["767B-270OSXSLTBLU"] = {}; option_group_data["767B-270OSXSLTBLU"]["part_groups"] = new Array(); option_group_data["767B-270OSXSLTBLU"]["available_with"] = new Array(); option_group_data["767B-270OSXSLTBLU"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXSLTBLU"]["part_groups"].push("8"); option_group_data["767B-270OSXSLTBLU"]["available_with"].push("20"); option_group_data["767B-270OSXSLTBLK"] = {}; option_group_data["767B-270OSXSLTBLK"]["part_groups"] = new Array(); option_group_data["767B-270OSXSLTBLK"]["available_with"] = new Array(); option_group_data["767B-270OSXSLTBLK"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXSLTBLK"]["part_groups"].push("8"); option_group_data["767B-270OSXSLTBLK"]["available_with"].push("20"); option_group_data["767B-270OSXSBLBLU"] = {}; option_group_data["767B-270OSXSBLBLU"]["part_groups"] = new Array(); option_group_data["767B-270OSXSBLBLU"]["available_with"] = new Array(); option_group_data["767B-270OSXSBLBLU"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXSBLBLU"]["part_groups"].push("8"); option_group_data["767B-270OSXSBLBLU"]["available_with"].push("23"); option_group_data["767B-270OSXDNESBL"] = {}; option_group_data["767B-270OSXDNESBL"]["part_groups"] = new Array(); option_group_data["767B-270OSXDNESBL"]["available_with"] = new Array(); option_group_data["767B-270OSXDNESBL"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXDNESBL"]["part_groups"].push("8"); option_group_data["767B-270OSXDNESBL"]["available_with"].push("30"); option_group_data["767B-270OSXBLUBLK"] = {}; option_group_data["767B-270OSXBLUBLK"]["part_groups"] = new Array(); option_group_data["767B-270OSXBLUBLK"]["available_with"] = new Array(); option_group_data["767B-270OSXBLUBLK"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXBLUBLK"]["part_groups"].push("8"); option_group_data["767B-270OSXBLUBLK"]["available_with"].push("22"); option_group_data["767B-270OSXBLKSBL"] = {}; option_group_data["767B-270OSXBLKSBL"]["part_groups"] = new Array(); option_group_data["767B-270OSXBLKSBL"]["available_with"] = new Array(); option_group_data["767B-270OSXBLKSBL"]["available_with_compound"] = new Array(); option_group_data["767B-270OSXBLKSBL"]["part_groups"].push("8"); option_group_data["767B-270OSXBLKSBL"]["available_with"].push("21"); option_group_data["562-270OSXBLK"] = {}; option_group_data["562-270OSXBLK"]["available_with"] = new Array(); option_group_data["562-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["562-270OSXBLK"]["available_with"].push("3"); option_group_data["562-270OSXBLK"]["available_with"].push("8"); option_group_data["562-270OSXBLU"] = {}; option_group_data["562-270OSXBLU"]["available_with"] = new Array(); option_group_data["562-270OSXBLU"]["available_with_compound"] = new Array(); option_group_data["562-270OSXBLU"]["available_with"].push("3"); option_group_data["562-270OSXBLU"]["available_with"].push("8"); option_group_data["562-270OSXSBL"] = {}; option_group_data["562-270OSXSBL"]["available_with"] = new Array(); option_group_data["562-270OSXSBL"]["available_with_compound"] = new Array(); option_group_data["562-270OSXSBL"]["available_with"].push("3"); option_group_data["562-270OSXSBL"]["available_with"].push("8"); option_group_data["642B-270OSXWHT"] = {}; option_group_data["642B-270OSXWHT"]["available_with"] = new Array(); option_group_data["642B-270OSXWHT"]["available_with_compound"] = new Array(); option_group_data["642B-270OSXWHT"]["available_with"].push("8"); option_group_data["642B-270OSXWHT"]["available_with"].push("126"); option_group_data["642-270OSXBLK"] = {}; option_group_data["642-270OSXBLK"]["available_with"] = new Array(); option_group_data["642-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["642-270OSXBLK"]["available_with"].push("3"); option_group_data["642-270OSXBLU"] = {}; option_group_data["642-270OSXBLU"]["available_with"] = new Array(); option_group_data["642-270OSXBLU"]["available_with_compound"] = new Array(); option_group_data["642-270OSXBLU"]["available_with"].push("3"); option_group_data["642B-270OSXBLU"] = {}; option_group_data["642B-270OSXBLU"]["available_with"] = new Array(); option_group_data["642B-270OSXBLU"]["available_with_compound"] = new Array(); option_group_data["642B-270OSXBLU"]["available_with"].push("8"); option_group_data["642B-270OSXBLU"]["available_with"].push("126"); option_group_data["642B-270OSXALY"] = {}; option_group_data["642B-270OSXALY"]["available_with"] = new Array(); option_group_data["642B-270OSXALY"]["available_with_compound"] = new Array(); option_group_data["642B-270OSXALY"]["available_with"].push("8"); option_group_data["642B-270OSXALY"]["available_with"].push("126"); option_group_data["642-270OSXALY"] = {}; option_group_data["642-270OSXALY"]["available_with"] = new Array(); option_group_data["642-270OSXALY"]["available_with_compound"] = new Array(); option_group_data["642-270OSXALY"]["available_with"].push("3"); option_group_data["642-270OSXSBL"] = {}; option_group_data["642-270OSXSBL"]["available_with"] = new Array(); option_group_data["642-270OSXSBL"]["available_with_compound"] = new Array(); option_group_data["642-270OSXSBL"]["available_with"].push("3"); option_group_data["642B-270OSXSBL"] = {}; option_group_data["642B-270OSXSBL"]["available_with"] = new Array(); option_group_data["642B-270OSXSBL"]["available_with_compound"] = new Array(); option_group_data["642B-270OSXSBL"]["available_with"].push("8"); option_group_data["642B-270OSXSBL"]["available_with"].push("126"); option_group_data["642-270OSXSTL"] = {}; option_group_data["642-270OSXSTL"]["available_with"] = new Array(); option_group_data["642-270OSXSTL"]["available_with_compound"] = new Array(); option_group_data["642-270OSXSTL"]["available_with"].push("3"); option_group_data["642B-270OSXSTL"] = {}; option_group_data["642B-270OSXSTL"]["available_with"] = new Array(); option_group_data["642B-270OSXSTL"]["available_with_compound"] = new Array(); option_group_data["642B-270OSXSTL"]["available_with"].push("8"); option_group_data["642B-270OSXSTL"]["available_with"].push("126"); option_group_data["735-270OSXWHT"] = {}; option_group_data["735-270OSXWHT"]["available_with"] = new Array(); option_group_data["735-270OSXWHT"]["available_with_compound"] = new Array(); option_group_data["735-270OSXWHT"]["available_with"].push("3"); option_group_data["735-270OSXWHT"]["available_with"].push("8"); option_group_data["735-270OSXWHT"]["available_with"].push("126"); option_group_data["735-270OSXBLK"] = {}; option_group_data["735-270OSXBLK"]["available_with"] = new Array(); option_group_data["735-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["735-270OSXBLK"]["available_with"].push("3"); option_group_data["735-270OSXBLK"]["available_with"].push("8"); option_group_data["735-270OSXBLK"]["available_with"].push("126"); option_group_data["557RA-270OSXBLK"] = {}; option_group_data["557RA-270OSXBLK"]["available_with"] = new Array(); option_group_data["557RA-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["557RA-270OSXBLK"]["available_with"].push("3"); option_group_data["557RA-270OSXBLK"]["available_with"].push("8"); option_group_data["557RA-270OSXBLK"]["available_with"].push("126"); option_group_data["557RA-270OSXBLU"] = {}; option_group_data["557RA-270OSXBLU"]["available_with"] = new Array(); option_group_data["557RA-270OSXBLU"]["available_with_compound"] = new Array(); option_group_data["557RA-270OSXBLU"]["available_with"].push("3"); option_group_data["557RA-270OSXBLU"]["available_with"].push("8"); option_group_data["557RA-270OSXBLU"]["available_with"].push("126"); option_group_data["557RA-270OSXSBL"] = {}; option_group_data["557RA-270OSXSBL"]["available_with"] = new Array(); option_group_data["557RA-270OSXSBL"]["available_with_compound"] = new Array(); option_group_data["557RA-270OSXSBL"]["available_with"].push("3"); option_group_data["557RA-270OSXSBL"]["available_with"].push("8"); option_group_data["557RA-270OSXSBL"]["available_with"].push("126"); option_group_data["619RA-270OSX"] = {}; option_group_data["619RA-270OSX"]["available_with"] = new Array(); option_group_data["619RA-270OSX"]["available_with_compound"] = new Array(); option_group_data["619RA-270OSX"]["available_with"].push("3"); option_group_data["619RA-270OSX"]["available_with"].push("8"); option_group_data["619RA-270OSX"]["available_with"].push("126"); option_group_data["619RAST-270OSX"] = {}; option_group_data["619RAST-270OSX"]["available_with"] = new Array(); option_group_data["619RAST-270OSX"]["available_with_compound"] = new Array(); option_group_data["619RAST-270OSX"]["available_with"].push("3"); option_group_data["619RAST-270OSX"]["available_with"].push("8"); option_group_data["619RAST-270OSX"]["available_with"].push("126"); option_group_data["685B-270OSX"] = {}; option_group_data["685B-270OSX"]["part_groups"] = new Array(); option_group_data["685B-270OSX"]["available_with"] = new Array(); option_group_data["685B-270OSX"]["available_with_compound"] = new Array(); option_group_data["685B-270OSX"]["part_groups"].push("126"); option_group_data["685B-270OSX"]["available_with"].push("7"); option_group_data["685M-270OSX"] = {}; option_group_data["685M-270OSX"]["part_groups"] = new Array(); option_group_data["685M-270OSX"]["available_with"] = new Array(); option_group_data["685M-270OSX"]["available_with_compound"] = new Array(); option_group_data["685M-270OSX"]["part_groups"].push("126"); option_group_data["685M-270OSX"]["available_with"].push("2"); option_group_data["685YM-270OSX"] = {}; option_group_data["685YM-270OSX"]["part_groups"] = new Array(); option_group_data["685YM-270OSX"]["available_with"] = new Array(); option_group_data["685YM-270OSX"]["available_with_compound"] = new Array(); option_group_data["685YM-270OSX"]["part_groups"].push("126"); option_group_data["685YM-270OSX"]["available_with"].push("4"); option_group_data["685YD-270OSX"] = {}; option_group_data["685YD-270OSX"]["part_groups"] = new Array(); option_group_data["685YD-270OSX"]["available_with"] = new Array(); option_group_data["685YD-270OSX"]["available_with_compound"] = new Array(); option_group_data["685YD-270OSX"]["part_groups"].push("126"); option_group_data["685YD-270OSX"]["available_with"].push("6"); option_group_data["685YD-270OSX"]["available_with"].push("13"); option_group_data["512C-270OSX"] = {}; option_group_data["512C-270OSX"]["available_with"] = new Array(); option_group_data["512C-270OSX"]["available_with_compound"] = new Array(); option_group_data["512C-270OSX"]["available_with"].push("95"); option_group_data["713W-270OSX"] = {}; option_group_data["713W-270OSX"]["available_with"] = new Array(); option_group_data["713W-270OSX"]["available_with_compound"] = new Array(); option_group_data["713W-270OSX"]["available_with"].push("3"); option_group_data["713B-270OSX"] = {}; option_group_data["713B-270OSX"]["available_with"] = new Array(); option_group_data["713B-270OSX"]["available_with_compound"] = new Array(); option_group_data["713B-270OSX"]["available_with"].push("8"); option_group_data["713B-270OSX"]["available_with"].push("126"); option_group_data["560CT-270OSXBLK"] = {}; option_group_data["560CT-270OSXBLK"]["available_with"] = new Array(); option_group_data["560CT-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["560CT-270OSXBLK"]["available_with"].push("21"); option_group_data["560CT-270OSXCYN"] = {}; option_group_data["560CT-270OSXCYN"]["available_with"] = new Array(); option_group_data["560CT-270OSXCYN"]["available_with_compound"] = new Array(); option_group_data["560CT-270OSXCYN"]["available_with"].push("27"); option_group_data["560CT-270OSXSLT"] = {}; option_group_data["560CT-270OSXSLT"]["available_with"] = new Array(); option_group_data["560CT-270OSXSLT"]["available_with_compound"] = new Array(); option_group_data["560CT-270OSXSLT"]["available_with"].push("20"); option_group_data["560CT-270OSXBLU"] = {}; option_group_data["560CT-270OSXBLU"]["available_with"] = new Array(); option_group_data["560CT-270OSXBLU"]["available_with_compound"] = new Array(); option_group_data["560CT-270OSXBLU"]["available_with"].push("22"); option_group_data["560CT-270OSXDNE"] = {}; option_group_data["560CT-270OSXDNE"]["available_with"] = new Array(); option_group_data["560CT-270OSXDNE"]["available_with_compound"] = new Array(); option_group_data["560CT-270OSXDNE"]["available_with"].push("30"); option_group_data["560CT-270OSXSBL"] = {}; option_group_data["560CT-270OSXSBL"]["available_with"] = new Array(); option_group_data["560CT-270OSXSBL"]["available_with_compound"] = new Array(); option_group_data["560CT-270OSXSBL"]["available_with"].push("23"); option_group_data["560NCT-270OSXBLU"] = {}; option_group_data["560NCT-270OSXBLU"]["available_with"] = new Array(); option_group_data["560NCT-270OSXBLU"]["available_with_compound"] = new Array(); option_group_data["560NCT-270OSXBLU"]["available_with"].push("22"); option_group_data["560NCT-270OSXDNE"] = {}; option_group_data["560NCT-270OSXDNE"]["available_with"] = new Array(); option_group_data["560NCT-270OSXDNE"]["available_with_compound"] = new Array(); option_group_data["560NCT-270OSXDNE"]["available_with"].push("30"); option_group_data["560NCT-270OSXBLK"] = {}; option_group_data["560NCT-270OSXBLK"]["available_with"] = new Array(); option_group_data["560NCT-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["560NCT-270OSXBLK"]["available_with"].push("21"); option_group_data["560NCT-270OSXSLT"] = {}; option_group_data["560NCT-270OSXSLT"]["available_with"] = new Array(); option_group_data["560NCT-270OSXSLT"]["available_with_compound"] = new Array(); option_group_data["560NCT-270OSXSLT"]["available_with"].push("20"); option_group_data["560NCT-270OSXCYN"] = {}; option_group_data["560NCT-270OSXCYN"]["available_with"] = new Array(); option_group_data["560NCT-270OSXCYN"]["available_with_compound"] = new Array(); option_group_data["560NCT-270OSXCYN"]["available_with"].push("27"); option_group_data["560NCT-270OSXSBL"] = {}; option_group_data["560NCT-270OSXSBL"]["available_with"] = new Array(); option_group_data["560NCT-270OSXSBL"]["available_with_compound"] = new Array(); option_group_data["560NCT-270OSXSBL"]["available_with"].push("23"); option_group_data["592D-270OSX"] = {}; option_group_data["592D-270OSX"]["available_with"] = new Array(); option_group_data["592D-270OSX"]["available_with_compound"] = new Array(); option_group_data["592D-270OSX"]["available_with"].push("30"); option_group_data["592STD-270OSX"] = {}; option_group_data["592STD-270OSX"]["available_with"] = new Array(); option_group_data["592STD-270OSX"]["available_with_compound"] = new Array(); option_group_data["592STD-270OSX"]["available_with"].push("30"); option_group_data["592STS-270OSX"] = {}; option_group_data["592STS-270OSX"]["available_with"] = new Array(); option_group_data["592STS-270OSX"]["available_with_compound"] = new Array(); option_group_data["592STS-270OSX"]["available_with"].push("20"); option_group_data["592STS-270OSX"]["available_with"].push("21"); option_group_data["592STS-270OSX"]["available_with"].push("22"); option_group_data["592STS-270OSX"]["available_with"].push("23"); option_group_data["592S-270OSX"] = {}; option_group_data["592S-270OSX"]["available_with"] = new Array(); option_group_data["592S-270OSX"]["available_with_compound"] = new Array(); option_group_data["592S-270OSX"]["available_with"].push("20"); option_group_data["592S-270OSX"]["available_with"].push("21"); option_group_data["592S-270OSX"]["available_with"].push("22"); option_group_data["592S-270OSX"]["available_with"].push("23"); option_group_data["592STC-270OSX"] = {}; option_group_data["592STC-270OSX"]["available_with"] = new Array(); option_group_data["592STC-270OSX"]["available_with_compound"] = new Array(); option_group_data["592STC-270OSX"]["available_with"].push("27"); option_group_data["592C-270OSX"] = {}; option_group_data["592C-270OSX"]["available_with"] = new Array(); option_group_data["592C-270OSX"]["available_with_compound"] = new Array(); option_group_data["592C-270OSX"]["available_with"].push("27"); option_group_data["704C-270OSX"] = {}; option_group_data["704C-270OSX"]["available_with"] = new Array(); option_group_data["704C-270OSX"]["available_with_compound"] = new Array(); option_group_data["704C-270OSX"]["available_with"].push("27"); option_group_data["796BE-270OSX"] = {}; option_group_data["796BE-270OSX"]["available_with"] = new Array(); option_group_data["796BE-270OSX"]["available_with_compound"] = new Array(); option_group_data["796BE-270OSX"]["available_with"].push("126"); option_group_data["688BG-270OSX"] = {}; option_group_data["688BG-270OSX"]["part_groups"] = new Array(); option_group_data["688BG-270OSX"]["part_groups"].push("60"); option_group_data["688BA-270OSX"] = {}; option_group_data["688BA-270OSX"]["part_groups"] = new Array(); option_group_data["688BA-270OSX"]["part_groups"].push("61"); option_group_data["688AG-270OSX"] = {}; option_group_data["688AG-270OSX"]["part_groups"] = new Array(); option_group_data["688AG-270OSX"]["part_groups"].push("62"); option_group_data["688BE-270OSX"] = {}; option_group_data["688BE-270OSX"]["part_groups"] = new Array(); option_group_data["688BE-270OSX"]["available_with"] = new Array(); option_group_data["688BE-270OSX"]["available_with_compound"] = new Array(); option_group_data["688BE-270OSX"]["part_groups"].push("57"); option_group_data["688BE-270OSX"]["available_with"].push("126"); option_group_data["688AA-270OSX"] = {}; option_group_data["688AA-270OSX"]["part_groups"] = new Array(); option_group_data["688AA-270OSX"]["part_groups"].push("63"); option_group_data["686-270OSXBLK"] = {}; option_group_data["686-270OSXBLK"]["available_with"] = new Array(); option_group_data["686-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["686-270OSXBLK"]["available_with"].push("60"); option_group_data["686-270OSXALM"] = {}; option_group_data["686-270OSXALM"]["available_with"] = new Array(); option_group_data["686-270OSXALM"]["available_with_compound"] = new Array(); option_group_data["686-270OSXALM"]["available_with"].push("62"); option_group_data["687BE-270OSX"] = {}; option_group_data["687BE-270OSX"]["available_with"] = new Array(); option_group_data["687BE-270OSX"]["available_with_compound"] = new Array(); option_group_data["687BE-270OSX"]["available_with"].push("57"); option_group_data["687-270OSXBLK"] = {}; option_group_data["687-270OSXBLK"]["available_with"] = new Array(); option_group_data["687-270OSXBLK"]["available_with_compound"] = new Array(); option_group_data["687-270OSXBLK"]["available_with"].push("61"); option_group_data["687-270OSXALM"] = {}; option_group_data["687-270OSXALM"]["available_with"] = new Array(); option_group_data["687-270OSXALM"]["available_with_compound"] = new Array(); option_group_data["687-270OSXALM"]["available_with"].push("63"); }); // 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() });