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

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


(Included in 685B-310OSX - Black Edition Package - Blank Engine Only)

"); jQuery("[id^=note-551]").html("
(Included in 685B-310OSX - Black Edition Package - Blank Engine Only)
"); jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685B-310OSX").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-551]").prop("disabled",false); } // enables the includes jQuery("[id^=input-551]").prop("disabled",false); jQuery("[id^=input-551]").prop("included_option", false); //if(!jQuery("#input-551").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-551").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-551").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685B-310OSX-551").remove(); } }); // end click listener jQuery("#input-685B-310OSX").change(function(){ if(jQuery("#input-685B-310OSX").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-731]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685B-310OSX - Black Edition Package - Blank Engine Only)

"); jQuery("[id^=note-731]").html("
(Included in 685B-310OSX - Black Edition Package - Blank Engine Only)
"); jQuery("[id^=input-731]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685B-310OSX").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-731]").prop("disabled",false); } // enables the includes jQuery("[id^=input-731]").prop("disabled",false); jQuery("[id^=input-731]").prop("included_option", false); //if(!jQuery("#input-731").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-731").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-731").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685B-310OSX-731").remove(); } }); // end click listener jQuery("#input-685B-310OSX").change(function(){ if(jQuery("#input-685B-310OSX").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-635-310OSXBLK]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685B-310OSX - Black Edition Package - Blank Engine Only)

"); jQuery("[id^=note-635-310OSXBLK]").html("
(Included in 685B-310OSX - Black Edition Package - Blank Engine Only)
"); jQuery("[id^=input-635-310OSXBLK]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685B-310OSX").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-635-310OSXBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-635-310OSXBLK]").prop("disabled",false); jQuery("[id^=input-635-310OSXBLK]").prop("included_option", false); //if(!jQuery("#input-635-310OSXBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-635-310OSXBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-635-310OSXBLK").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685B-310OSX-635-310OSXBLK").remove(); } }); // end click listener jQuery("#input-685M-310OSX").change(function(){ if(jQuery("#input-685M-310OSX").prop("checked")) { // if this is overwrite_group-1 we need to take into account some things // the visitor should still be able to select other engines // disable the includes and checks it jQuery("[id^=input-551]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685M-310OSX - Black Edition Package - Mercury)

"); jQuery("[id^=note-551]").html("
(Included in 685M-310OSX - Black Edition Package - Mercury)
"); jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685M-310OSX").prop("type") == "checkbox") { // this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place? // enables the includes //jQuery("[id^=input-551]").prop("disabled",false); } // enables the includes jQuery("[id^=input-551]").prop("disabled",false); jQuery("[id^=input-551]").prop("included_option", false); //if(!jQuery("#input-551").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-551").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-551").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685M-310OSX-551").remove(); } }); // end click listener jQuery("#input-685M-310OSX").change(function(){ if(jQuery("#input-685M-310OSX").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-731]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685M-310OSX - Black Edition Package - Mercury)

"); jQuery("[id^=note-731]").html("
(Included in 685M-310OSX - Black Edition Package - Mercury)
"); jQuery("[id^=input-731]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685M-310OSX").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-731]").prop("disabled",false); } // enables the includes jQuery("[id^=input-731]").prop("disabled",false); jQuery("[id^=input-731]").prop("included_option", false); //if(!jQuery("#input-731").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-731").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-731").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685M-310OSX-731").remove(); } }); // end click listener jQuery("#input-685M-310OSX").change(function(){ if(jQuery("#input-685M-310OSX").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-635-310OSXBLK]").each(function(){ if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 ) { jQuery(this).prop("disabled", true); jQuery(this).prop("included_option", true); if(!jQuery(this).prop("checked")) { jQuery(this).prop("checked", true).change(); } } }); // add a note to the disable option to tell why this is disabled but included //alert("


(Included in 685M-310OSX - Black Edition Package - Mercury)

"); jQuery("[id^=note-635-310OSXBLK]").html("
(Included in 685M-310OSX - Black Edition Package - Mercury)
"); jQuery("[id^=input-635-310OSXBLK]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685M-310OSX").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-635-310OSXBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-635-310OSXBLK]").prop("disabled",false); jQuery("[id^=input-635-310OSXBLK]").prop("included_option", false); //if(!jQuery("#input-635-310OSXBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-635-310OSXBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-635-310OSXBLK").parent().parent().removeClass("byb_option_green"); // add a note to the disable option to tell why this is disabled but included jQuery("#note-single-include-685M-310OSX-635-310OSXBLK").remove(); } }); // end click listener jQuery("#input-685Y-310OSX").change(function(){ if(jQuery("#input-685Y-310OSX").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 685Y-310OSX - Black Edition Package - Yamaha)

"); jQuery("[id^=note-551]").html("
(Included in 685Y-310OSX - Black Edition Package - Yamaha)
"); jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685Y-310OSX").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-685Y-310OSX-551").remove(); } }); // end click listener jQuery("#input-685Y-310OSX").change(function(){ if(jQuery("#input-685Y-310OSX").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-731]").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 685Y-310OSX - Black Edition Package - Yamaha)

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

"); jQuery("[id^=note-635-310OSXBLK]").html("
(Included in 685Y-310OSX - Black Edition Package - Yamaha)
"); jQuery("[id^=input-635-310OSXBLK]").parent().parent().addClass("byb_option_green"); } // here we reverse out everything from above else { // if this is not a radio group if(jQuery("#input-685Y-310OSX").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-635-310OSXBLK]").prop("disabled",false); } // enables the includes jQuery("[id^=input-635-310OSXBLK]").prop("disabled",false); jQuery("[id^=input-635-310OSXBLK]").prop("included_option", false); //if(!jQuery("#input-635-310OSXBLK").prop("checked")) //{ //alert("i fire now"); //jQuery("#input-635-310OSXBLK").parent().parent().removeClass("byb_option_green"); //} jQuery("#input-635-310OSXBLK").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-685Y-310OSX-635-310OSXBLK").remove(); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-910-310OSXWHT").change(function(){ if(jQuery("#input-910-310OSXWHT").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-300OSXWHT]"); //alert(jQuery("[id^=input-950-300OSXWHT]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-300OSXWHT]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-300OSXWHT]").prop("checked")) { jQuery("[id^=input-950-300OSXWHT]").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-300OSXWHT-910-310OSXWHT]").length === 0) { jQuery("[id^=note-950-300OSXWHT]").append("
(N/A with 910-310OSXWHT - Painted Metallic Hull Stripe - White)
"); } jQuery("[id^=input-950-300OSXWHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-300OSXWHT]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-300OSXWHT-910-310OSXWHT]").remove(); jQuery("[id^=input-950-300OSXWHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-300OSXWHT]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-310OSXWHT"); //alert(jQuery("[id^=input-910-310OSXWHT]").attr("title")); //alert(jQuery("[id^=input-910-310OSXWHT]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-310OSXWHT").prop("disabled", true); // determine if checked if(jQuery("#input-910-310OSXWHT").prop("checked")) { jQuery("#input-910-310OSXWHT").removeAttr("checked").change(); } //console.log("if of reverse input-910-310OSXWHT"); //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-310OSXWHT-950-300OSXWHT]").length === 0) { jQuery("#note-910-310OSXWHT").append("
(N/A with 950-300OSXWHT )
"); } jQuery("[id^=input-910-310OSXWHT]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-310OSXWHT").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-310OSXWHT-950-300OSXWHT]").remove(); jQuery("[id^=input-910-310OSXWHT]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-310OSXALY").change(function(){ if(jQuery("#input-910-310OSXALY").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-300OSXALY]"); //alert(jQuery("[id^=input-950-300OSXALY]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-300OSXALY]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-300OSXALY]").prop("checked")) { jQuery("[id^=input-950-300OSXALY]").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-300OSXALY-910-310OSXALY]").length === 0) { jQuery("[id^=note-950-300OSXALY]").append("
(N/A with 910-310OSXALY - Painted Metallic Hull Stripe - Alloy Gray)
"); } jQuery("[id^=input-950-300OSXALY]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-300OSXALY]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-300OSXALY-910-310OSXALY]").remove(); jQuery("[id^=input-950-300OSXALY]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-300OSXALY]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-310OSXALY"); //alert(jQuery("[id^=input-910-310OSXALY]").attr("title")); //alert(jQuery("[id^=input-910-310OSXALY]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-310OSXALY").prop("disabled", true); // determine if checked if(jQuery("#input-910-310OSXALY").prop("checked")) { jQuery("#input-910-310OSXALY").removeAttr("checked").change(); } //console.log("if of reverse input-910-310OSXALY"); //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-310OSXALY-950-300OSXALY]").length === 0) { jQuery("#note-910-310OSXALY").append("
(N/A with 950-300OSXALY )
"); } jQuery("[id^=input-910-310OSXALY]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-310OSXALY").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-310OSXALY-950-300OSXALY]").remove(); jQuery("[id^=input-910-310OSXALY]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-310OSXBLK").change(function(){ if(jQuery("#input-910-310OSXBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-300OSXBLK]"); //alert(jQuery("[id^=input-950-300OSXBLK]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-300OSXBLK]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-300OSXBLK]").prop("checked")) { jQuery("[id^=input-950-300OSXBLK]").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-300OSXBLK-910-310OSXBLK]").length === 0) { jQuery("[id^=note-950-300OSXBLK]").append("
(N/A with 910-310OSXBLK - Painted Metallic Hull Stripe - Black)
"); } jQuery("[id^=input-950-300OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-300OSXBLK]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-300OSXBLK-910-310OSXBLK]").remove(); jQuery("[id^=input-950-300OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-300OSXBLK]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-310OSXBLK"); //alert(jQuery("[id^=input-910-310OSXBLK]").attr("title")); //alert(jQuery("[id^=input-910-310OSXBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-310OSXBLK").prop("disabled", true); // determine if checked if(jQuery("#input-910-310OSXBLK").prop("checked")) { jQuery("#input-910-310OSXBLK").removeAttr("checked").change(); } //console.log("if of reverse input-910-310OSXBLK"); //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-310OSXBLK-950-300OSXBLK]").length === 0) { jQuery("#note-910-310OSXBLK").append("
(N/A with 950-300OSXBLK )
"); } jQuery("[id^=input-910-310OSXBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-310OSXBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-310OSXBLK-950-300OSXBLK]").remove(); jQuery("[id^=input-910-310OSXBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-910-310OSXBLU").change(function(){ if(jQuery("#input-910-310OSXBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950-300OSXBLU]"); //alert(jQuery("[id^=input-950-300OSXBLU]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950-300OSXBLU]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950-300OSXBLU]").prop("checked")) { jQuery("[id^=input-950-300OSXBLU]").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-300OSXBLU-910-310OSXBLU]").length === 0) { jQuery("[id^=note-950-300OSXBLU]").append("
(N/A with 910-310OSXBLU - Painted Metallic Hull Stripe - Blue)
"); } jQuery("[id^=input-950-300OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950-300OSXBLU]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-300OSXBLU-910-310OSXBLU]").remove(); jQuery("[id^=input-950-300OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950-300OSXBLU]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-910-310OSXBLU"); //alert(jQuery("[id^=input-910-310OSXBLU]").attr("title")); //alert(jQuery("[id^=input-910-310OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-910-310OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-910-310OSXBLU").prop("checked")) { jQuery("#input-910-310OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-910-310OSXBLU"); //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-310OSXBLU-950-300OSXBLU]").length === 0) { jQuery("#note-910-310OSXBLU").append("
(N/A with 950-300OSXBLU )
"); } jQuery("[id^=input-910-310OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-910-310OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-910-310OSXBLU-950-300OSXBLU]").remove(); jQuery("[id^=input-910-310OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-638M-310OSX").change(function(){ if(jQuery("#input-638M-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-307]"); //alert(jQuery("[id^=input-307]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-307]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-307]").prop("checked")) { jQuery("[id^=input-307]").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-307-638M-310OSX]").length === 0) { jQuery("[id^=note-307]").append("
(N/A with 638M-310OSX - Cockpit Interior - Cayenne)
"); } jQuery("[id^=input-307]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-307]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-307-638M-310OSX]").remove(); jQuery("[id^=input-307]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-307]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-638M-310OSX"); //alert(jQuery("[id^=input-638M-310OSX]").attr("title")); //alert(jQuery("[id^=input-638M-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-638M-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-638M-310OSX").prop("checked")) { jQuery("#input-638M-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-638M-310OSX"); //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-638M-310OSX-307]").length === 0) { jQuery("#note-638M-310OSX").append("
(N/A with 307 )
"); } jQuery("[id^=input-638M-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-638M-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-638M-310OSX-307]").remove(); jQuery("[id^=input-638M-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-638Y-310OSX").change(function(){ if(jQuery("#input-638Y-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-307]"); //alert(jQuery("[id^=input-307]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-307]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-307]").prop("checked")) { jQuery("[id^=input-307]").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-307-638Y-310OSX]").length === 0) { jQuery("[id^=note-307]").append("
(N/A with 638Y-310OSX - Cockpit Interior - Cayenne)
"); } jQuery("[id^=input-307]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-307]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-307-638Y-310OSX]").remove(); jQuery("[id^=input-307]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-307]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-638Y-310OSX"); //alert(jQuery("[id^=input-638Y-310OSX]").attr("title")); //alert(jQuery("[id^=input-638Y-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-638Y-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-638Y-310OSX").prop("checked")) { jQuery("#input-638Y-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-638Y-310OSX"); //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-638Y-310OSX-307]").length === 0) { jQuery("#note-638Y-310OSX").append("
(N/A with 307 )
"); } jQuery("[id^=input-638Y-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-638Y-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-638Y-310OSX-307]").remove(); jQuery("[id^=input-638Y-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-canvas_blue").change(function(){ if(jQuery("#input-canvas_blue").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-canvas_blue]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with canvas_blue - Canvas Color - Biscayne Blue (If Equipped))
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-canvas_blue]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-canvas_blue"); //alert(jQuery("[id^=input-canvas_blue]").attr("title")); //alert(jQuery("[id^=input-canvas_blue]").is(":checked")); // disable the includes and unchecks it jQuery("#input-canvas_blue").prop("disabled", true); // determine if checked if(jQuery("#input-canvas_blue").prop("checked")) { jQuery("#input-canvas_blue").removeAttr("checked").change(); } //console.log("if of reverse input-canvas_blue"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-canvas_blue-685]").length === 0) { jQuery("#note-canvas_blue").append("
(N/A with 685 )
"); } jQuery("[id^=input-canvas_blue]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-canvas_blue").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-canvas_blue-685]").remove(); jQuery("[id^=input-canvas_blue]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-canvas_steel").change(function(){ if(jQuery("#input-canvas_steel").prop("checked")) { //alert("na_with here"); //alert("[id^=input-685]"); //alert(jQuery("[id^=input-685]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-685]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-685]").prop("checked")) { jQuery("[id^=input-685]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685-canvas_steel]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with canvas_steel - Canvas Color - Steel Blue (If Equipped))
"); } jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-685]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685-canvas_steel]").remove(); jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-685]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-canvas_steel"); //alert(jQuery("[id^=input-canvas_steel]").attr("title")); //alert(jQuery("[id^=input-canvas_steel]").is(":checked")); // disable the includes and unchecks it jQuery("#input-canvas_steel").prop("disabled", true); // determine if checked if(jQuery("#input-canvas_steel").prop("checked")) { jQuery("#input-canvas_steel").removeAttr("checked").change(); } //console.log("if of reverse input-canvas_steel"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-canvas_steel-685]").length === 0) { jQuery("#note-canvas_steel").append("
(N/A with 685 )
"); } jQuery("[id^=input-canvas_steel]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-canvas_steel").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-canvas_steel-685]").remove(); jQuery("[id^=input-canvas_steel]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-635-310OSXBLU").change(function(){ if(jQuery("#input-635-310OSXBLU").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-635-310OSXBLU]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 635-310OSXBLU - Hardtop Underside Gel Color - Biscayne Blue)
"); } 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-635-310OSXBLU]").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-635-310OSXBLU"); //alert(jQuery("[id^=input-635-310OSXBLU]").attr("title")); //alert(jQuery("[id^=input-635-310OSXBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-635-310OSXBLU").prop("disabled", true); // determine if checked if(jQuery("#input-635-310OSXBLU").prop("checked")) { jQuery("#input-635-310OSXBLU").removeAttr("checked").change(); } //console.log("if of reverse input-635-310OSXBLU"); //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-635-310OSXBLU-685]").length === 0) { jQuery("#note-635-310OSXBLU").append("
(N/A with 685 )
"); } jQuery("[id^=input-635-310OSXBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-635-310OSXBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-635-310OSXBLU-685]").remove(); jQuery("[id^=input-635-310OSXBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-635-310OSXALY").change(function(){ if(jQuery("#input-635-310OSXALY").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-635-310OSXALY]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 635-310OSXALY - Hardtop Underside Gel Color - Alloy Gray)
"); } 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-635-310OSXALY]").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-635-310OSXALY"); //alert(jQuery("[id^=input-635-310OSXALY]").attr("title")); //alert(jQuery("[id^=input-635-310OSXALY]").is(":checked")); // disable the includes and unchecks it jQuery("#input-635-310OSXALY").prop("disabled", true); // determine if checked if(jQuery("#input-635-310OSXALY").prop("checked")) { jQuery("#input-635-310OSXALY").removeAttr("checked").change(); } //console.log("if of reverse input-635-310OSXALY"); //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-635-310OSXALY-685]").length === 0) { jQuery("#note-635-310OSXALY").append("
(N/A with 685 )
"); } jQuery("[id^=input-635-310OSXALY]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-635-310OSXALY").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-635-310OSXALY-685]").remove(); jQuery("[id^=input-635-310OSXALY]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-635-310OSXGRN").change(function(){ if(jQuery("#input-635-310OSXGRN").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-635-310OSXGRN]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 635-310OSXGRN - Hardtop Underside Gel Color - Seafoam Green)
"); } 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-635-310OSXGRN]").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-635-310OSXGRN"); //alert(jQuery("[id^=input-635-310OSXGRN]").attr("title")); //alert(jQuery("[id^=input-635-310OSXGRN]").is(":checked")); // disable the includes and unchecks it jQuery("#input-635-310OSXGRN").prop("disabled", true); // determine if checked if(jQuery("#input-635-310OSXGRN").prop("checked")) { jQuery("#input-635-310OSXGRN").removeAttr("checked").change(); } //console.log("if of reverse input-635-310OSXGRN"); //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-635-310OSXGRN-685]").length === 0) { jQuery("#note-635-310OSXGRN").append("
(N/A with 685 )
"); } jQuery("[id^=input-635-310OSXGRN]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-635-310OSXGRN").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-635-310OSXGRN-685]").remove(); jQuery("[id^=input-635-310OSXGRN]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-635-310OSXICE").change(function(){ if(jQuery("#input-635-310OSXICE").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-635-310OSXICE]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 635-310OSXICE - Hardtop Underside Gel Color - Ice Blue)
"); } 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-635-310OSXICE]").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-635-310OSXICE"); //alert(jQuery("[id^=input-635-310OSXICE]").attr("title")); //alert(jQuery("[id^=input-635-310OSXICE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-635-310OSXICE").prop("disabled", true); // determine if checked if(jQuery("#input-635-310OSXICE").prop("checked")) { jQuery("#input-635-310OSXICE").removeAttr("checked").change(); } //console.log("if of reverse input-635-310OSXICE"); //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-635-310OSXICE-685]").length === 0) { jQuery("#note-635-310OSXICE").append("
(N/A with 685 )
"); } jQuery("[id^=input-635-310OSXICE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-635-310OSXICE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-635-310OSXICE-685]").remove(); jQuery("[id^=input-635-310OSXICE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-635-310OSXSBL").change(function(){ if(jQuery("#input-635-310OSXSBL").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-635-310OSXSBL]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 635-310OSXSBL - Hardtop Underside Gel Color - Steel Blue)
"); } 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-635-310OSXSBL]").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-635-310OSXSBL"); //alert(jQuery("[id^=input-635-310OSXSBL]").attr("title")); //alert(jQuery("[id^=input-635-310OSXSBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-635-310OSXSBL").prop("disabled", true); // determine if checked if(jQuery("#input-635-310OSXSBL").prop("checked")) { jQuery("#input-635-310OSXSBL").removeAttr("checked").change(); } //console.log("if of reverse input-635-310OSXSBL"); //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-635-310OSXSBL-685]").length === 0) { jQuery("#note-635-310OSXSBL").append("
(N/A with 685 )
"); } jQuery("[id^=input-635-310OSXSBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-635-310OSXSBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-635-310OSXSBL-685]").remove(); jQuery("[id^=input-635-310OSXSBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-635-310OSXSTL").change(function(){ if(jQuery("#input-635-310OSXSTL").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-635-310OSXSTL]").length === 0) { jQuery("[id^=note-685]").append("
(N/A with 635-310OSXSTL - Hardtop Underside Gel Color - Stealth Gray)
"); } 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-635-310OSXSTL]").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-635-310OSXSTL"); //alert(jQuery("[id^=input-635-310OSXSTL]").attr("title")); //alert(jQuery("[id^=input-635-310OSXSTL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-635-310OSXSTL").prop("disabled", true); // determine if checked if(jQuery("#input-635-310OSXSTL").prop("checked")) { jQuery("#input-635-310OSXSTL").removeAttr("checked").change(); } //console.log("if of reverse input-635-310OSXSTL"); //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-635-310OSXSTL-685]").length === 0) { jQuery("#note-635-310OSXSTL").append("
(N/A with 685 )
"); } jQuery("[id^=input-635-310OSXSTL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-635-310OSXSTL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-635-310OSXSTL-685]").remove(); jQuery("[id^=input-635-310OSXSTL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-716W-310OSX").change(function(){ if(jQuery("#input-716W-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-535]"); //alert(jQuery("[id^=input-535]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-535]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-535]").prop("checked")) { jQuery("[id^=input-535]").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-535-716W-310OSX]").length === 0) { jQuery("[id^=note-535]").append("
(N/A with 716W-310OSX - Sureshade Retracting Canvas - White)
"); } jQuery("[id^=input-535]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-535]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-535-716W-310OSX]").remove(); jQuery("[id^=input-535]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-535]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-716W-310OSX"); //alert(jQuery("[id^=input-716W-310OSX]").attr("title")); //alert(jQuery("[id^=input-716W-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-716W-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-716W-310OSX").prop("checked")) { jQuery("#input-716W-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-716W-310OSX"); //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-716W-310OSX-535]").length === 0) { jQuery("#note-716W-310OSX").append("
(N/A with 535 )
"); } jQuery("[id^=input-716W-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-716W-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-716W-310OSX-535]").remove(); jQuery("[id^=input-716W-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-716W-310OSX").change(function(){ if(jQuery("#input-716W-310OSX").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-716W-310OSX]").length === 0) { jQuery("[id^=note-638]").append("
(N/A with 716W-310OSX - Sureshade Retracting Canvas - White)
"); } 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-716W-310OSX]").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-716W-310OSX"); //alert(jQuery("[id^=input-716W-310OSX]").attr("title")); //alert(jQuery("[id^=input-716W-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-716W-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-716W-310OSX").prop("checked")) { jQuery("#input-716W-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-716W-310OSX"); //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-716W-310OSX-638]").length === 0) { jQuery("#note-716W-310OSX").append("
(N/A with 638 )
"); } jQuery("[id^=input-716W-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-716W-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-716W-310OSX-638]").remove(); jQuery("[id^=input-716W-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-716B-310OSX").change(function(){ if(jQuery("#input-716B-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-535]"); //alert(jQuery("[id^=input-535]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-535]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-535]").prop("checked")) { jQuery("[id^=input-535]").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-535-716B-310OSX]").length === 0) { jQuery("[id^=note-535]").append("
(N/A with 716B-310OSX - Sureshade Retracting Canvas - Black)
"); } jQuery("[id^=input-535]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-535]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-535-716B-310OSX]").remove(); jQuery("[id^=input-535]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-535]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-716B-310OSX"); //alert(jQuery("[id^=input-716B-310OSX]").attr("title")); //alert(jQuery("[id^=input-716B-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-716B-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-716B-310OSX").prop("checked")) { jQuery("#input-716B-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-716B-310OSX"); //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-716B-310OSX-535]").length === 0) { jQuery("#note-716B-310OSX").append("
(N/A with 535 )
"); } jQuery("[id^=input-716B-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-716B-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-716B-310OSX-535]").remove(); jQuery("[id^=input-716B-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-716B-310OSX").change(function(){ if(jQuery("#input-716B-310OSX").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-716B-310OSX]").length === 0) { jQuery("[id^=note-638]").append("
(N/A with 716B-310OSX - Sureshade Retracting Canvas - Black)
"); } 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-716B-310OSX]").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-716B-310OSX"); //alert(jQuery("[id^=input-716B-310OSX]").attr("title")); //alert(jQuery("[id^=input-716B-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-716B-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-716B-310OSX").prop("checked")) { jQuery("#input-716B-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-716B-310OSX"); //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-716B-310OSX-638]").length === 0) { jQuery("#note-716B-310OSX").append("
(N/A with 638 )
"); } jQuery("[id^=input-716B-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-716B-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-716B-310OSX-638]").remove(); jQuery("[id^=input-716B-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685B-310OSX").change(function(){ if(jQuery("#input-685B-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950]"); //alert(jQuery("[id^=input-950]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950]").prop("checked")) { jQuery("[id^=input-950]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-950-685B-310OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685B-310OSX - Black Edition Package - Blank Engine Only)
"); } jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-685B-310OSX]").remove(); jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685B-310OSX"); //alert(jQuery("[id^=input-685B-310OSX]").attr("title")); //alert(jQuery("[id^=input-685B-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685B-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685B-310OSX").prop("checked")) { jQuery("#input-685B-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685B-310OSX"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685B-310OSX-950]").length === 0) { jQuery("#note-685B-310OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685B-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685B-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685B-310OSX-950]").remove(); jQuery("[id^=input-685B-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685B-310OSX").change(function(){ if(jQuery("#input-685B-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-951]"); //alert(jQuery("[id^=input-951]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-951]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-951]").prop("checked")) { jQuery("[id^=input-951]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-951-685B-310OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685B-310OSX - Black Edition Package - Blank Engine Only)
"); } jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-951]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-685B-310OSX]").remove(); jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-951]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685B-310OSX"); //alert(jQuery("[id^=input-685B-310OSX]").attr("title")); //alert(jQuery("[id^=input-685B-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685B-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685B-310OSX").prop("checked")) { jQuery("#input-685B-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685B-310OSX"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685B-310OSX-951]").length === 0) { jQuery("#note-685B-310OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685B-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685B-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685B-310OSX-951]").remove(); jQuery("[id^=input-685B-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685M-310OSX").change(function(){ if(jQuery("#input-685M-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950]"); //alert(jQuery("[id^=input-950]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950]").prop("checked")) { jQuery("[id^=input-950]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-950-685M-310OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685M-310OSX - Black Edition Package - Mercury)
"); } jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-685M-310OSX]").remove(); jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685M-310OSX"); //alert(jQuery("[id^=input-685M-310OSX]").attr("title")); //alert(jQuery("[id^=input-685M-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685M-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685M-310OSX").prop("checked")) { jQuery("#input-685M-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685M-310OSX"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685M-310OSX-950]").length === 0) { jQuery("#note-685M-310OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685M-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685M-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685M-310OSX-950]").remove(); jQuery("[id^=input-685M-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685M-310OSX").change(function(){ if(jQuery("#input-685M-310OSX").prop("checked")) { //alert("na_with here"); //alert("[id^=input-951]"); //alert(jQuery("[id^=input-951]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-951]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-951]").prop("checked")) { jQuery("[id^=input-951]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-951-685M-310OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685M-310OSX - Black Edition Package - Mercury)
"); } jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-951]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-685M-310OSX]").remove(); jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-951]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-685M-310OSX"); //alert(jQuery("[id^=input-685M-310OSX]").attr("title")); //alert(jQuery("[id^=input-685M-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685M-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685M-310OSX").prop("checked")) { jQuery("#input-685M-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685M-310OSX"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-685M-310OSX-951]").length === 0) { jQuery("#note-685M-310OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685M-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685M-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685M-310OSX-951]").remove(); jQuery("[id^=input-685M-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685Y-310OSX").change(function(){ if(jQuery("#input-685Y-310OSX").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-685Y-310OSX]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 685Y-310OSX - Black Edition Package - Yamaha)
"); } jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-685Y-310OSX]").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-685Y-310OSX"); //alert(jQuery("[id^=input-685Y-310OSX]").attr("title")); //alert(jQuery("[id^=input-685Y-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685Y-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685Y-310OSX").prop("checked")) { jQuery("#input-685Y-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685Y-310OSX"); //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-685Y-310OSX-950]").length === 0) { jQuery("#note-685Y-310OSX").append("
(N/A with 950 )
"); } jQuery("[id^=input-685Y-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685Y-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685Y-310OSX-950]").remove(); jQuery("[id^=input-685Y-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-685Y-310OSX").change(function(){ if(jQuery("#input-685Y-310OSX").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-685Y-310OSX]").length === 0) { jQuery("[id^=note-951]").append("
(N/A with 685Y-310OSX - Black Edition Package - Yamaha)
"); } jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-951]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-951-685Y-310OSX]").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-685Y-310OSX"); //alert(jQuery("[id^=input-685Y-310OSX]").attr("title")); //alert(jQuery("[id^=input-685Y-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-685Y-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-685Y-310OSX").prop("checked")) { jQuery("#input-685Y-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-685Y-310OSX"); //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-685Y-310OSX-951]").length === 0) { jQuery("#note-685Y-310OSX").append("
(N/A with 951 )
"); } jQuery("[id^=input-685Y-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-685Y-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-685Y-310OSX-951]").remove(); jQuery("[id^=input-685Y-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704S-310OSX").change(function(){ if(jQuery("#input-704S-310OSX").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-310OSX]").length === 0) { jQuery("[id^=note-592C]").append("
(N/A with 704S-310OSX - 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-310OSX]").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-310OSX"); //alert(jQuery("[id^=input-704S-310OSX]").attr("title")); //alert(jQuery("[id^=input-704S-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704S-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704S-310OSX").prop("checked")) { jQuery("#input-704S-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704S-310OSX"); //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-310OSX-592C]").length === 0) { jQuery("#note-704S-310OSX").append("
(N/A with 592C )
"); } jQuery("[id^=input-704S-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704S-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704S-310OSX-592C]").remove(); jQuery("[id^=input-704S-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-704C-310OSX").change(function(){ if(jQuery("#input-704C-310OSX").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-310OSX]").length === 0) { jQuery("[id^=note-592S]").append("
(N/A with 704C-310OSX - 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-310OSX]").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-310OSX"); //alert(jQuery("[id^=input-704C-310OSX]").attr("title")); //alert(jQuery("[id^=input-704C-310OSX]").is(":checked")); // disable the includes and unchecks it jQuery("#input-704C-310OSX").prop("disabled", true); // determine if checked if(jQuery("#input-704C-310OSX").prop("checked")) { jQuery("#input-704C-310OSX").removeAttr("checked").change(); } //console.log("if of reverse input-704C-310OSX"); //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-310OSX-592S]").length === 0) { jQuery("#note-704C-310OSX").append("
(N/A with 592S )
"); } jQuery("[id^=input-704C-310OSX]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-704C-310OSX").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-704C-310OSX-592S]").remove(); jQuery("[id^=input-704C-310OSX]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-979-310OSXBE").change(function(){ if(jQuery("#input-979-310OSXBE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-310OSXBE]").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-310OSXBE]").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); } 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-310OSXBE-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-310OSXBE]").hide(); jQuery("[id^=note-single-required-by-979-310OSXBE]").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-310OSXBE]").remove(); } }); // end click listener jQuery("#input-979-310OSXBE").change(function(){ if(jQuery("#input-979-310OSXBE").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-979-310OSXBE]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-979-310OSXBE]").hide(); jQuery("[id^=note-single-required-by-979-310OSXBE]").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-310OSXBE]").remove(); } }); // 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); } 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(); } }); // end click listener jQuery("#input-535-310OSX").change(function(){ if(jQuery("#input-535-310OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-310OSX]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-535-310OSX]").hide(); jQuery("[id^=note-single-required-by-535-310OSX]").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(); } }); // end click listener jQuery("#input-535-310OSX").change(function(){ if(jQuery("#input-535-310OSX").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-535-310OSX]").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-310OSX]").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); } 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-310OSX-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-310OSX]").hide(); jQuery("[id^=note-single-required-by-535-310OSX]").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-310OSX]").remove(); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ option_group_data["950-310OSXBLK"] = {}; option_group_data["950-310OSXBLK"]["part_groups"] = new Array(); option_group_data["950-310OSXBLK"]["part_groups"].push("10"); option_group_data["950-310OSXSTL"] = {}; option_group_data["950-310OSXSTL"]["part_groups"] = new Array(); option_group_data["950-310OSXSTL"]["part_groups"].push("70"); option_group_data["950-310OSXICE"] = {}; option_group_data["950-310OSXICE"]["part_groups"] = new Array(); option_group_data["950-310OSXICE"]["part_groups"].push("60"); option_group_data["950-310OSXBLU"] = {}; option_group_data["950-310OSXBLU"]["part_groups"] = new Array(); option_group_data["950-310OSXBLU"]["part_groups"].push("20"); option_group_data["950-310OSXWHT"] = {}; option_group_data["950-310OSXWHT"]["part_groups"] = new Array(); option_group_data["950-310OSXWHT"]["part_groups"].push("50"); option_group_data["950-310OSXALY"] = {}; option_group_data["950-310OSXALY"]["part_groups"] = new Array(); option_group_data["950-310OSXALY"]["part_groups"].push("30"); option_group_data["950-310OSXGRN"] = {}; option_group_data["950-310OSXGRN"]["part_groups"] = new Array(); option_group_data["950-310OSXGRN"]["part_groups"].push("40"); option_group_data["373W-310OSX"] = {}; option_group_data["373W-310OSX"]["part_groups"] = new Array(); option_group_data["373W-310OSX"]["part_groups"].push("79"); option_group_data["373W-310OSX"]["part_groups"].push("78"); option_group_data["267D300XSBTW"] = {}; option_group_data["267D300XSBTW"]["available_with"] = new Array(); option_group_data["267D300XSBTW"]["available_with_compound"] = new Array(); option_group_data["267D300XSBTW"]["available_with"].push("79"); option_group_data["677W-310OSX"] = {}; option_group_data["677W-310OSX"]["available_with"] = new Array(); option_group_data["677W-310OSX"]["available_with_compound"] = new Array(); option_group_data["677W-310OSX"]["available_with"].push("78"); option_group_data["532-310OSX"] = {}; option_group_data["532-310OSX"]["part_groups"] = new Array(); option_group_data["532-310OSX"]["part_groups"].push("21"); option_group_data["532-310OSX"]["part_groups"].push("11"); option_group_data["636-310OSX"] = {}; option_group_data["636-310OSX"]["part_groups"] = new Array(); option_group_data["636-310OSX"]["part_groups"].push("22"); option_group_data["636-310OSX"]["part_groups"].push("11"); option_group_data["637-310OSX"] = {}; option_group_data["637-310OSX"]["part_groups"] = new Array(); option_group_data["637-310OSX"]["part_groups"].push("24"); option_group_data["637-310OSX"]["part_groups"].push("11"); option_group_data["638B-310OSX"] = {}; option_group_data["638B-310OSX"]["part_groups"] = new Array(); option_group_data["638B-310OSX"]["available_with"] = new Array(); option_group_data["638B-310OSX"]["available_with_compound"] = new Array(); option_group_data["638B-310OSX"]["part_groups"].push("27"); option_group_data["638B-310OSX"]["part_groups"].push("95"); option_group_data["638B-310OSX"]["part_groups"].push("65"); option_group_data["638B-310OSX"]["available_with"].push("18"); option_group_data["638M-310OSX"] = {}; option_group_data["638M-310OSX"]["part_groups"] = new Array(); option_group_data["638M-310OSX"]["part_groups"].push("27"); option_group_data["638M-310OSX"]["part_groups"].push("95"); option_group_data["638M-310OSX"]["part_groups"].push("65"); option_group_data["638Y-310OSX"] = {}; option_group_data["638Y-310OSX"]["part_groups"] = new Array(); option_group_data["638Y-310OSX"]["part_groups"].push("27"); option_group_data["638Y-310OSX"]["part_groups"].push("95"); option_group_data["638Y-310OSX"]["part_groups"].push("65"); option_group_data["535-310OSX"] = {}; option_group_data["535-310OSX"]["part_groups"] = new Array(); option_group_data["535-310OSX"]["part_groups"].push("27"); option_group_data["535-310OSX"]["part_groups"].push("98"); option_group_data["STANDARD_ARCH"] = {}; option_group_data["STANDARD_ARCH"]["part_groups"] = new Array(); option_group_data["STANDARD_ARCH"]["part_groups"].push("3"); option_group_data["731B-310OSX"] = {}; option_group_data["731B-310OSX"]["part_groups"] = new Array(); option_group_data["731B-310OSX"]["part_groups"].push("4"); option_group_data["716W-310OSXCYN"] = {}; option_group_data["716W-310OSXCYN"]["available_with"] = new Array(); option_group_data["716W-310OSXCYN"]["available_with_compound"] = new Array(); option_group_data["716W-310OSXCYN"]["available_with"].push("27"); option_group_data["716B-310OSXCYN"] = {}; option_group_data["716B-310OSXCYN"]["available_with"] = new Array(); option_group_data["716B-310OSXCYN"]["available_with_compound"] = new Array(); option_group_data["716B-310OSXCYN"]["available_with"].push("27"); option_group_data["685B-310OSX"] = {}; option_group_data["685B-310OSX"]["part_groups"] = new Array(); option_group_data["685B-310OSX"]["available_with"] = new Array(); option_group_data["685B-310OSX"]["available_with_compound"] = new Array(); option_group_data["685B-310OSX"]["part_groups"].push("65"); option_group_data["685B-310OSX"]["available_with"].push("18"); option_group_data["685M-310OSX"] = {}; option_group_data["685M-310OSX"]["part_groups"] = new Array(); option_group_data["685M-310OSX"]["part_groups"].push("65"); option_group_data["685Y-310OSX"] = {}; option_group_data["685Y-310OSX"]["part_groups"] = new Array(); option_group_data["685Y-310OSX"]["part_groups"].push("65"); option_group_data["560-310OSXCYN"] = {}; option_group_data["560-310OSXCYN"]["available_with"] = new Array(); option_group_data["560-310OSXCYN"]["available_with_compound"] = new Array(); option_group_data["560-310OSXCYN"]["available_with"].push("95"); option_group_data["560-310OSXWHT"] = {}; option_group_data["560-310OSXWHT"]["available_with"] = new Array(); option_group_data["560-310OSXWHT"]["available_with_compound"] = new Array(); option_group_data["560-310OSXWHT"]["available_with"].push("21"); option_group_data["560-310OSXBE"] = {}; option_group_data["560-310OSXBE"]["available_with"] = new Array(); option_group_data["560-310OSXBE"]["available_with_compound"] = new Array(); option_group_data["560-310OSXBE"]["available_with"].push("98"); option_group_data["560-310OSXLNR"] = {}; option_group_data["560-310OSXLNR"]["available_with"] = new Array(); option_group_data["560-310OSXLNR"]["available_with_compound"] = new Array(); option_group_data["560-310OSXLNR"]["available_with"].push("22"); option_group_data["560-310OSXSDW"] = {}; option_group_data["560-310OSXSDW"]["available_with"] = new Array(); option_group_data["560-310OSXSDW"]["available_with_compound"] = new Array(); option_group_data["560-310OSXSDW"]["available_with"].push("24"); option_group_data["592S-310OSX"] = {}; option_group_data["592S-310OSX"]["available_with"] = new Array(); option_group_data["592S-310OSX"]["available_with_compound"] = new Array(); option_group_data["592S-310OSX"]["available_with"].push("11"); option_group_data["592C-310OSX"] = {}; option_group_data["592C-310OSX"]["available_with"] = new Array(); option_group_data["592C-310OSX"]["available_with_compound"] = new Array(); option_group_data["592C-310OSX"]["available_with"].push("27"); option_group_data["704S-310OSX"] = {}; option_group_data["704S-310OSX"]["available_with"] = new Array(); option_group_data["704S-310OSX"]["available_with_compound"] = new Array(); option_group_data["704S-310OSX"]["available_with"].push("11"); option_group_data["704C-310OSX"] = {}; option_group_data["704C-310OSX"]["available_with"] = new Array(); option_group_data["704C-310OSX"]["available_with_compound"] = new Array(); option_group_data["704C-310OSX"]["available_with"].push("27"); }); // 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() });