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

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

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

"); jQuery("[id^=note-551]").html("
(Included in 685-250OSX - 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-685-250OSX").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-685-250OSX-551").remove(); } }); // end click listener jQuery("#input-685-250OSX").change(function(){ if(jQuery("#input-685-250OSX").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-767B]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685-250OSX - Black Edition Package)

"); jQuery("[id^=note-767B]").html("
(Included in 685-250OSX - Black Edition Package)
"); jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685-250OSX").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-767B]").prop("disabled",false); } // enables the includes jQuery("[id^=input-767B]").prop("disabled",false); jQuery("[id^=input-767B]").prop("included_option", false); //if(!jQuery("#input-767B").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-767B").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-767B").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685-250OSX-767B").remove(); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-910-250OSXBLK").change(function(){ if(jQuery("#input-910-250OSXBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-250OSXBLK]"); //alert(jQuery("[id^=input-950-250OSXBLK]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-250OSXBLK]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-250OSXBLK]").prop("checked")) { jQuery("[id^=input-950-250OSXBLK]").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-250OSXBLK-910-250OSXBLK]").length === 0) { jQuery("[id^=note-950-250OSXBLK]").append("
(N/A with 910-250OSXBLK - Painted Metallic Hull Stripe - Black)
"); } jQuery("[id^=input-950-250OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-250OSXBLK]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-250OSXBLK-910-250OSXBLK]").remove(); jQuery("[id^=input-950-250OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-250OSXBLK]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-250OSXBLK"); //alert(jQuery("[id^=input-910-250OSXBLK]").attr("title")); //alert(jQuery("[id^=input-910-250OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-250OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-910-250OSXBLK").prop("checked")) { jQuery("#input-910-250OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-910-250OSXBLK"); //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-250OSXBLK-950-250OSXBLK]").length === 0) { jQuery("#note-910-250OSXBLK").append("
(N/A with 950-250OSXBLK )
"); } jQuery("[id^=input-910-250OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-250OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-250OSXBLK-950-250OSXBLK]").remove(); jQuery("[id^=input-910-250OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-250OSXBLU").change(function(){ if(jQuery("#input-910-250OSXBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-250OSXBLU]"); //alert(jQuery("[id^=input-950-250OSXBLU]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-250OSXBLU]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-250OSXBLU]").prop("checked")) { jQuery("[id^=input-950-250OSXBLU]").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-250OSXBLU-910-250OSXBLU]").length === 0) { jQuery("[id^=note-950-250OSXBLU]").append("
(N/A with 910-250OSXBLU - Painted Metallic Hull Stripe - Blue)
"); } jQuery("[id^=input-950-250OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-250OSXBLU]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-250OSXBLU-910-250OSXBLU]").remove(); jQuery("[id^=input-950-250OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-250OSXBLU]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-250OSXBLU"); //alert(jQuery("[id^=input-910-250OSXBLU]").attr("title")); //alert(jQuery("[id^=input-910-250OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-250OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-910-250OSXBLU").prop("checked")) { jQuery("#input-910-250OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-910-250OSXBLU"); //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-250OSXBLU-950-250OSXBLU]").length === 0) { jQuery("#note-910-250OSXBLU").append("
(N/A with 950-250OSXBLU )
"); } jQuery("[id^=input-910-250OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-250OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-250OSXBLU-950-250OSXBLU]").remove(); jQuery("[id^=input-910-250OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-250OSXWHT").change(function(){ if(jQuery("#input-910-250OSXWHT").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-250OSXWHT]"); //alert(jQuery("[id^=input-950-250OSXWHT]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-250OSXWHT]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-250OSXWHT]").prop("checked")) { jQuery("[id^=input-950-250OSXWHT]").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-250OSXWHT-910-250OSXWHT]").length === 0) { jQuery("[id^=note-950-250OSXWHT]").append("
(N/A with 910-250OSXWHT - Painted Metallic Hull Stripe - White)
"); } jQuery("[id^=input-950-250OSXWHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-250OSXWHT]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-250OSXWHT-910-250OSXWHT]").remove(); jQuery("[id^=input-950-250OSXWHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-250OSXWHT]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-250OSXWHT"); //alert(jQuery("[id^=input-910-250OSXWHT]").attr("title")); //alert(jQuery("[id^=input-910-250OSXWHT]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-250OSXWHT").prop("disabled", true); // determine if checked if(jQuery("#input-910-250OSXWHT").prop("checked")) { jQuery("#input-910-250OSXWHT").removeAttr("checked").change(); } //console.log("if of reverse input-910-250OSXWHT"); //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-250OSXWHT-950-250OSXWHT]").length === 0) { jQuery("#note-910-250OSXWHT").append("
(N/A with 950-250OSXWHT )
"); } jQuery("[id^=input-910-250OSXWHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-250OSXWHT").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-250OSXWHT-950-250OSXWHT]").remove(); jQuery("[id^=input-910-250OSXWHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-590-250OSXBLU").change(function(){ if(jQuery("#input-590-250OSXBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-979-590-250OSXBLU]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 590-250OSXBLU - Standard Canvas - Biscayne Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-590-250OSXBLU]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-590-250OSXBLU"); //alert(jQuery("[id^=input-590-250OSXBLU]").attr("title")); //alert(jQuery("[id^=input-590-250OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-590-250OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-590-250OSXBLU").prop("checked")) { jQuery("#input-590-250OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-590-250OSXBLU"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-590-250OSXBLU-979]").length === 0) { jQuery("#note-590-250OSXBLU").append("
(N/A with 979 )
"); } jQuery("[id^=input-590-250OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-590-250OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-590-250OSXBLU-979]").remove(); jQuery("[id^=input-590-250OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-590-250OSXSBL").change(function(){ if(jQuery("#input-590-250OSXSBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-979]"); //alert(jQuery("[id^=input-979]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-979]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-979]").prop("checked")) { jQuery("[id^=input-979]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-979-590-250OSXSBL]").length === 0) { jQuery("[id^=note-979]").append("
(N/A with 590-250OSXSBL - Standard Canvas - Steel Blue)
"); } jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-979]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-979-590-250OSXSBL]").remove(); jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-979]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-590-250OSXSBL"); //alert(jQuery("[id^=input-590-250OSXSBL]").attr("title")); //alert(jQuery("[id^=input-590-250OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-590-250OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-590-250OSXSBL").prop("checked")) { jQuery("#input-590-250OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-590-250OSXSBL"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-590-250OSXSBL-979]").length === 0) { jQuery("#note-590-250OSXSBL").append("
(N/A with 979 )
"); } jQuery("[id^=input-590-250OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-590-250OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-590-250OSXSBL-979]").remove(); jQuery("[id^=input-590-250OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-250OSXBLK").change(function(){ if(jQuery("#input-557-250OSXBLK").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-250OSXBLK]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 557-250OSXBLK - 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-250OSXBLK]").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-250OSXBLK"); //alert(jQuery("[id^=input-557-250OSXBLK]").attr("title")); //alert(jQuery("[id^=input-557-250OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-250OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-557-250OSXBLK").prop("checked")) { jQuery("#input-557-250OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-557-250OSXBLK"); //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-250OSXBLK-685]").length === 0) { jQuery("#note-557-250OSXBLK").append("
(N/A with 685 )
"); } jQuery("[id^=input-557-250OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-250OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-250OSXBLK-685]").remove(); jQuery("[id^=input-557-250OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-250OSXBLK").change(function(){ if(jQuery("#input-557-250OSXBLK").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-250OSXBLK]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 557-250OSXBLK - 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-250OSXBLK]").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-250OSXBLK"); //alert(jQuery("[id^=input-557-250OSXBLK]").attr("title")); //alert(jQuery("[id^=input-557-250OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-250OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-557-250OSXBLK").prop("checked")) { jQuery("#input-557-250OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-557-250OSXBLK"); //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-250OSXBLK-767]").length === 0) { jQuery("#note-557-250OSXBLK").append("
(N/A with 767 )
"); } jQuery("[id^=input-557-250OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-250OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-250OSXBLK-767]").remove(); jQuery("[id^=input-557-250OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-250OSXBLU").change(function(){ if(jQuery("#input-557-250OSXBLU").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-250OSXBLU]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 557-250OSXBLU - 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-250OSXBLU]").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-250OSXBLU"); //alert(jQuery("[id^=input-557-250OSXBLU]").attr("title")); //alert(jQuery("[id^=input-557-250OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-250OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-557-250OSXBLU").prop("checked")) { jQuery("#input-557-250OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-557-250OSXBLU"); //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-250OSXBLU-685]").length === 0) { jQuery("#note-557-250OSXBLU").append("
(N/A with 685 )
"); } jQuery("[id^=input-557-250OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-250OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-250OSXBLU-685]").remove(); jQuery("[id^=input-557-250OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-250OSXBLU").change(function(){ if(jQuery("#input-557-250OSXBLU").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-250OSXBLU]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 557-250OSXBLU - 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-250OSXBLU]").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-250OSXBLU"); //alert(jQuery("[id^=input-557-250OSXBLU]").attr("title")); //alert(jQuery("[id^=input-557-250OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-250OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-557-250OSXBLU").prop("checked")) { jQuery("#input-557-250OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-557-250OSXBLU"); //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-250OSXBLU-767]").length === 0) { jQuery("#note-557-250OSXBLU").append("
(N/A with 767 )
"); } jQuery("[id^=input-557-250OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-250OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-250OSXBLU-767]").remove(); jQuery("[id^=input-557-250OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-250OSXSBL").change(function(){ if(jQuery("#input-557-250OSXSBL").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-250OSXSBL]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 557-250OSXSBL - 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-250OSXSBL]").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-250OSXSBL"); //alert(jQuery("[id^=input-557-250OSXSBL]").attr("title")); //alert(jQuery("[id^=input-557-250OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-250OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-557-250OSXSBL").prop("checked")) { jQuery("#input-557-250OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-557-250OSXSBL"); //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-250OSXSBL-685]").length === 0) { jQuery("#note-557-250OSXSBL").append("
(N/A with 685 )
"); } jQuery("[id^=input-557-250OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-250OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-250OSXSBL-685]").remove(); jQuery("[id^=input-557-250OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-557-250OSXSBL").change(function(){ if(jQuery("#input-557-250OSXSBL").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-250OSXSBL]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 557-250OSXSBL - 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-250OSXSBL]").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-250OSXSBL"); //alert(jQuery("[id^=input-557-250OSXSBL]").attr("title")); //alert(jQuery("[id^=input-557-250OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-557-250OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-557-250OSXSBL").prop("checked")) { jQuery("#input-557-250OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-557-250OSXSBL"); //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-250OSXSBL-767]").length === 0) { jQuery("#note-557-250OSXSBL").append("
(N/A with 767 )
"); } jQuery("[id^=input-557-250OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-557-250OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-557-250OSXSBL-767]").remove(); jQuery("[id^=input-557-250OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NRA-250OSX").change(function(){ if(jQuery("#input-619NRA-250OSX").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-619NRA-250OSX]").length === 0) { jQuery("[id^=note-767]").append("
(N/A with 619NRA-250OSX - 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-619NRA-250OSX]").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-619NRA-250OSX"); //alert(jQuery("[id^=input-619NRA-250OSX]").attr("title")); //alert(jQuery("[id^=input-619NRA-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NRA-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-619NRA-250OSX").prop("checked")) { jQuery("#input-619NRA-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-619NRA-250OSX"); //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-619NRA-250OSX-767]").length === 0) { jQuery("#note-619NRA-250OSX").append("
(N/A with 767 )
"); } jQuery("[id^=input-619NRA-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NRA-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NRA-250OSX-767]").remove(); jQuery("[id^=input-619NRA-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NRA-250OSX").change(function(){ if(jQuery("#input-619NRA-250OSX").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-619NRA-250OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 619NRA-250OSX - 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-619NRA-250OSX]").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-619NRA-250OSX"); //alert(jQuery("[id^=input-619NRA-250OSX]").attr("title")); //alert(jQuery("[id^=input-619NRA-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NRA-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-619NRA-250OSX").prop("checked")) { jQuery("#input-619NRA-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-619NRA-250OSX"); //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-619NRA-250OSX-760]").length === 0) { jQuery("#note-619NRA-250OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-619NRA-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NRA-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NRA-250OSX-760]").remove(); jQuery("[id^=input-619NRA-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619RA-250OSX").change(function(){ if(jQuery("#input-619RA-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 619RA-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-619RA-250OSX]").attr("title")); //alert(jQuery("[id^=input-619RA-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619RA-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-619RA-250OSX").prop("checked")) { jQuery("#input-619RA-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-619RA-250OSX"); //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-250OSX-760]").length === 0) { jQuery("#note-619RA-250OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-619RA-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619RA-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619RA-250OSX-760]").remove(); jQuery("[id^=input-619RA-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685-250OSX").change(function(){ if(jQuery("#input-685-250OSX").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-685-250OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685-250OSX - 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-685-250OSX]").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-685-250OSX"); //alert(jQuery("[id^=input-685-250OSX]").attr("title")); //alert(jQuery("[id^=input-685-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685-250OSX").prop("checked")) { jQuery("#input-685-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685-250OSX"); //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-685-250OSX-950]").length === 0) { jQuery("#note-685-250OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-250OSX-950]").remove(); jQuery("[id^=input-685-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685-250OSX").change(function(){ if(jQuery("#input-685-250OSX").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-685-250OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685-250OSX - 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-685-250OSX]").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-685-250OSX"); //alert(jQuery("[id^=input-685-250OSX]").attr("title")); //alert(jQuery("[id^=input-685-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685-250OSX").prop("checked")) { jQuery("#input-685-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685-250OSX"); //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-685-250OSX-951]").length === 0) { jQuery("#note-685-250OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-250OSX-951]").remove(); jQuery("[id^=input-685-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-512-250OSX").change(function(){ if(jQuery("#input-512-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-638]").append("
(N/A with 512-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-512-250OSX]").attr("title")); //alert(jQuery("[id^=input-512-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-512-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-512-250OSX").prop("checked")) { jQuery("#input-512-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-512-250OSX"); //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-250OSX-638]").length === 0) { jQuery("#note-512-250OSX").append("
(N/A with 638 )
"); } jQuery("[id^=input-512-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-512-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-512-250OSX-638]").remove(); jQuery("[id^=input-512-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-250OSXDNE").change(function(){ if(jQuery("#input-560NCT-250OSXDNE").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-250OSXDNE]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-250OSXDNE - 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-250OSXDNE]").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-250OSXDNE"); //alert(jQuery("[id^=input-560NCT-250OSXDNE]").attr("title")); //alert(jQuery("[id^=input-560NCT-250OSXDNE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-250OSXDNE").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-250OSXDNE").prop("checked")) { jQuery("#input-560NCT-250OSXDNE").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-250OSXDNE"); //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-250OSXDNE-650]").length === 0) { jQuery("#note-560NCT-250OSXDNE").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-250OSXDNE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-250OSXDNE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-250OSXDNE-650]").remove(); jQuery("[id^=input-560NCT-250OSXDNE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-250OSXSBL").change(function(){ if(jQuery("#input-560NCT-250OSXSBL").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-250OSXSBL]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-250OSXSBL - 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-250OSXSBL]").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-250OSXSBL"); //alert(jQuery("[id^=input-560NCT-250OSXSBL]").attr("title")); //alert(jQuery("[id^=input-560NCT-250OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-250OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-250OSXSBL").prop("checked")) { jQuery("#input-560NCT-250OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-250OSXSBL"); //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-250OSXSBL-650]").length === 0) { jQuery("#note-560NCT-250OSXSBL").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-250OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-250OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-250OSXSBL-650]").remove(); jQuery("[id^=input-560NCT-250OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-250OSXBLU").change(function(){ if(jQuery("#input-560NCT-250OSXBLU").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-250OSXBLU]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-250OSXBLU - 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-250OSXBLU]").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-250OSXBLU"); //alert(jQuery("[id^=input-560NCT-250OSXBLU]").attr("title")); //alert(jQuery("[id^=input-560NCT-250OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-250OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-250OSXBLU").prop("checked")) { jQuery("#input-560NCT-250OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-250OSXBLU"); //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-250OSXBLU-650]").length === 0) { jQuery("#note-560NCT-250OSXBLU").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-250OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-250OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-250OSXBLU-650]").remove(); jQuery("[id^=input-560NCT-250OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-250OSXSLT").change(function(){ if(jQuery("#input-560NCT-250OSXSLT").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-250OSXSLT]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-250OSXSLT - 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-250OSXSLT]").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-250OSXSLT"); //alert(jQuery("[id^=input-560NCT-250OSXSLT]").attr("title")); //alert(jQuery("[id^=input-560NCT-250OSXSLT]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-250OSXSLT").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-250OSXSLT").prop("checked")) { jQuery("#input-560NCT-250OSXSLT").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-250OSXSLT"); //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-250OSXSLT-650]").length === 0) { jQuery("#note-560NCT-250OSXSLT").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-250OSXSLT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-250OSXSLT").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-250OSXSLT-650]").remove(); jQuery("[id^=input-560NCT-250OSXSLT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-250OSXBLK").change(function(){ if(jQuery("#input-560NCT-250OSXBLK").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-250OSXBLK]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-250OSXBLK - 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-250OSXBLK]").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-250OSXBLK"); //alert(jQuery("[id^=input-560NCT-250OSXBLK]").attr("title")); //alert(jQuery("[id^=input-560NCT-250OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-250OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-250OSXBLK").prop("checked")) { jQuery("#input-560NCT-250OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-250OSXBLK"); //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-250OSXBLK-650]").length === 0) { jQuery("#note-560NCT-250OSXBLK").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-250OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-250OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-250OSXBLK-650]").remove(); jQuery("[id^=input-560NCT-250OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-560NCT-250OSXCYN").change(function(){ if(jQuery("#input-560NCT-250OSXCYN").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-250OSXCYN]").length === 0) { jQuery("[id^=note-650]").append("
(N/A with 560NCT-250OSXCYN - 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-250OSXCYN]").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-250OSXCYN"); //alert(jQuery("[id^=input-560NCT-250OSXCYN]").attr("title")); //alert(jQuery("[id^=input-560NCT-250OSXCYN]").is(":checked")); // disable the includes and unchecks it jQuery("#input-560NCT-250OSXCYN").prop("disabled", true); // determine if checked if(jQuery("#input-560NCT-250OSXCYN").prop("checked")) { jQuery("#input-560NCT-250OSXCYN").removeAttr("checked").change(); } //console.log("if of reverse input-560NCT-250OSXCYN"); //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-250OSXCYN-650]").length === 0) { jQuery("#note-560NCT-250OSXCYN").append("
(N/A with 650 )
"); } jQuery("[id^=input-560NCT-250OSXCYN]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-560NCT-250OSXCYN").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-560NCT-250OSXCYN-650]").remove(); jQuery("[id^=input-560NCT-250OSXCYN]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-592S-250OSX").change(function(){ if(jQuery("#input-592S-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 592S-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-592S-250OSX]").attr("title")); //alert(jQuery("[id^=input-592S-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-592S-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-592S-250OSX").prop("checked")) { jQuery("#input-592S-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-592S-250OSX"); //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-250OSX-760]").length === 0) { jQuery("#note-592S-250OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-592S-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-592S-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592S-250OSX-760]").remove(); jQuery("[id^=input-592S-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-592D-250OSX").change(function(){ if(jQuery("#input-592D-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 592D-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-592D-250OSX]").attr("title")); //alert(jQuery("[id^=input-592D-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-592D-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-592D-250OSX").prop("checked")) { jQuery("#input-592D-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-592D-250OSX"); //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-250OSX-760]").length === 0) { jQuery("#note-592D-250OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-592D-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-592D-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592D-250OSX-760]").remove(); jQuery("[id^=input-592D-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-592C-250OSX").change(function(){ if(jQuery("#input-592C-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 592C-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-592C-250OSX]").attr("title")); //alert(jQuery("[id^=input-592C-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-592C-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-592C-250OSX").prop("checked")) { jQuery("#input-592C-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-592C-250OSX"); //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-250OSX-760]").length === 0) { jQuery("#note-592C-250OSX").append("
(N/A with 760 )
"); } jQuery("[id^=input-592C-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-592C-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-592C-250OSX-760]").remove(); jQuery("[id^=input-592C-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-250OSX").change(function(){ if(jQuery("#input-704S-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592D-]").append("
(N/A with 704S-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704S-250OSX]").attr("title")); //alert(jQuery("[id^=input-704S-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-250OSX").prop("checked")) { jQuery("#input-704S-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-250OSX"); //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-250OSX-592D-]").length === 0) { jQuery("#note-704S-250OSX").append("
(N/A with 592D- )
"); } jQuery("[id^=input-704S-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-250OSX-592D-]").remove(); jQuery("[id^=input-704S-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-250OSX").change(function(){ if(jQuery("#input-704S-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592STD-]").append("
(N/A with 704S-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704S-250OSX]").attr("title")); //alert(jQuery("[id^=input-704S-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-250OSX").prop("checked")) { jQuery("#input-704S-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-250OSX"); //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-250OSX-592STD-]").length === 0) { jQuery("#note-704S-250OSX").append("
(N/A with 592STD- )
"); } jQuery("[id^=input-704S-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-250OSX-592STD-]").remove(); jQuery("[id^=input-704S-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-250OSX").change(function(){ if(jQuery("#input-704S-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592C-]").append("
(N/A with 704S-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704S-250OSX]").attr("title")); //alert(jQuery("[id^=input-704S-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-250OSX").prop("checked")) { jQuery("#input-704S-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-250OSX"); //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-250OSX-592C-]").length === 0) { jQuery("#note-704S-250OSX").append("
(N/A with 592C- )
"); } jQuery("[id^=input-704S-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-250OSX-592C-]").remove(); jQuery("[id^=input-704S-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-250OSX").change(function(){ if(jQuery("#input-704S-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592STC-]").append("
(N/A with 704S-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704S-250OSX]").attr("title")); //alert(jQuery("[id^=input-704S-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-250OSX").prop("checked")) { jQuery("#input-704S-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-250OSX"); //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-250OSX-592STC-]").length === 0) { jQuery("#note-704S-250OSX").append("
(N/A with 592STC- )
"); } jQuery("[id^=input-704S-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-250OSX-592STC-]").remove(); jQuery("[id^=input-704S-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-250OSX").change(function(){ if(jQuery("#input-704D-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592S-]").append("
(N/A with 704D-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704D-250OSX]").attr("title")); //alert(jQuery("[id^=input-704D-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-250OSX").prop("checked")) { jQuery("#input-704D-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-250OSX"); //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-250OSX-592S-]").length === 0) { jQuery("#note-704D-250OSX").append("
(N/A with 592S- )
"); } jQuery("[id^=input-704D-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-250OSX-592S-]").remove(); jQuery("[id^=input-704D-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-250OSX").change(function(){ if(jQuery("#input-704D-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592STS-]").append("
(N/A with 704D-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704D-250OSX]").attr("title")); //alert(jQuery("[id^=input-704D-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-250OSX").prop("checked")) { jQuery("#input-704D-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-250OSX"); //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-250OSX-592STS-]").length === 0) { jQuery("#note-704D-250OSX").append("
(N/A with 592STS- )
"); } jQuery("[id^=input-704D-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-250OSX-592STS-]").remove(); jQuery("[id^=input-704D-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-250OSX").change(function(){ if(jQuery("#input-704D-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592C-]").append("
(N/A with 704D-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704D-250OSX]").attr("title")); //alert(jQuery("[id^=input-704D-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-250OSX").prop("checked")) { jQuery("#input-704D-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-250OSX"); //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-250OSX-592C-]").length === 0) { jQuery("#note-704D-250OSX").append("
(N/A with 592C- )
"); } jQuery("[id^=input-704D-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-250OSX-592C-]").remove(); jQuery("[id^=input-704D-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704D-250OSX").change(function(){ if(jQuery("#input-704D-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592STC-]").append("
(N/A with 704D-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704D-250OSX]").attr("title")); //alert(jQuery("[id^=input-704D-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704D-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704D-250OSX").prop("checked")) { jQuery("#input-704D-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704D-250OSX"); //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-250OSX-592STC-]").length === 0) { jQuery("#note-704D-250OSX").append("
(N/A with 592STC- )
"); } jQuery("[id^=input-704D-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704D-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704D-250OSX-592STC-]").remove(); jQuery("[id^=input-704D-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-250OSX").change(function(){ if(jQuery("#input-704C-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592D-]").append("
(N/A with 704C-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704C-250OSX]").attr("title")); //alert(jQuery("[id^=input-704C-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-250OSX").prop("checked")) { jQuery("#input-704C-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-250OSX"); //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-250OSX-592D-]").length === 0) { jQuery("#note-704C-250OSX").append("
(N/A with 592D- )
"); } jQuery("[id^=input-704C-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-250OSX-592D-]").remove(); jQuery("[id^=input-704C-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-250OSX").change(function(){ if(jQuery("#input-704C-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592STD-]").append("
(N/A with 704C-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704C-250OSX]").attr("title")); //alert(jQuery("[id^=input-704C-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-250OSX").prop("checked")) { jQuery("#input-704C-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-250OSX"); //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-250OSX-592STD-]").length === 0) { jQuery("#note-704C-250OSX").append("
(N/A with 592STD- )
"); } jQuery("[id^=input-704C-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-250OSX-592STD-]").remove(); jQuery("[id^=input-704C-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-250OSX").change(function(){ if(jQuery("#input-704C-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592S-]").append("
(N/A with 704C-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704C-250OSX]").attr("title")); //alert(jQuery("[id^=input-704C-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-250OSX").prop("checked")) { jQuery("#input-704C-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-250OSX"); //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-250OSX-592S-]").length === 0) { jQuery("#note-704C-250OSX").append("
(N/A with 592S- )
"); } jQuery("[id^=input-704C-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-250OSX-592S-]").remove(); jQuery("[id^=input-704C-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-250OSX").change(function(){ if(jQuery("#input-704C-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-592STS-]").append("
(N/A with 704C-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-704C-250OSX]").attr("title")); //alert(jQuery("[id^=input-704C-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-250OSX").prop("checked")) { jQuery("#input-704C-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-250OSX"); //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-250OSX-592STS-]").length === 0) { jQuery("#note-704C-250OSX").append("
(N/A with 592STS- )
"); } jQuery("[id^=input-704C-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-250OSX-592STS-]").remove(); jQuery("[id^=input-704C-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-796DB-250OSX").change(function(){ if(jQuery("#input-796DB-250OSX").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-250OSX]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 796DB-250OSX - 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-250OSX]").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-250OSX"); //alert(jQuery("[id^=input-796DB-250OSX]").attr("title")); //alert(jQuery("[id^=input-796DB-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-796DB-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-796DB-250OSX").prop("checked")) { jQuery("#input-796DB-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-796DB-250OSX"); //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-250OSX-685]").length === 0) { jQuery("#note-796DB-250OSX").append("
(N/A with 685 )
"); } jQuery("[id^=input-796DB-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-796DB-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-796DB-250OSX-685]").remove(); jQuery("[id^=input-796DB-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-579-250OSX").change(function(){ if(jQuery("#input-579-250OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-800]"); //alert(jQuery("[id^=input-800]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-800]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-800]").prop("checked")) { jQuery("[id^=input-800]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-800-579-250OSX]").length === 0) { jQuery("[id^=note-800]").append("
(N/A with 579-250OSX - Dual Battery Charger)
"); } jQuery("[id^=input-800]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-800]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-800-579-250OSX]").remove(); jQuery("[id^=input-800]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-800]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-579-250OSX"); //alert(jQuery("[id^=input-579-250OSX]").attr("title")); //alert(jQuery("[id^=input-579-250OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-579-250OSX").prop("disabled", true); // determine if checked if(jQuery("#input-579-250OSX").prop("checked")) { jQuery("#input-579-250OSX").removeAttr("checked").change(); } //console.log("if of reverse input-579-250OSX"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-579-250OSX-800]").length === 0) { jQuery("#note-579-250OSX").append("
(N/A with 800 )
"); } jQuery("[id^=input-579-250OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-579-250OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-579-250OSX-800]").remove(); jQuery("[id^=input-579-250OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-979-250OSXBE").change(function(){ if(jQuery("#input-979-250OSXBE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-250OSXBE]").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-250OSXBE]").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-250OSXBE-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-250OSXBE]").hide(); jQuery("[id^=note-single-required-by-979-250OSXBE]").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-250OSXBE]").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-250OSXBE").change(function(){ if(jQuery("#input-979-250OSXBE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-250OSXBE]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-685-979-250OSXBE]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685]").prop("type") != "radio") if(jQuery("[id^=input-685]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685]").prop("disabled", true); } else if(jQuery("[id^=input-685]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685]").prop("disabled", false); } if(!jQuery("[id^=input-685]").prop("checked")){ jQuery("[id^=input-685]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-685]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685]").append("
(Required By: 979-250OSXBE-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-250OSXBE]").hide(); jQuery("[id^=note-single-required-by-979-250OSXBE]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-979-250OSXBE]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-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-250OSX").change(function(){ if(jQuery("#input-535-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-250OSX]").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-250OSX]").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-250OSX-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-250OSX]").hide(); jQuery("[id^=note-single-required-by-535-250OSX]").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-250OSX]").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-250OSX").change(function(){ if(jQuery("#input-535-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-250OSX]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-685-535-250OSX]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685]").prop("type") != "radio") if(jQuery("[id^=input-685]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685]").prop("disabled", true); } else if(jQuery("[id^=input-685]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685]").prop("disabled", false); } if(!jQuery("[id^=input-685]").prop("checked")){ jQuery("[id^=input-685]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-685]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685]").append("
(Required By: 535-250OSX-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-250OSX]").hide(); jQuery("[id^=note-single-required-by-535-250OSX]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-535-250OSX]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-250OSXCYNBLU").change(function(){ if(jQuery("#input-767W-250OSXCYNBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXCYNBLU]").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-638-767W-250OSXCYNBLU]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-638]").prop("type") != "radio") if(jQuery("[id^=input-638]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-638]").prop("disabled", true); } else if(jQuery("[id^=input-638]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-638]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-638]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-638]").prop("disabled", false); } if(!jQuery("[id^=input-638]").prop("checked")){ jQuery("[id^=input-638]").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-638]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-638]").append("
(Required By: 767W-250OSXCYNBLU-EFX II 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-250OSXCYNBLU]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXCYNBLU]").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-638]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-638]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-638-767W-250OSXCYNBLU]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-638]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-638]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-250OSXCYNBLK").change(function(){ if(jQuery("#input-767W-250OSXCYNBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXCYNBLK]").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-638-767W-250OSXCYNBLK]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-638]").prop("type") != "radio") if(jQuery("[id^=input-638]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-638]").prop("disabled", true); } else if(jQuery("[id^=input-638]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-638]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-638]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-638]").prop("disabled", false); } if(!jQuery("[id^=input-638]").prop("checked")){ jQuery("[id^=input-638]").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-638]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-638]").append("
(Required By: 767W-250OSXCYNBLK-EFX II 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-250OSXCYNBLK]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXCYNBLK]").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-638]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-638]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-638-767W-250OSXCYNBLK]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-638]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-638]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-250OSXCYNSBL").change(function(){ if(jQuery("#input-767W-250OSXCYNSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXCYNSBL]").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-638-767W-250OSXCYNSBL]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-638]").prop("type") != "radio") if(jQuery("[id^=input-638]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-638]").prop("disabled", true); } else if(jQuery("[id^=input-638]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-638]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-638]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-638]").prop("disabled", false); } if(!jQuery("[id^=input-638]").prop("checked")){ jQuery("[id^=input-638]").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-638]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-638]").append("
(Required By: 767W-250OSXCYNSBL-EFX II 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-250OSXCYNSBL]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXCYNSBL]").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-638]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-638]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-638-767W-250OSXCYNSBL]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-638]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-638]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-767W-250OSXSLTBLU").change(function(){ if(jQuery("#input-767W-250OSXSLTBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXSLTBLU]").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-250OSXSLTBLU]").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-250OSXSLTBLU-EFX II 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-250OSXSLTBLU]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXSLTBLU]").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-250OSXSLTBLU]").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-250OSXSLTSBL").change(function(){ if(jQuery("#input-767W-250OSXSLTSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXSLTSBL]").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-250OSXSLTSBL]").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-250OSXSLTSBL-EFX II 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-250OSXSLTSBL]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXSLTSBL]").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-250OSXSLTSBL]").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-250OSXDNEBLK").change(function(){ if(jQuery("#input-767W-250OSXDNEBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXDNEBLK]").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-250OSXDNEBLK]").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-250OSXDNEBLK-EFX II 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-250OSXDNEBLK]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXDNEBLK]").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-250OSXDNEBLK]").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-250OSXDNESBL").change(function(){ if(jQuery("#input-767W-250OSXDNESBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXDNESBL]").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-250OSXDNESBL]").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-250OSXDNESBL-EFX II 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-250OSXDNESBL]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXDNESBL]").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-250OSXDNESBL]").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-250OSXDNEBLU").change(function(){ if(jQuery("#input-767W-250OSXDNEBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXDNEBLU]").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-250OSXDNEBLU]").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-250OSXDNEBLU-EFX II 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-250OSXDNEBLU]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXDNEBLU]").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-250OSXDNEBLU]").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-250OSXSLTBLK").change(function(){ if(jQuery("#input-767W-250OSXSLTBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767W-250OSXSLTBLK]").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-250OSXSLTBLK]").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-250OSXSLTBLK-EFX II 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-250OSXSLTBLK]").hide(); jQuery("[id^=note-single-required-by-767W-250OSXSLTBLK]").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-250OSXSLTBLK]").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-250OSXSLTBLK").change(function(){ if(jQuery("#input-767B-250OSXSLTBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXSLTBLK]").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-250OSXSLTBLK]").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-250OSXSLTBLK-EFX II 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-250OSXSLTBLK]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXSLTBLK]").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-250OSXSLTBLK]").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-250OSXDNEBLU").change(function(){ if(jQuery("#input-767B-250OSXDNEBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXDNEBLU]").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-250OSXDNEBLU]").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-250OSXDNEBLU-EFX II 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-250OSXDNEBLU]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXDNEBLU]").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-250OSXDNEBLU]").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-250OSXCYNSBL").change(function(){ if(jQuery("#input-767B-250OSXCYNSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXCYNSBL]").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-250OSXCYNSBL]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXCYNSBL]").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-250OSXDNEBLU]").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-250OSXDNESBL").change(function(){ if(jQuery("#input-767B-250OSXDNESBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXDNESBL]").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-250OSXDNESBL]").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-250OSXDNESBL-EFX II 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-250OSXDNESBL]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXDNESBL]").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-250OSXDNESBL]").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-250OSXSLTBLU").change(function(){ if(jQuery("#input-767B-250OSXSLTBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXSLTBLU]").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-250OSXSLTBLU]").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-250OSXSLTBLU-EFX II 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-250OSXSLTBLU]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXSLTBLU]").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-250OSXSLTBLU]").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-250OSXCYNBLK").change(function(){ if(jQuery("#input-767B-250OSXCYNBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXCYNBLK]").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-250OSXCYNBLK]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXCYNBLK]").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-250OSXSLTBLU]").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-250OSXDNEBLK").change(function(){ if(jQuery("#input-767B-250OSXDNEBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXDNEBLK]").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-250OSXDNEBLK]").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-250OSXDNEBLK-EFX II 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-250OSXDNEBLK]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXDNEBLK]").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-250OSXDNEBLK]").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-250OSXCYNBLU").change(function(){ if(jQuery("#input-767B-250OSXCYNBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXCYNBLU]").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-250OSXCYNBLU]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXCYNBLU]").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-250OSXDNEBLK]").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-250OSXSLTSBL").change(function(){ if(jQuery("#input-767B-250OSXSLTSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-767B-250OSXSLTSBL]").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-250OSXSLTSBL]").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-250OSXSLTSBL-EFX II 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-250OSXSLTSBL]").hide(); jQuery("[id^=note-single-required-by-767B-250OSXSLTSBL]").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-250OSXSLTSBL]").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-713W-250OSX").change(function(){ if(jQuery("#input-713W-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-713W-250OSX]").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-250OSX]").hide(); jQuery("[id^=note-single-required-by-713W-250OSX]").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-250OSXSLTSBL]").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-713B-250OSX").change(function(){ if(jQuery("#input-713B-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-713B-250OSX]").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-250OSX]").hide(); jQuery("[id^=note-single-required-by-713B-250OSX]").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-250OSXSLTSBL]").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-508-250OSX").change(function(){ if(jQuery("#input-508-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-508-250OSX]").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-610-508-250OSX]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-610]").prop("type") != "radio") if(jQuery("[id^=input-610]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-610]").prop("disabled", true); } else if(jQuery("[id^=input-610]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-610]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-610]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-610]").prop("disabled", false); } if(!jQuery("[id^=input-610]").prop("checked")){ jQuery("[id^=input-610]").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-610]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-610]").append("
(Required By: 508-250OSX-Electric Head with Holding Tank)
"); } } // 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-508-250OSX]").hide(); jQuery("[id^=note-single-required-by-508-250OSX]").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-610]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-610]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-610-508-250OSX]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-610]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-610]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-510-250OSX").change(function(){ if(jQuery("#input-510-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-510-250OSX]").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-610-510-250OSX]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-610]").prop("type") != "radio") if(jQuery("[id^=input-610]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-610]").prop("disabled", true); } else if(jQuery("[id^=input-610]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-610]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-610]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-610]").prop("disabled", false); } if(!jQuery("[id^=input-610]").prop("checked")){ jQuery("[id^=input-610]").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-610]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-610]").append("
(Required By: 510-250OSX-Electric Head with Overboard Discharge)
"); } } // 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-510-250OSX]").hide(); jQuery("[id^=note-single-required-by-510-250OSX]").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-610]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-610]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-610-510-250OSX]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-610]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-610]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-595T-250OSX").change(function(){ if(jQuery("#input-595T-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-595T-250OSX]").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-250OSX]").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-250OSX-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-250OSX]").hide(); jQuery("[id^=note-single-required-by-595T-250OSX]").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-250OSX]").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-250OSX").change(function(){ if(jQuery("#input-595S-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-595S-250OSX]").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-250OSX]").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-250OSX-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-250OSX]").hide(); jQuery("[id^=note-single-required-by-595S-250OSX]").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-250OSX]").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-250OSXSBL").change(function(){ if(jQuery("#input-560CT-250OSXSBL").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-250OSXSBL]").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-250OSXSBL]").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-250OSXSBL-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-250OSXSBL]").hide(); jQuery("[id^=note-single-required-by-560CT-250OSXSBL]").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-250OSXSBL]").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-250OSXBLK").change(function(){ if(jQuery("#input-560CT-250OSXBLK").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-250OSXBLK]").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-250OSXBLK]").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-250OSXBLK-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-250OSXBLK]").hide(); jQuery("[id^=note-single-required-by-560CT-250OSXBLK]").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-250OSXBLK]").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-250OSXSLT").change(function(){ if(jQuery("#input-560CT-250OSXSLT").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-250OSXSLT]").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-250OSXSLT]").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-250OSXSLT-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-250OSXSLT]").hide(); jQuery("[id^=note-single-required-by-560CT-250OSXSLT]").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-250OSXSLT]").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-250OSXBLU").change(function(){ if(jQuery("#input-560CT-250OSXBLU").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-250OSXBLU]").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-250OSXBLU]").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-250OSXBLU-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-250OSXBLU]").hide(); jQuery("[id^=note-single-required-by-560CT-250OSXBLU]").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-250OSXBLU]").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-250OSXCYN").change(function(){ if(jQuery("#input-560CT-250OSXCYN").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-250OSXCYN]").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-250OSXCYN]").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-250OSXCYN-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-250OSXCYN]").hide(); jQuery("[id^=note-single-required-by-560CT-250OSXCYN]").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-250OSXCYN]").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-250OSXDNE").change(function(){ if(jQuery("#input-560CT-250OSXDNE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-560CT-250OSXDNE]").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-250OSXDNE]").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-250OSXDNE-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-250OSXDNE]").hide(); jQuery("[id^=note-single-required-by-560CT-250OSXDNE]").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-250OSXDNE]").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-250OSX").change(function(){ if(jQuery("#input-592STS-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592STS-250OSX]").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-250OSX]").hide(); jQuery("[id^=note-single-required-by-592STS-250OSX]").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-250OSXDNE]").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-250OSX").change(function(){ if(jQuery("#input-592STD-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592STD-250OSX]").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-250OSX]").hide(); jQuery("[id^=note-single-required-by-592STD-250OSX]").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-250OSXDNE]").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-250OSX").change(function(){ if(jQuery("#input-592STC-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-592STC-250OSX]").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-250OSX]").hide(); jQuery("[id^=note-single-required-by-592STC-250OSX]").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-250OSXDNE]").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-796BE-250OSX").change(function(){ if(jQuery("#input-796BE-250OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-796BE-250OSX]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-685-796BE-250OSX]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-685]").prop("type") != "radio") if(jQuery("[id^=input-685]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-685]").prop("disabled", true); } else if(jQuery("[id^=input-685]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-685]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-685]").prop("disabled", false); } if(!jQuery("[id^=input-685]").prop("checked")){ jQuery("[id^=input-685]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-685]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-685]").append("
(Required By: 796BE-250OSX-Diamondback Board Racks - Swiveling)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-796BE-250OSX]").hide(); jQuery("[id^=note-single-required-by-796BE-250OSX]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-685]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-685-796BE-250OSX]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-685]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-685]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ option_group_data["979-250OSXBE"] = {}; option_group_data["979-250OSXBE"]["part_groups"] = new Array(); option_group_data["979-250OSXBE"]["part_groups"].push("125"); option_group_data["369-250OSX"] = {}; option_group_data["369-250OSX"]["part_groups"] = new Array(); option_group_data["369-250OSX"]["part_groups"].push("4"); option_group_data["382-250OSX"] = {}; option_group_data["382-250OSX"]["part_groups"] = new Array(); option_group_data["382-250OSX"]["part_groups"].push("11"); option_group_data["381-250OSX"] = {}; option_group_data["381-250OSX"]["part_groups"] = new Array(); option_group_data["381-250OSX"]["part_groups"].push("13"); option_group_data["396-250OSX"] = {}; option_group_data["396-250OSX"]["part_groups"] = new Array(); option_group_data["396-250OSX"]["part_groups"].push("13"); 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["266D250XCB"] = {}; option_group_data["266D250XCB"]["available_with"] = new Array(); option_group_data["266D250XCB"]["available_with_compound"] = new Array(); option_group_data["266D250XCB"]["available_with"].push("11"); option_group_data["532-250OSX"] = {}; option_group_data["532-250OSX"]["part_groups"] = new Array(); option_group_data["532-250OSX"]["part_groups"].push("20"); option_group_data["778-250OSX"] = {}; option_group_data["778-250OSX"]["part_groups"] = new Array(); option_group_data["778-250OSX"]["part_groups"].push("30"); option_group_data["643-250OSX"] = {}; option_group_data["643-250OSX"]["part_groups"] = new Array(); option_group_data["643-250OSX"]["part_groups"].push("21"); option_group_data["644-250OSX"] = {}; option_group_data["644-250OSX"]["part_groups"] = new Array(); option_group_data["644-250OSX"]["part_groups"].push("22"); option_group_data["663-250OSX"] = {}; option_group_data["663-250OSX"]["part_groups"] = new Array(); option_group_data["663-250OSX"]["part_groups"].push("23"); option_group_data["535-250OSX"] = {}; option_group_data["535-250OSX"]["part_groups"] = new Array(); option_group_data["535-250OSX"]["part_groups"].push("27"); option_group_data["638-250OSX"] = {}; option_group_data["638-250OSX"]["part_groups"] = new Array(); option_group_data["638-250OSX"]["part_groups"].push("27"); option_group_data["638-250OSX"]["part_groups"].push("95"); option_group_data["767W-250OSXCYNBLU"] = {}; option_group_data["767W-250OSXCYNBLU"]["part_groups"] = new Array(); option_group_data["767W-250OSXCYNBLU"]["available_with"] = new Array(); option_group_data["767W-250OSXCYNBLU"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXCYNBLU"]["part_groups"].push("3"); option_group_data["767W-250OSXCYNBLU"]["available_with"].push("27"); option_group_data["767W-250OSXCYNBLK"] = {}; option_group_data["767W-250OSXCYNBLK"]["part_groups"] = new Array(); option_group_data["767W-250OSXCYNBLK"]["available_with"] = new Array(); option_group_data["767W-250OSXCYNBLK"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXCYNBLK"]["part_groups"].push("3"); option_group_data["767W-250OSXCYNBLK"]["available_with"].push("27"); option_group_data["767W-250OSXCYNSBL"] = {}; option_group_data["767W-250OSXCYNSBL"]["part_groups"] = new Array(); option_group_data["767W-250OSXCYNSBL"]["available_with"] = new Array(); option_group_data["767W-250OSXCYNSBL"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXCYNSBL"]["part_groups"].push("3"); option_group_data["767W-250OSXCYNSBL"]["available_with"].push("27"); option_group_data["767W-250OSXBLUBLK"] = {}; option_group_data["767W-250OSXBLUBLK"]["part_groups"] = new Array(); option_group_data["767W-250OSXBLUBLK"]["available_with"] = new Array(); option_group_data["767W-250OSXBLUBLK"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXBLUBLK"]["part_groups"].push("3"); option_group_data["767W-250OSXBLUBLK"]["available_with"].push("22"); option_group_data["767W-250OSXBLUSBL"] = {}; option_group_data["767W-250OSXBLUSBL"]["part_groups"] = new Array(); option_group_data["767W-250OSXBLUSBL"]["available_with"] = new Array(); option_group_data["767W-250OSXBLUSBL"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXBLUSBL"]["part_groups"].push("3"); option_group_data["767W-250OSXBLUSBL"]["available_with"].push("22"); option_group_data["767W-250OSXSLTBLU"] = {}; option_group_data["767W-250OSXSLTBLU"]["part_groups"] = new Array(); option_group_data["767W-250OSXSLTBLU"]["available_with"] = new Array(); option_group_data["767W-250OSXSLTBLU"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXSLTBLU"]["part_groups"].push("3"); option_group_data["767W-250OSXSLTBLU"]["available_with"].push("20"); option_group_data["767W-250OSXBLKBLK"] = {}; option_group_data["767W-250OSXBLKBLK"]["part_groups"] = new Array(); option_group_data["767W-250OSXBLKBLK"]["available_with"] = new Array(); option_group_data["767W-250OSXBLKBLK"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXBLKBLK"]["part_groups"].push("3"); option_group_data["767W-250OSXBLKBLK"]["available_with"].push("21"); option_group_data["767W-250OSXSLTSBL"] = {}; option_group_data["767W-250OSXSLTSBL"]["part_groups"] = new Array(); option_group_data["767W-250OSXSLTSBL"]["available_with"] = new Array(); option_group_data["767W-250OSXSLTSBL"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXSLTSBL"]["part_groups"].push("3"); option_group_data["767W-250OSXSLTSBL"]["available_with"].push("20"); option_group_data["767W-250OSXSBLSBL"] = {}; option_group_data["767W-250OSXSBLSBL"]["part_groups"] = new Array(); option_group_data["767W-250OSXSBLSBL"]["available_with"] = new Array(); option_group_data["767W-250OSXSBLSBL"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXSBLSBL"]["part_groups"].push("3"); option_group_data["767W-250OSXSBLSBL"]["available_with"].push("23"); option_group_data["767W-250OSXDNEBLK"] = {}; option_group_data["767W-250OSXDNEBLK"]["part_groups"] = new Array(); option_group_data["767W-250OSXDNEBLK"]["available_with"] = new Array(); option_group_data["767W-250OSXDNEBLK"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXDNEBLK"]["part_groups"].push("3"); option_group_data["767W-250OSXDNEBLK"]["available_with"].push("30"); option_group_data["767W-250OSXSBLBLK"] = {}; option_group_data["767W-250OSXSBLBLK"]["part_groups"] = new Array(); option_group_data["767W-250OSXSBLBLK"]["available_with"] = new Array(); option_group_data["767W-250OSXSBLBLK"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXSBLBLK"]["part_groups"].push("3"); option_group_data["767W-250OSXSBLBLK"]["available_with"].push("23"); option_group_data["767W-250OSXDNESBL"] = {}; option_group_data["767W-250OSXDNESBL"]["part_groups"] = new Array(); option_group_data["767W-250OSXDNESBL"]["available_with"] = new Array(); option_group_data["767W-250OSXDNESBL"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXDNESBL"]["part_groups"].push("3"); option_group_data["767W-250OSXDNESBL"]["available_with"].push("30"); option_group_data["767W-250OSXBLUBLU"] = {}; option_group_data["767W-250OSXBLUBLU"]["part_groups"] = new Array(); option_group_data["767W-250OSXBLUBLU"]["available_with"] = new Array(); option_group_data["767W-250OSXBLUBLU"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXBLUBLU"]["part_groups"].push("3"); option_group_data["767W-250OSXBLUBLU"]["available_with"].push("22"); option_group_data["767W-250OSXDNEBLU"] = {}; option_group_data["767W-250OSXDNEBLU"]["part_groups"] = new Array(); option_group_data["767W-250OSXDNEBLU"]["available_with"] = new Array(); option_group_data["767W-250OSXDNEBLU"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXDNEBLU"]["part_groups"].push("3"); option_group_data["767W-250OSXDNEBLU"]["available_with"].push("30"); option_group_data["767W-250OSXBLKSBL"] = {}; option_group_data["767W-250OSXBLKSBL"]["part_groups"] = new Array(); option_group_data["767W-250OSXBLKSBL"]["available_with"] = new Array(); option_group_data["767W-250OSXBLKSBL"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXBLKSBL"]["part_groups"].push("3"); option_group_data["767W-250OSXBLKSBL"]["available_with"].push("21"); option_group_data["767W-250OSXBLKBLU"] = {}; option_group_data["767W-250OSXBLKBLU"]["part_groups"] = new Array(); option_group_data["767W-250OSXBLKBLU"]["available_with"] = new Array(); option_group_data["767W-250OSXBLKBLU"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXBLKBLU"]["part_groups"].push("3"); option_group_data["767W-250OSXBLKBLU"]["available_with"].push("21"); option_group_data["767W-250OSXSBLBLU"] = {}; option_group_data["767W-250OSXSBLBLU"]["part_groups"] = new Array(); option_group_data["767W-250OSXSBLBLU"]["available_with"] = new Array(); option_group_data["767W-250OSXSBLBLU"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXSBLBLU"]["part_groups"].push("3"); option_group_data["767W-250OSXSBLBLU"]["available_with"].push("23"); option_group_data["767W-250OSXSLTBLK"] = {}; option_group_data["767W-250OSXSLTBLK"]["part_groups"] = new Array(); option_group_data["767W-250OSXSLTBLK"]["available_with"] = new Array(); option_group_data["767W-250OSXSLTBLK"]["available_with_compound"] = new Array(); option_group_data["767W-250OSXSLTBLK"]["part_groups"].push("3"); option_group_data["767W-250OSXSLTBLK"]["available_with"].push("20"); option_group_data["767B-250OSXBLKBLK"] = {}; option_group_data["767B-250OSXBLKBLK"]["part_groups"] = new Array(); option_group_data["767B-250OSXBLKBLK"]["available_with"] = new Array(); option_group_data["767B-250OSXBLKBLK"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXBLKBLK"]["part_groups"].push("8"); option_group_data["767B-250OSXBLKBLK"]["available_with"].push("21"); option_group_data["767B-250OSXSLTBLK"] = {}; option_group_data["767B-250OSXSLTBLK"]["part_groups"] = new Array(); option_group_data["767B-250OSXSLTBLK"]["available_with"] = new Array(); option_group_data["767B-250OSXSLTBLK"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXSLTBLK"]["part_groups"].push("8"); option_group_data["767B-250OSXSLTBLK"]["available_with"].push("20"); option_group_data["767B-250OSXDNEBLU"] = {}; option_group_data["767B-250OSXDNEBLU"]["part_groups"] = new Array(); option_group_data["767B-250OSXDNEBLU"]["available_with"] = new Array(); option_group_data["767B-250OSXDNEBLU"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXDNEBLU"]["part_groups"].push("8"); option_group_data["767B-250OSXDNEBLU"]["available_with"].push("30"); option_group_data["767B-250OSXCYNSBL"] = {}; option_group_data["767B-250OSXCYNSBL"]["part_groups"] = new Array(); option_group_data["767B-250OSXCYNSBL"]["available_with"] = new Array(); option_group_data["767B-250OSXCYNSBL"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXCYNSBL"]["part_groups"].push("8"); option_group_data["767B-250OSXCYNSBL"]["available_with"].push("27"); option_group_data["767B-250OSXDNESBL"] = {}; option_group_data["767B-250OSXDNESBL"]["part_groups"] = new Array(); option_group_data["767B-250OSXDNESBL"]["available_with"] = new Array(); option_group_data["767B-250OSXDNESBL"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXDNESBL"]["part_groups"].push("8"); option_group_data["767B-250OSXDNESBL"]["available_with"].push("30"); option_group_data["767B-250OSXBLUBLU"] = {}; option_group_data["767B-250OSXBLUBLU"]["part_groups"] = new Array(); option_group_data["767B-250OSXBLUBLU"]["available_with"] = new Array(); option_group_data["767B-250OSXBLUBLU"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXBLUBLU"]["part_groups"].push("8"); option_group_data["767B-250OSXBLUBLU"]["available_with"].push("22"); option_group_data["767B-250OSXSLTBLU"] = {}; option_group_data["767B-250OSXSLTBLU"]["part_groups"] = new Array(); option_group_data["767B-250OSXSLTBLU"]["available_with"] = new Array(); option_group_data["767B-250OSXSLTBLU"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXSLTBLU"]["part_groups"].push("8"); option_group_data["767B-250OSXSLTBLU"]["available_with"].push("20"); option_group_data["767B-250OSXCYNBLK"] = {}; option_group_data["767B-250OSXCYNBLK"]["part_groups"] = new Array(); option_group_data["767B-250OSXCYNBLK"]["available_with"] = new Array(); option_group_data["767B-250OSXCYNBLK"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXCYNBLK"]["part_groups"].push("8"); option_group_data["767B-250OSXCYNBLK"]["available_with"].push("27"); option_group_data["767B-250OSXDNEBLK"] = {}; option_group_data["767B-250OSXDNEBLK"]["part_groups"] = new Array(); option_group_data["767B-250OSXDNEBLK"]["available_with"] = new Array(); option_group_data["767B-250OSXDNEBLK"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXDNEBLK"]["part_groups"].push("8"); option_group_data["767B-250OSXDNEBLK"]["available_with"].push("30"); option_group_data["767B-250OSXSBLSBL"] = {}; option_group_data["767B-250OSXSBLSBL"]["part_groups"] = new Array(); option_group_data["767B-250OSXSBLSBL"]["available_with"] = new Array(); option_group_data["767B-250OSXSBLSBL"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXSBLSBL"]["part_groups"].push("8"); option_group_data["767B-250OSXSBLSBL"]["available_with"].push("23"); option_group_data["767B-250OSXBLKBLU"] = {}; option_group_data["767B-250OSXBLKBLU"]["part_groups"] = new Array(); option_group_data["767B-250OSXBLKBLU"]["available_with"] = new Array(); option_group_data["767B-250OSXBLKBLU"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXBLKBLU"]["part_groups"].push("8"); option_group_data["767B-250OSXBLKBLU"]["available_with"].push("21"); option_group_data["767B-250OSXBLKSBL"] = {}; option_group_data["767B-250OSXBLKSBL"]["part_groups"] = new Array(); option_group_data["767B-250OSXBLKSBL"]["available_with"] = new Array(); option_group_data["767B-250OSXBLKSBL"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXBLKSBL"]["part_groups"].push("8"); option_group_data["767B-250OSXBLKSBL"]["available_with"].push("21"); option_group_data["767B-250OSXCYNBLU"] = {}; option_group_data["767B-250OSXCYNBLU"]["part_groups"] = new Array(); option_group_data["767B-250OSXCYNBLU"]["available_with"] = new Array(); option_group_data["767B-250OSXCYNBLU"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXCYNBLU"]["part_groups"].push("8"); option_group_data["767B-250OSXCYNBLU"]["available_with"].push("27"); option_group_data["767B-250OSXSLTSBL"] = {}; option_group_data["767B-250OSXSLTSBL"]["part_groups"] = new Array(); option_group_data["767B-250OSXSLTSBL"]["available_with"] = new Array(); option_group_data["767B-250OSXSLTSBL"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXSLTSBL"]["part_groups"].push("8"); option_group_data["767B-250OSXSLTSBL"]["available_with"].push("20"); option_group_data["767B-250OSXBLUSBL"] = {}; option_group_data["767B-250OSXBLUSBL"]["part_groups"] = new Array(); option_group_data["767B-250OSXBLUSBL"]["available_with"] = new Array(); option_group_data["767B-250OSXBLUSBL"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXBLUSBL"]["part_groups"].push("8"); option_group_data["767B-250OSXBLUSBL"]["available_with"].push("22"); option_group_data["767B-250OSXBLUBLK"] = {}; option_group_data["767B-250OSXBLUBLK"]["part_groups"] = new Array(); option_group_data["767B-250OSXBLUBLK"]["available_with"] = new Array(); option_group_data["767B-250OSXBLUBLK"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXBLUBLK"]["part_groups"].push("8"); option_group_data["767B-250OSXBLUBLK"]["available_with"].push("22"); option_group_data["767B-250OSXSBLBLK"] = {}; option_group_data["767B-250OSXSBLBLK"]["part_groups"] = new Array(); option_group_data["767B-250OSXSBLBLK"]["available_with"] = new Array(); option_group_data["767B-250OSXSBLBLK"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXSBLBLK"]["part_groups"].push("8"); option_group_data["767B-250OSXSBLBLK"]["available_with"].push("23"); option_group_data["767B-250OSXSBLBLU"] = {}; option_group_data["767B-250OSXSBLBLU"]["part_groups"] = new Array(); option_group_data["767B-250OSXSBLBLU"]["available_with"] = new Array(); option_group_data["767B-250OSXSBLBLU"]["available_with_compound"] = new Array(); option_group_data["767B-250OSXSBLBLU"]["part_groups"].push("8"); option_group_data["767B-250OSXSBLBLU"]["available_with"].push("23"); option_group_data["557RA-250OSXBLK"] = {}; option_group_data["557RA-250OSXBLK"]["available_with"] = new Array(); option_group_data["557RA-250OSXBLK"]["available_with_compound"] = new Array(); option_group_data["557RA-250OSXBLK"]["available_with"].push("3"); option_group_data["557RA-250OSXBLK"]["available_with"].push("8"); option_group_data["557RA-250OSXBLK"]["available_with"].push("126"); option_group_data["557RA-250OSXBLU"] = {}; option_group_data["557RA-250OSXBLU"]["available_with"] = new Array(); option_group_data["557RA-250OSXBLU"]["available_with_compound"] = new Array(); option_group_data["557RA-250OSXBLU"]["available_with"].push("3"); option_group_data["557RA-250OSXBLU"]["available_with"].push("8"); option_group_data["557RA-250OSXBLU"]["available_with"].push("126"); option_group_data["557RA-250OSXSBL"] = {}; option_group_data["557RA-250OSXSBL"]["available_with"] = new Array(); option_group_data["557RA-250OSXSBL"]["available_with_compound"] = new Array(); option_group_data["557RA-250OSXSBL"]["available_with"].push("3"); option_group_data["557RA-250OSXSBL"]["available_with"].push("8"); option_group_data["557RA-250OSXSBL"]["available_with"].push("126"); option_group_data["619RA-250OSX"] = {}; option_group_data["619RA-250OSX"]["available_with"] = new Array(); option_group_data["619RA-250OSX"]["available_with_compound"] = new Array(); option_group_data["619RA-250OSX"]["available_with"].push("3"); option_group_data["619RA-250OSX"]["available_with"].push("8"); option_group_data["619RA-250OSX"]["available_with"].push("126"); option_group_data["685-250OSX"] = {}; option_group_data["685-250OSX"]["part_groups"] = new Array(); option_group_data["685-250OSX"]["part_groups"].push("126"); option_group_data["512C-250OSX"] = {}; option_group_data["512C-250OSX"]["available_with"] = new Array(); option_group_data["512C-250OSX"]["available_with_compound"] = new Array(); option_group_data["512C-250OSX"]["available_with"].push("95"); option_group_data["713W-250OSX"] = {}; option_group_data["713W-250OSX"]["available_with"] = new Array(); option_group_data["713W-250OSX"]["available_with_compound"] = new Array(); option_group_data["713W-250OSX"]["available_with"].push("3"); option_group_data["713B-250OSX"] = {}; option_group_data["713B-250OSX"]["available_with"] = new Array(); option_group_data["713B-250OSX"]["available_with_compound"] = new Array(); option_group_data["713B-250OSX"]["available_with"].push("8"); option_group_data["713B-250OSX"]["available_with"].push("126"); option_group_data["560NCT-250OSXDNE"] = {}; option_group_data["560NCT-250OSXDNE"]["available_with"] = new Array(); option_group_data["560NCT-250OSXDNE"]["available_with_compound"] = new Array(); option_group_data["560NCT-250OSXDNE"]["available_with"].push("30"); option_group_data["560NCT-250OSXSBL"] = {}; option_group_data["560NCT-250OSXSBL"]["available_with"] = new Array(); option_group_data["560NCT-250OSXSBL"]["available_with_compound"] = new Array(); option_group_data["560NCT-250OSXSBL"]["available_with"].push("23"); option_group_data["560NCT-250OSXBLU"] = {}; option_group_data["560NCT-250OSXBLU"]["available_with"] = new Array(); option_group_data["560NCT-250OSXBLU"]["available_with_compound"] = new Array(); option_group_data["560NCT-250OSXBLU"]["available_with"].push("22"); option_group_data["560NCT-250OSXSLT"] = {}; option_group_data["560NCT-250OSXSLT"]["available_with"] = new Array(); option_group_data["560NCT-250OSXSLT"]["available_with_compound"] = new Array(); option_group_data["560NCT-250OSXSLT"]["available_with"].push("20"); option_group_data["560NCT-250OSXBLK"] = {}; option_group_data["560NCT-250OSXBLK"]["available_with"] = new Array(); option_group_data["560NCT-250OSXBLK"]["available_with_compound"] = new Array(); option_group_data["560NCT-250OSXBLK"]["available_with"].push("21"); option_group_data["560NCT-250OSXCYN"] = {}; option_group_data["560NCT-250OSXCYN"]["available_with"] = new Array(); option_group_data["560NCT-250OSXCYN"]["available_with_compound"] = new Array(); option_group_data["560NCT-250OSXCYN"]["available_with"].push("27"); option_group_data["560CT-250OSXSBL"] = {}; option_group_data["560CT-250OSXSBL"]["available_with"] = new Array(); option_group_data["560CT-250OSXSBL"]["available_with_compound"] = new Array(); option_group_data["560CT-250OSXSBL"]["available_with"].push("23"); option_group_data["560CT-250OSXBLK"] = {}; option_group_data["560CT-250OSXBLK"]["available_with"] = new Array(); option_group_data["560CT-250OSXBLK"]["available_with_compound"] = new Array(); option_group_data["560CT-250OSXBLK"]["available_with"].push("21"); option_group_data["560CT-250OSXSLT"] = {}; option_group_data["560CT-250OSXSLT"]["available_with"] = new Array(); option_group_data["560CT-250OSXSLT"]["available_with_compound"] = new Array(); option_group_data["560CT-250OSXSLT"]["available_with"].push("20"); option_group_data["560CT-250OSXBLU"] = {}; option_group_data["560CT-250OSXBLU"]["available_with"] = new Array(); option_group_data["560CT-250OSXBLU"]["available_with_compound"] = new Array(); option_group_data["560CT-250OSXBLU"]["available_with"].push("22"); option_group_data["560CT-250OSXCYN"] = {}; option_group_data["560CT-250OSXCYN"]["available_with"] = new Array(); option_group_data["560CT-250OSXCYN"]["available_with_compound"] = new Array(); option_group_data["560CT-250OSXCYN"]["available_with"].push("27"); option_group_data["560CT-250OSXDNE"] = {}; option_group_data["560CT-250OSXDNE"]["available_with"] = new Array(); option_group_data["560CT-250OSXDNE"]["available_with_compound"] = new Array(); option_group_data["560CT-250OSXDNE"]["available_with"].push("30"); option_group_data["592S-250OSX"] = {}; option_group_data["592S-250OSX"]["available_with"] = new Array(); option_group_data["592S-250OSX"]["available_with_compound"] = new Array(); option_group_data["592S-250OSX"]["available_with"].push("20"); option_group_data["592S-250OSX"]["available_with"].push("21"); option_group_data["592S-250OSX"]["available_with"].push("22"); option_group_data["592S-250OSX"]["available_with"].push("23"); option_group_data["592STS-250OSX"] = {}; option_group_data["592STS-250OSX"]["available_with"] = new Array(); option_group_data["592STS-250OSX"]["available_with_compound"] = new Array(); option_group_data["592STS-250OSX"]["available_with"].push("20"); option_group_data["592STS-250OSX"]["available_with"].push("21"); option_group_data["592STS-250OSX"]["available_with"].push("22"); option_group_data["592STS-250OSX"]["available_with"].push("23"); option_group_data["592D-250OSX"] = {}; option_group_data["592D-250OSX"]["available_with"] = new Array(); option_group_data["592D-250OSX"]["available_with_compound"] = new Array(); option_group_data["592D-250OSX"]["available_with"].push("30"); option_group_data["592STD-250OSX"] = {}; option_group_data["592STD-250OSX"]["available_with"] = new Array(); option_group_data["592STD-250OSX"]["available_with_compound"] = new Array(); option_group_data["592STD-250OSX"]["available_with"].push("30"); option_group_data["592C-250OSX"] = {}; option_group_data["592C-250OSX"]["available_with"] = new Array(); option_group_data["592C-250OSX"]["available_with_compound"] = new Array(); option_group_data["592C-250OSX"]["available_with"].push("27"); option_group_data["592STC-250OSX"] = {}; option_group_data["592STC-250OSX"]["available_with"] = new Array(); option_group_data["592STC-250OSX"]["available_with_compound"] = new Array(); option_group_data["592STC-250OSX"]["available_with"].push("27"); option_group_data["704C-250OSX"] = {}; option_group_data["704C-250OSX"]["available_with"] = new Array(); option_group_data["704C-250OSX"]["available_with_compound"] = new Array(); option_group_data["704C-250OSX"]["available_with"].push("27"); option_group_data["796BE-250OSX"] = {}; option_group_data["796BE-250OSX"]["available_with"] = new Array(); option_group_data["796BE-250OSX"]["available_with_compound"] = new Array(); option_group_data["796BE-250OSX"]["available_with"].push("126"); option_group_data["775-250OSXM250"] = {}; option_group_data["775-250OSXM250"]["available_with"] = new Array(); option_group_data["775-250OSXM250"]["available_with_compound"] = new Array(); option_group_data["775-250OSXM250"]["available_with"].push("10"); option_group_data["775-250OSXM250DTS"] = {}; option_group_data["775-250OSXM250DTS"]["available_with"] = new Array(); option_group_data["775-250OSXM250DTS"]["available_with_compound"] = new Array(); option_group_data["775-250OSXM250DTS"]["available_with"].push("2"); option_group_data["775-250OSXY250XB"] = {}; option_group_data["775-250OSXY250XB"]["available_with"] = new Array(); option_group_data["775-250OSXY250XB"]["available_with_compound"] = new Array(); option_group_data["775-250OSXY250XB"]["available_with"].push("4"); option_group_data["775-250OSXY250XSB"] = {}; option_group_data["775-250OSXY250XSB"]["available_with"] = new Array(); option_group_data["775-250OSXY250XSB"]["available_with_compound"] = new Array(); option_group_data["775-250OSXY250XSB"]["available_with"].push("13"); option_group_data["775-250OSXY250XCB"] = {}; option_group_data["775-250OSXY250XCB"]["available_with"] = new Array(); option_group_data["775-250OSXY250XCB"]["available_with_compound"] = new Array(); option_group_data["775-250OSXY250XCB"]["available_with"].push("11"); option_group_data["688BG-250OSX"] = {}; option_group_data["688BG-250OSX"]["part_groups"] = new Array(); option_group_data["688BG-250OSX"]["part_groups"].push("60"); option_group_data["688BA-250OSX"] = {}; option_group_data["688BA-250OSX"]["part_groups"] = new Array(); option_group_data["688BA-250OSX"]["part_groups"].push("61"); option_group_data["688BE-250OSX"] = {}; option_group_data["688BE-250OSX"]["part_groups"] = new Array(); option_group_data["688BE-250OSX"]["available_with"] = new Array(); option_group_data["688BE-250OSX"]["available_with_compound"] = new Array(); option_group_data["688BE-250OSX"]["part_groups"].push("57"); option_group_data["688BE-250OSX"]["available_with"].push("126"); option_group_data["688AG-250OSX"] = {}; option_group_data["688AG-250OSX"]["part_groups"] = new Array(); option_group_data["688AG-250OSX"]["part_groups"].push("62"); option_group_data["688AA-250OSX"] = {}; option_group_data["688AA-250OSX"]["part_groups"] = new Array(); option_group_data["688AA-250OSX"]["part_groups"].push("63"); option_group_data["686-250OSXALM"] = {}; option_group_data["686-250OSXALM"]["available_with"] = new Array(); option_group_data["686-250OSXALM"]["available_with_compound"] = new Array(); option_group_data["686-250OSXALM"]["available_with"].push("62"); option_group_data["686-250OSXBLK"] = {}; option_group_data["686-250OSXBLK"]["available_with"] = new Array(); option_group_data["686-250OSXBLK"]["available_with_compound"] = new Array(); option_group_data["686-250OSXBLK"]["available_with"].push("60"); option_group_data["687BE-250OSX"] = {}; option_group_data["687BE-250OSX"]["available_with"] = new Array(); option_group_data["687BE-250OSX"]["available_with_compound"] = new Array(); option_group_data["687BE-250OSX"]["available_with"].push("57"); option_group_data["687-250OSXALM"] = {}; option_group_data["687-250OSXALM"]["available_with"] = new Array(); option_group_data["687-250OSXALM"]["available_with_compound"] = new Array(); option_group_data["687-250OSXALM"]["available_with"].push("63"); option_group_data["687-250OSXBLK"] = {}; option_group_data["687-250OSXBLK"]["available_with"] = new Array(); option_group_data["687-250OSXBLK"]["available_with_compound"] = new Array(); option_group_data["687-250OSXBLK"]["available_with"].push("61"); }); // 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() });