jQuery(document).ready(function(){ }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-950]"); //alert(jQuery("[id^=input-950]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-950]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-950]").prop("checked")) { jQuery("[id^=input-950]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-950-904-OB23SSI]").length === 0) { jQuery("[id^=note-950]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-950]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-950-904-OB23SSI]").remove(); jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-950]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-950]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 950 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-950]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-971]"); //alert(jQuery("[id^=input-971]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-971]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-971]").prop("checked")) { jQuery("[id^=input-971]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-971-904-OB23SSI]").length === 0) { jQuery("[id^=note-971]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-971]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-971]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-971-904-OB23SSI]").remove(); jQuery("[id^=input-971]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-971]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-971]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 971 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-971]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-972]"); //alert(jQuery("[id^=input-972]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-972]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-972]").prop("checked")) { jQuery("[id^=input-972]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-972-904-OB23SSI]").length === 0) { jQuery("[id^=note-972]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-972]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-972]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-972-904-OB23SSI]").remove(); jQuery("[id^=input-972]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-972]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-972]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 972 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-972]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-973]"); //alert(jQuery("[id^=input-973]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-973]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-973]").prop("checked")) { jQuery("[id^=input-973]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-973-904-OB23SSI]").length === 0) { jQuery("[id^=note-973]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-973]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-973]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-973-904-OB23SSI]").remove(); jQuery("[id^=input-973]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-973]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-973]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 973 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-973]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-974]"); //alert(jQuery("[id^=input-974]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-974]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-974]").prop("checked")) { jQuery("[id^=input-974]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-974-904-OB23SSI]").length === 0) { jQuery("[id^=note-974]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-974]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-974]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-974-904-OB23SSI]").remove(); jQuery("[id^=input-974]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-974]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-974]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 974 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-974]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-976]"); //alert(jQuery("[id^=input-976]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-976]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-976]").prop("checked")) { jQuery("[id^=input-976]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-976-904-OB23SSI]").length === 0) { jQuery("[id^=note-976]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-976]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-976]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-976-904-OB23SSI]").remove(); jQuery("[id^=input-976]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-976]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-976]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 976 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-976]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-925]"); //alert(jQuery("[id^=input-925]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-925]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-925]").prop("checked")) { jQuery("[id^=input-925]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-925-904-OB23SSI]").length === 0) { jQuery("[id^=note-925]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-925]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-925]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-925-904-OB23SSI]").remove(); jQuery("[id^=input-925]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-925]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-925]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 925 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-925]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-926]"); //alert(jQuery("[id^=input-926]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-926]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-926]").prop("checked")) { jQuery("[id^=input-926]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-926-904-OB23SSI]").length === 0) { jQuery("[id^=note-926]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-926]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-926]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-926-904-OB23SSI]").remove(); jQuery("[id^=input-926]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-926]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-926]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 926 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-926]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-927]"); //alert(jQuery("[id^=input-927]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-927]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-927]").prop("checked")) { jQuery("[id^=input-927]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-927-904-OB23SSI]").length === 0) { jQuery("[id^=note-927]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-927]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-927]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-927-904-OB23SSI]").remove(); jQuery("[id^=input-927]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-927]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-927]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 927 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-927]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-931]"); //alert(jQuery("[id^=input-931]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-931]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-931]").prop("checked")) { jQuery("[id^=input-931]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-931-904-OB23SSI]").length === 0) { jQuery("[id^=note-931]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-931]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-931]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-931-904-OB23SSI]").remove(); jQuery("[id^=input-931]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-931]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-931]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 931 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-931]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-904-OB23SSI").change(function(){ if(jQuery("#input-904-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-928]"); //alert(jQuery("[id^=input-928]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-928]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-928]").prop("checked")) { jQuery("[id^=input-928]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-928-904-OB23SSI]").length === 0) { jQuery("[id^=note-928]").append("
(N/A with 904-OB23SSI - Black Hull Bottom)
"); } jQuery("[id^=input-928]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-928]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-928-904-OB23SSI]").remove(); jQuery("[id^=input-928]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-928]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-904-OB23SSI"); //alert(jQuery("[id^=input-904-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-904-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-904-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-904-OB23SSI").prop("checked")) { jQuery("#input-904-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-904-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-904-OB23SSI-928]").length === 0) { jQuery("#note-904-OB23SSI").append("
(N/A with 928 )
"); } jQuery("[id^=input-904-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-904-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-904-OB23SSI-928]").remove(); jQuery("[id^=input-904-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSIBLK").change(function(){ if(jQuery("#input-652-OB23SSIBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").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-692B-652-OB23SSIBLK]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-OB23SSIBLK - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-OB23SSIBLK]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSIBLK"); //alert(jQuery("[id^=input-652-OB23SSIBLK]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSIBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSIBLK").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSIBLK").prop("checked")) { jQuery("#input-652-OB23SSIBLK").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSIBLK"); //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-652-OB23SSIBLK-692B]").length === 0) { jQuery("#note-652-OB23SSIBLK").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-OB23SSIBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSIBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSIBLK-692B]").remove(); jQuery("[id^=input-652-OB23SSIBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSIBLK").change(function(){ if(jQuery("#input-652-OB23SSIBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").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-692W-652-OB23SSIBLK]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-OB23SSIBLK - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-OB23SSIBLK]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSIBLK"); //alert(jQuery("[id^=input-652-OB23SSIBLK]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSIBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSIBLK").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSIBLK").prop("checked")) { jQuery("#input-652-OB23SSIBLK").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSIBLK"); //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-652-OB23SSIBLK-692W]").length === 0) { jQuery("#note-652-OB23SSIBLK").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-OB23SSIBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSIBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSIBLK-692W]").remove(); jQuery("[id^=input-652-OB23SSIBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSIBLU").change(function(){ if(jQuery("#input-652-OB23SSIBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").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-692B-652-OB23SSIBLU]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-OB23SSIBLU - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-OB23SSIBLU]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSIBLU"); //alert(jQuery("[id^=input-652-OB23SSIBLU]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSIBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSIBLU").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSIBLU").prop("checked")) { jQuery("#input-652-OB23SSIBLU").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSIBLU"); //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-652-OB23SSIBLU-692B]").length === 0) { jQuery("#note-652-OB23SSIBLU").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-OB23SSIBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSIBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSIBLU-692B]").remove(); jQuery("[id^=input-652-OB23SSIBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSIBLU").change(function(){ if(jQuery("#input-652-OB23SSIBLU").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").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-692W-652-OB23SSIBLU]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-OB23SSIBLU - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-OB23SSIBLU]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSIBLU"); //alert(jQuery("[id^=input-652-OB23SSIBLU]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSIBLU]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSIBLU").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSIBLU").prop("checked")) { jQuery("#input-652-OB23SSIBLU").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSIBLU"); //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-652-OB23SSIBLU-692W]").length === 0) { jQuery("#note-652-OB23SSIBLU").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-OB23SSIBLU]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSIBLU").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSIBLU-692W]").remove(); jQuery("[id^=input-652-OB23SSIBLU]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSIFRE").change(function(){ if(jQuery("#input-652-OB23SSIFRE").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").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-692B-652-OB23SSIFRE]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-OB23SSIFRE - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-OB23SSIFRE]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSIFRE"); //alert(jQuery("[id^=input-652-OB23SSIFRE]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSIFRE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSIFRE").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSIFRE").prop("checked")) { jQuery("#input-652-OB23SSIFRE").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSIFRE"); //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-652-OB23SSIFRE-692B]").length === 0) { jQuery("#note-652-OB23SSIFRE").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-OB23SSIFRE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSIFRE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSIFRE-692B]").remove(); jQuery("[id^=input-652-OB23SSIFRE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSIFRE").change(function(){ if(jQuery("#input-652-OB23SSIFRE").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").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-692W-652-OB23SSIFRE]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-OB23SSIFRE - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-OB23SSIFRE]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSIFRE"); //alert(jQuery("[id^=input-652-OB23SSIFRE]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSIFRE]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSIFRE").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSIFRE").prop("checked")) { jQuery("#input-652-OB23SSIFRE").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSIFRE"); //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-652-OB23SSIFRE-692W]").length === 0) { jQuery("#note-652-OB23SSIFRE").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-OB23SSIFRE]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSIFRE").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSIFRE-692W]").remove(); jQuery("[id^=input-652-OB23SSIFRE]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSISBL").change(function(){ if(jQuery("#input-652-OB23SSISBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").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-692B-652-OB23SSISBL]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 652-OB23SSISBL - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-652-OB23SSISBL]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSISBL"); //alert(jQuery("[id^=input-652-OB23SSISBL]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSISBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSISBL").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSISBL").prop("checked")) { jQuery("#input-652-OB23SSISBL").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSISBL"); //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-652-OB23SSISBL-692B]").length === 0) { jQuery("#note-652-OB23SSISBL").append("
(N/A with 692B )
"); } jQuery("[id^=input-652-OB23SSISBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSISBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSISBL-692B]").remove(); jQuery("[id^=input-652-OB23SSISBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-652-OB23SSISBL").change(function(){ if(jQuery("#input-652-OB23SSISBL").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").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-692W-652-OB23SSISBL]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 652-OB23SSISBL - Cockpit and Bow Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-652-OB23SSISBL]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-652-OB23SSISBL"); //alert(jQuery("[id^=input-652-OB23SSISBL]").attr("title")); //alert(jQuery("[id^=input-652-OB23SSISBL]").is(":checked")); // disable the includes and unchecks it jQuery("#input-652-OB23SSISBL").prop("disabled", true); // determine if checked if(jQuery("#input-652-OB23SSISBL").prop("checked")) { jQuery("#input-652-OB23SSISBL").removeAttr("checked").change(); } //console.log("if of reverse input-652-OB23SSISBL"); //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-652-OB23SSISBL-692W]").length === 0) { jQuery("#note-652-OB23SSISBL").append("
(N/A with 692W )
"); } jQuery("[id^=input-652-OB23SSISBL]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-652-OB23SSISBL").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-652-OB23SSISBL-692W]").remove(); jQuery("[id^=input-652-OB23SSISBL]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-OB23SSI").change(function(){ if(jQuery("#input-619NWT-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").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-692B-619NWT-OB23SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 619NWT-OB23SSI - Mooring Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-619NWT-OB23SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-OB23SSI"); //alert(jQuery("[id^=input-619NWT-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-OB23SSI").prop("checked")) { jQuery("#input-619NWT-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-OB23SSI"); //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-619NWT-OB23SSI-692B]").length === 0) { jQuery("#note-619NWT-OB23SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-619NWT-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-OB23SSI-692B]").remove(); jQuery("[id^=input-619NWT-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-OB23SSI").change(function(){ if(jQuery("#input-619NWT-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").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-692W-619NWT-OB23SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 619NWT-OB23SSI - Mooring Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-619NWT-OB23SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-OB23SSI"); //alert(jQuery("[id^=input-619NWT-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-OB23SSI").prop("checked")) { jQuery("#input-619NWT-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-OB23SSI"); //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-619NWT-OB23SSI-692W]").length === 0) { jQuery("#note-619NWT-OB23SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-619NWT-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-OB23SSI-692W]").remove(); jQuery("[id^=input-619NWT-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWT-OB23SSI").change(function(){ if(jQuery("#input-619NWT-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-760-619NWT-OB23SSI]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 619NWT-OB23SSI - Mooring Cover)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-619NWT-OB23SSI]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWT-OB23SSI"); //alert(jQuery("[id^=input-619NWT-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-619NWT-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWT-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWT-OB23SSI").prop("checked")) { jQuery("#input-619NWT-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWT-OB23SSI"); //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-619NWT-OB23SSI-760]").length === 0) { jQuery("#note-619NWT-OB23SSI").append("
(N/A with 760 )
"); } jQuery("[id^=input-619NWT-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWT-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWT-OB23SSI-760]").remove(); jQuery("[id^=input-619NWT-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTST-OB23SSI").change(function(){ if(jQuery("#input-619NWTST-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692B]"); //alert(jQuery("[id^=input-692B]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692B]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692B]").prop("checked")) { jQuery("[id^=input-692B]").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-692B-619NWTST-OB23SSI]").length === 0) { jQuery("[id^=note-692B]").append("
(N/A with 619NWTST-OB23SSI - Mooring Cover)
"); } jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692B]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692B-619NWTST-OB23SSI]").remove(); jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692B]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTST-OB23SSI"); //alert(jQuery("[id^=input-619NWTST-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTST-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTST-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTST-OB23SSI").prop("checked")) { jQuery("#input-619NWTST-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTST-OB23SSI"); //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-619NWTST-OB23SSI-692B]").length === 0) { jQuery("#note-619NWTST-OB23SSI").append("
(N/A with 692B )
"); } jQuery("[id^=input-619NWTST-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTST-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTST-OB23SSI-692B]").remove(); jQuery("[id^=input-619NWTST-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619NWTST-OB23SSI").change(function(){ if(jQuery("#input-619NWTST-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-692W]"); //alert(jQuery("[id^=input-692W]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-692W]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-692W]").prop("checked")) { jQuery("[id^=input-692W]").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-692W-619NWTST-OB23SSI]").length === 0) { jQuery("[id^=note-692W]").append("
(N/A with 619NWTST-OB23SSI - Mooring Cover)
"); } jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-692W]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-692W-619NWTST-OB23SSI]").remove(); jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-692W]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619NWTST-OB23SSI"); //alert(jQuery("[id^=input-619NWTST-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-619NWTST-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619NWTST-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619NWTST-OB23SSI").prop("checked")) { jQuery("#input-619NWTST-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619NWTST-OB23SSI"); //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-619NWTST-OB23SSI-692W]").length === 0) { jQuery("#note-619NWTST-OB23SSI").append("
(N/A with 692W )
"); } jQuery("[id^=input-619NWTST-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619NWTST-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619NWTST-OB23SSI-692W]").remove(); jQuery("[id^=input-619NWTST-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-619WT-OB23SSI").change(function(){ if(jQuery("#input-619WT-OB23SSI").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-760-619WT-OB23SSI]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 619WT-OB23SSI - Mooring Cover)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-619WT-OB23SSI]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-619WT-OB23SSI"); //alert(jQuery("[id^=input-619WT-OB23SSI]").attr("title")); //alert(jQuery("[id^=input-619WT-OB23SSI]").is(":checked")); // disable the includes and unchecks it jQuery("#input-619WT-OB23SSI").prop("disabled", true); // determine if checked if(jQuery("#input-619WT-OB23SSI").prop("checked")) { jQuery("#input-619WT-OB23SSI").removeAttr("checked").change(); } //console.log("if of reverse input-619WT-OB23SSI"); //alert("shoudl be disabled"); // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-619WT-OB23SSI-760]").length === 0) { jQuery("#note-619WT-OB23SSI").append("
(N/A with 760 )
"); } jQuery("[id^=input-619WT-OB23SSI]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-619WT-OB23SSI").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-619WT-OB23SSI-760]").remove(); jQuery("[id^=input-619WT-OB23SSI]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-695-OB23SSIC").change(function(){ if(jQuery("#input-695-OB23SSIC").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-760-695-OB23SSIC]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 695-OB23SSIC - Seadek Swim Platform Mat)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-695-OB23SSIC]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-695-OB23SSIC"); //alert(jQuery("[id^=input-695-OB23SSIC]").attr("title")); //alert(jQuery("[id^=input-695-OB23SSIC]").is(":checked")); // disable the includes and unchecks it jQuery("#input-695-OB23SSIC").prop("disabled", true); // determine if checked if(jQuery("#input-695-OB23SSIC").prop("checked")) { jQuery("#input-695-OB23SSIC").removeAttr("checked").change(); } //console.log("if of reverse input-695-OB23SSIC"); //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-695-OB23SSIC-760]").length === 0) { jQuery("#note-695-OB23SSIC").append("
(N/A with 760 )
"); } jQuery("[id^=input-695-OB23SSIC]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-695-OB23SSIC").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-695-OB23SSIC-760]").remove(); jQuery("[id^=input-695-OB23SSIC]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-695-OB23SSIG").change(function(){ if(jQuery("#input-695-OB23SSIG").prop("checked")) { //alert("na_with here"); //alert("[id^=input-760]"); //alert(jQuery("[id^=input-760]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-760]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-760]").prop("checked")) { jQuery("[id^=input-760]").prop("checked",false).change(); } // add a note to the disable option to tell why this is disabled and not available if(jQuery("[id^=note-single-na_with-760-695-OB23SSIG]").length === 0) { jQuery("[id^=note-760]").append("
(N/A with 695-OB23SSIG - Seadek Swim Platform Mat)
"); } jQuery("[id^=input-760]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-760]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-760-695-OB23SSIG]").remove(); jQuery("[id^=input-760]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-760]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-695-OB23SSIG"); //alert(jQuery("[id^=input-695-OB23SSIG]").attr("title")); //alert(jQuery("[id^=input-695-OB23SSIG]").is(":checked")); // disable the includes and unchecks it jQuery("#input-695-OB23SSIG").prop("disabled", true); // determine if checked if(jQuery("#input-695-OB23SSIG").prop("checked")) { jQuery("#input-695-OB23SSIG").removeAttr("checked").change(); } //console.log("if of reverse input-695-OB23SSIG"); //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-695-OB23SSIG-760]").length === 0) { jQuery("#note-695-OB23SSIG").append("
(N/A with 760 )
"); } jQuery("[id^=input-695-OB23SSIG]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-695-OB23SSIG").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-695-OB23SSIG-760]").remove(); jQuery("[id^=input-695-OB23SSIG]").parent().parent().removeClass("byb_option_red"); } }); // end click listener jQuery("#input-686-OB23SSIBLK").change(function(){ if(jQuery("#input-686-OB23SSIBLK").prop("checked")) { //alert("na_with here"); //alert("[id^=input-688]"); //alert(jQuery("[id^=input-688]").attr("title")); // disable the includes and unchecks it jQuery("[id^=input-688]").prop("disabled", true); // determine if already checked if(jQuery("[id^=input-688]").prop("checked")) { jQuery("[id^=input-688]").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-688-686-OB23SSIBLK]").length === 0) { jQuery("[id^=note-688]").append("
(N/A with 686-OB23SSIBLK - Spare Tire Kit - Galvanized Wheel)
"); } jQuery("[id^=input-688]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("[id^=input-688]").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-688-686-OB23SSIBLK]").remove(); jQuery("[id^=input-688]").parent().parent().removeClass("byb_option_red"); } }); // end click listener // reverse jQuery("[id^=input-688]").change(function(){ if(jQuery(this).prop("checked")) { //alert("input-686-OB23SSIBLK"); //alert(jQuery("[id^=input-686-OB23SSIBLK]").attr("title")); //alert(jQuery("[id^=input-686-OB23SSIBLK]").is(":checked")); // disable the includes and unchecks it jQuery("#input-686-OB23SSIBLK").prop("disabled", true); // determine if checked if(jQuery("#input-686-OB23SSIBLK").prop("checked")) { jQuery("#input-686-OB23SSIBLK").removeAttr("checked").change(); } //console.log("if of reverse input-686-OB23SSIBLK"); //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-686-OB23SSIBLK-688]").length === 0) { jQuery("#note-686-OB23SSIBLK").append("
(N/A with 688 )
"); } jQuery("[id^=input-686-OB23SSIBLK]").parent().parent().addClass("byb_option_red"); } // here we reverse out everything from above else { // enable the na with jQuery("#input-686-OB23SSIBLK").prop("disabled",false); // remove the option note jQuery("[id^=note-single-na_with-686-OB23SSIBLK-688]").remove(); jQuery("[id^=input-686-OB23SSIBLK]").parent().parent().removeClass("byb_option_red"); } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ jQuery("#input-956-OB23SSI").change(function(){ if(jQuery("#input-956-OB23SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-956-OB23SSI]").show(); // set the parent div to the yellow class jQuery(this).parent().parent().addClass("byb_option_yellow"); // add a statement that only exists if this is a single require // lets make sure this option isnt already required. // this is a hack against two options requiring each other resulting in an infinite loop if(jQuery("[id^=note-single-required-by-904-956-OB23SSI]").length === 0) { // check the required item // if this is not in an overwrite group //if(jQuery("[id^=input-904]").prop("type") != "radio") if(jQuery("[id^=input-904]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group")){ jQuery("[id^=input-904]").prop("disabled", true); } else if(jQuery("[id^=input-904]").prop("type") == "radio"){ // here we have a radio group // disable the entire group //jQuery("input[name=jQuery("input[id^=input-904]").attr("name")]").attr("disabled",true); var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log(temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",true); // enable this option jQuery("[id^=input-904]").prop("disabled", false); } if(!jQuery("[id^=input-904]").prop("checked")){ jQuery("[id^=input-904]").prop("checked", true).change(); } // run a price tally - wasnt calculating proper cost 2/6/13 - rusty checked_boxes_price_tally(); // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().addClass("byb_option_yellow"); // add a note stating why this option is checked jQuery("[id^=note-904]").append("
(Required By: 956-OB23SSI-Wide Band Hull - White)
"); } } // here we reverse out everything from above else { // set the parent div to the normal class jQuery(this).parent().parent().removeClass("byb_option_yellow"); // remove the requires note jQuery("[id^=note-single-requires-956-OB23SSI]").hide(); jQuery("[id^=note-single-required-by-956-OB23SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-OB23SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-619WTST-OB23SSI").change(function(){ if(jQuery("#input-619WTST-OB23SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-619WTST-OB23SSI]").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-619WTST-OB23SSI]").hide(); jQuery("[id^=note-single-required-by-619WTST-OB23SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-OB23SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-695ST-OB23SSIC").change(function(){ if(jQuery("#input-695ST-OB23SSIC").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-695ST-OB23SSIC]").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-695ST-OB23SSIC]").hide(); jQuery("[id^=note-single-required-by-695ST-OB23SSIC]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-OB23SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-695ST-OB23SSIG").change(function(){ if(jQuery("#input-695ST-OB23SSIG").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-695ST-OB23SSIG]").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-695ST-OB23SSIG]").hide(); jQuery("[id^=note-single-required-by-695ST-OB23SSIG]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-OB23SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-796-OB23SSI").change(function(){ if(jQuery("#input-796-OB23SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-796-OB23SSI]").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-796-OB23SSI]").hide(); jQuery("[id^=note-single-required-by-796-OB23SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-OB23SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener jQuery("#input-697-OB23SSI").change(function(){ if(jQuery("#input-697-OB23SSI").prop("checked")) { // set a note for this option that other options are required jQuery("[id^=note-single-requires-697-OB23SSI]").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-697-OB23SSI]").hide(); jQuery("[id^=note-single-required-by-697-OB23SSI]").hide(); // add a statement that only exists if this was a single require and it reverses the notes and colors above // set the parent div of the required option the yellow class jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow"); jQuery("[id^=input-904]").prop("disabled", false); // add a note stating why this option is checked jQuery("[id^=note-single-required-by-904-956-OB23SSI]").remove(); // if this is a radio group we need to re-enable it if(jQuery("[id^=input-904]").prop("type") == "radio"){ // enable the entire group var temp_name = ""; temp_name = jQuery("input[id^=input-904]").attr("name"); console.log("z-"+temp_name); jQuery("input[name="+temp_name+"]").attr("disabled",false); } } }); // end click listener }); // end of document ready jQuery(document).ready(function(){ option_group_data["327-OB23SSI"] = {}; option_group_data["327-OB23SSI"]["part_groups"] = new Array(); option_group_data["327-OB23SSI"]["part_groups"].push("1"); option_group_data["341-OB23SSI"] = {}; option_group_data["341-OB23SSI"]["part_groups"] = new Array(); option_group_data["341-OB23SSI"]["part_groups"].push("2"); option_group_data["369-OB23SSI"] = {}; option_group_data["369-OB23SSI"]["part_groups"] = new Array(); option_group_data["369-OB23SSI"]["part_groups"].push("3"); option_group_data["382-OB23SSI"] = {}; option_group_data["382-OB23SSI"]["part_groups"] = new Array(); option_group_data["382-OB23SSI"]["part_groups"].push("9"); option_group_data["266D200XC"] = {}; option_group_data["266D200XC"]["available_with"] = new Array(); option_group_data["266D200XC"]["available_with_compound"] = new Array(); option_group_data["266D200XC"]["available_with"].push("2"); option_group_data["266D250VMAX"] = {}; option_group_data["266D250VMAX"]["available_with"] = new Array(); option_group_data["266D250VMAX"]["available_with_compound"] = new Array(); option_group_data["266D250VMAX"]["available_with"].push("3"); option_group_data["266D250XCB"] = {}; option_group_data["266D250XCB"]["available_with"] = new Array(); option_group_data["266D250XCB"]["available_with_compound"] = new Array(); option_group_data["266D250XCB"]["available_with"].push("9"); option_group_data["692B-OB23SSIBLK"] = {}; option_group_data["692B-OB23SSIBLK"]["part_groups"] = new Array(); option_group_data["692B-OB23SSIBLK"]["part_groups"].push("7"); option_group_data["692B-OB23SSIFRE"] = {}; option_group_data["692B-OB23SSIFRE"]["part_groups"] = new Array(); option_group_data["692B-OB23SSIFRE"]["part_groups"].push("7"); option_group_data["692B-OB23SSIBLU"] = {}; option_group_data["692B-OB23SSIBLU"]["part_groups"] = new Array(); option_group_data["692B-OB23SSIBLU"]["part_groups"].push("7"); option_group_data["692B-OB23SSISBL"] = {}; option_group_data["692B-OB23SSISBL"]["part_groups"] = new Array(); option_group_data["692B-OB23SSISBL"]["part_groups"].push("7"); option_group_data["692W-OB23SSIBLK"] = {}; option_group_data["692W-OB23SSIBLK"]["part_groups"] = new Array(); option_group_data["692W-OB23SSIBLK"]["part_groups"].push("6"); option_group_data["692W-OB23SSIBLU"] = {}; option_group_data["692W-OB23SSIBLU"]["part_groups"] = new Array(); option_group_data["692W-OB23SSIBLU"]["part_groups"].push("6"); option_group_data["692W-OB23SSIFRE"] = {}; option_group_data["692W-OB23SSIFRE"]["part_groups"] = new Array(); option_group_data["692W-OB23SSIFRE"]["part_groups"].push("6"); option_group_data["692W-OB23SSISBL"] = {}; option_group_data["692W-OB23SSISBL"]["part_groups"] = new Array(); option_group_data["692W-OB23SSISBL"]["part_groups"].push("6"); option_group_data["652WT-OB23SSIBLK"] = {}; option_group_data["652WT-OB23SSIBLK"]["available_with"] = new Array(); option_group_data["652WT-OB23SSIBLK"]["available_with_compound"] = new Array(); option_group_data["652WT-OB23SSIBLK"]["available_with"].push("7"); option_group_data["652WT-OB23SSIBLK"]["available_with"].push("6"); option_group_data["652WT-OB23SSIBLU"] = {}; option_group_data["652WT-OB23SSIBLU"]["available_with"] = new Array(); option_group_data["652WT-OB23SSIBLU"]["available_with_compound"] = new Array(); option_group_data["652WT-OB23SSIBLU"]["available_with"].push("7"); option_group_data["652WT-OB23SSIBLU"]["available_with"].push("6"); option_group_data["652WT-OB23SSIFRE"] = {}; option_group_data["652WT-OB23SSIFRE"]["available_with"] = new Array(); option_group_data["652WT-OB23SSIFRE"]["available_with_compound"] = new Array(); option_group_data["652WT-OB23SSIFRE"]["available_with"].push("7"); option_group_data["652WT-OB23SSIFRE"]["available_with"].push("6"); option_group_data["652WT-OB23SSISBL"] = {}; option_group_data["652WT-OB23SSISBL"]["available_with"] = new Array(); option_group_data["652WT-OB23SSISBL"]["available_with_compound"] = new Array(); option_group_data["652WT-OB23SSISBL"]["available_with"].push("7"); option_group_data["652WT-OB23SSISBL"]["available_with"].push("6"); option_group_data["619NWTST-OB23SSI"] = {}; option_group_data["619NWTST-OB23SSI"]["available_with"] = new Array(); option_group_data["619NWTST-OB23SSI"]["available_with_compound"] = new Array(); option_group_data["619NWTST-OB23SSI"]["available_with"].push("12"); option_group_data["619WT-OB23SSI"] = {}; option_group_data["619WT-OB23SSI"]["available_with"] = new Array(); option_group_data["619WT-OB23SSI"]["available_with_compound"] = new Array(); option_group_data["619WT-OB23SSI"]["available_with"].push("6"); option_group_data["619WT-OB23SSI"]["available_with"].push("7"); option_group_data["619WTST-OB23SSI"] = {}; option_group_data["619WTST-OB23SSI"]["available_with"] = new Array(); option_group_data["619WTST-OB23SSI"]["available_with_compound"] = new Array(); option_group_data["619WTST-OB23SSI"]["available_with"].push("6"); option_group_data["619WTST-OB23SSI"]["available_with"].push("7"); option_group_data["760W-OB23SSI"] = {}; option_group_data["760W-OB23SSI"]["part_groups"] = new Array(); option_group_data["760W-OB23SSI"]["part_groups"].push("12"); option_group_data["760B-OB23SSI"] = {}; option_group_data["760B-OB23SSI"]["part_groups"] = new Array(); option_group_data["760B-OB23SSI"]["part_groups"].push("12"); option_group_data["604-OB23SSIM"] = {}; option_group_data["604-OB23SSIM"]["part_groups"] = new Array(); option_group_data["604-OB23SSIM"]["part_groups"].push("65"); option_group_data["604-OB23SSIY"] = {}; option_group_data["604-OB23SSIY"]["part_groups"] = new Array(); option_group_data["604-OB23SSIY"]["part_groups"].push("65"); option_group_data["796-OB23SSI"] = {}; option_group_data["796-OB23SSI"]["available_with"] = new Array(); option_group_data["796-OB23SSI"]["available_with_compound"] = new Array(); option_group_data["796-OB23SSI"]["available_with"].push("6"); option_group_data["796-OB23SSI"]["available_with"].push("7"); option_group_data["697-OB23SSI"] = {}; option_group_data["697-OB23SSI"]["available_with"] = new Array(); option_group_data["697-OB23SSI"]["available_with_compound"] = new Array(); option_group_data["697-OB23SSI"]["available_with"].push("6"); option_group_data["697-OB23SSI"]["available_with"].push("7"); option_group_data["688BA-OB23SSI"] = {}; option_group_data["688BA-OB23SSI"]["part_groups"] = new Array(); option_group_data["688BA-OB23SSI"]["part_groups"].push("90"); option_group_data["688AG-OB23SSI"] = {}; option_group_data["688AG-OB23SSI"]["part_groups"] = new Array(); option_group_data["688AG-OB23SSI"]["part_groups"].push("91"); option_group_data["688AA-OB23SSI"] = {}; option_group_data["688AA-OB23SSI"]["part_groups"] = new Array(); option_group_data["688AA-OB23SSI"]["part_groups"].push("92"); option_group_data["686-OB23SSIALM"] = {}; option_group_data["686-OB23SSIALM"]["available_with"] = new Array(); option_group_data["686-OB23SSIALM"]["available_with_compound"] = new Array(); option_group_data["686-OB23SSIALM"]["available_with"].push("91"); option_group_data["687-OB23SSIBLK"] = {}; option_group_data["687-OB23SSIBLK"]["available_with"] = new Array(); option_group_data["687-OB23SSIBLK"]["available_with_compound"] = new Array(); option_group_data["687-OB23SSIBLK"]["available_with"].push("90"); option_group_data["687-OB23SSIALM"] = {}; option_group_data["687-OB23SSIALM"]["available_with"] = new Array(); option_group_data["687-OB23SSIALM"]["available_with_compound"] = new Array(); option_group_data["687-OB23SSIALM"]["available_with"].push("92"); }); // 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() });