jQuery(document).ready(function(){ }); // end of document ready
jQuery(document).ready(function(){
jQuery("#input-903-4SSX").change(function(){
if(jQuery("#input-903-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-247SSXWHT]");
//alert(jQuery("[id^=input-950-247SSXWHT]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-247SSXWHT]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-247SSXWHT]").prop("checked"))
{
jQuery("[id^=input-950-247SSXWHT]").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-247SSXWHT-903-4SSX]").length === 0)
{
jQuery("[id^=note-950-247SSXWHT]").append("
(N/A with 903-4SSX - Painted Metallic Hull Stripe - White)");
}
jQuery("[id^=input-950-247SSXWHT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-247SSXWHT]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-247SSXWHT-903-4SSX]").remove();
jQuery("[id^=input-950-247SSXWHT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-247SSXWHT]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-903-4SSX");
//alert(jQuery("[id^=input-903-4SSX]").attr("title"));
//alert(jQuery("[id^=input-903-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-903-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-903-4SSX").prop("checked"))
{
jQuery("#input-903-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-903-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-903-4SSX-950-247SSXWHT]").length === 0)
{
jQuery("#note-903-4SSX").append("
(N/A with 950-247SSXWHT )");
}
jQuery("[id^=input-903-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-903-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-903-4SSX-950-247SSXWHT]").remove();
jQuery("[id^=input-903-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-906-4SSX").change(function(){
if(jQuery("#input-906-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-247SSXBLU]");
//alert(jQuery("[id^=input-950-247SSXBLU]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-247SSXBLU]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-247SSXBLU]").prop("checked"))
{
jQuery("[id^=input-950-247SSXBLU]").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-247SSXBLU-906-4SSX]").length === 0)
{
jQuery("[id^=note-950-247SSXBLU]").append("
(N/A with 906-4SSX - Painted Metallic Hull Stripe - Blue)");
}
jQuery("[id^=input-950-247SSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-247SSXBLU]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-247SSXBLU-906-4SSX]").remove();
jQuery("[id^=input-950-247SSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-247SSXBLU]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-906-4SSX");
//alert(jQuery("[id^=input-906-4SSX]").attr("title"));
//alert(jQuery("[id^=input-906-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-906-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-906-4SSX").prop("checked"))
{
jQuery("#input-906-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-906-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-906-4SSX-950-247SSXBLU]").length === 0)
{
jQuery("#note-906-4SSX").append("
(N/A with 950-247SSXBLU )");
}
jQuery("[id^=input-906-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-906-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-906-4SSX-950-247SSXBLU]").remove();
jQuery("[id^=input-906-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-911-4SSX").change(function(){
if(jQuery("#input-911-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-247SSXBLK]");
//alert(jQuery("[id^=input-950-247SSXBLK]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-247SSXBLK]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-247SSXBLK]").prop("checked"))
{
jQuery("[id^=input-950-247SSXBLK]").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-247SSXBLK-911-4SSX]").length === 0)
{
jQuery("[id^=note-950-247SSXBLK]").append("
(N/A with 911-4SSX - Painted Metallic Hull Stripe - Black)");
}
jQuery("[id^=input-950-247SSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-247SSXBLK]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-247SSXBLK-911-4SSX]").remove();
jQuery("[id^=input-950-247SSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-247SSXBLK]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-911-4SSX");
//alert(jQuery("[id^=input-911-4SSX]").attr("title"));
//alert(jQuery("[id^=input-911-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-911-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-911-4SSX").prop("checked"))
{
jQuery("#input-911-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-911-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-911-4SSX-950-247SSXBLK]").length === 0)
{
jQuery("#note-911-4SSX").append("
(N/A with 950-247SSXBLK )");
}
jQuery("[id^=input-911-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-911-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-911-4SSX-950-247SSXBLK]").remove();
jQuery("[id^=input-911-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXBLK").change(function(){
if(jQuery("#input-557-4SSXBLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-639]");
//alert(jQuery("[id^=input-639]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-639]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-639]").prop("checked"))
{
jQuery("[id^=input-639]").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-639-557-4SSXBLK]").length === 0)
{
jQuery("[id^=note-639]").append("
(N/A with 557-4SSXBLK - Cockpit and Bow Cover)");
}
jQuery("[id^=input-639]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-639]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-639-557-4SSXBLK]").remove();
jQuery("[id^=input-639]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-639]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXBLK");
//alert(jQuery("[id^=input-557-4SSXBLK]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXBLK").prop("checked"))
{
jQuery("#input-557-4SSXBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXBLK");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXBLK-639]").length === 0)
{
jQuery("#note-557-4SSXBLK").append("
(N/A with 639 )");
}
jQuery("[id^=input-557-4SSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXBLK-639]").remove();
jQuery("[id^=input-557-4SSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXBLK").change(function(){
if(jQuery("#input-557-4SSXBLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692]");
//alert(jQuery("[id^=input-692]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692]").prop("checked"))
{
jQuery("[id^=input-692]").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-692-557-4SSXBLK]").length === 0)
{
jQuery("[id^=note-692]").append("
(N/A with 557-4SSXBLK - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692-557-4SSXBLK]").remove();
jQuery("[id^=input-692]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXBLK");
//alert(jQuery("[id^=input-557-4SSXBLK]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXBLK").prop("checked"))
{
jQuery("#input-557-4SSXBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXBLK");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXBLK-692]").length === 0)
{
jQuery("#note-557-4SSXBLK").append("
(N/A with 692 )");
}
jQuery("[id^=input-557-4SSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXBLK-692]").remove();
jQuery("[id^=input-557-4SSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXBLK").change(function(){
if(jQuery("#input-557-4SSXBLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767]");
//alert(jQuery("[id^=input-767]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767]").prop("checked"))
{
jQuery("[id^=input-767]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767-557-4SSXBLK]").length === 0)
{
jQuery("[id^=note-767]").append("
(N/A with 557-4SSXBLK - Cockpit and Bow Cover)");
}
jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767-557-4SSXBLK]").remove();
jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXBLK");
//alert(jQuery("[id^=input-557-4SSXBLK]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXBLK").prop("checked"))
{
jQuery("#input-557-4SSXBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXBLK");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXBLK-767]").length === 0)
{
jQuery("#note-557-4SSXBLK").append("
(N/A with 767 )");
}
jQuery("[id^=input-557-4SSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXBLK-767]").remove();
jQuery("[id^=input-557-4SSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXBLU").change(function(){
if(jQuery("#input-557-4SSXBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-639]");
//alert(jQuery("[id^=input-639]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-639]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-639]").prop("checked"))
{
jQuery("[id^=input-639]").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-639-557-4SSXBLU]").length === 0)
{
jQuery("[id^=note-639]").append("
(N/A with 557-4SSXBLU - Cockpit and Bow Cover)");
}
jQuery("[id^=input-639]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-639]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-639-557-4SSXBLU]").remove();
jQuery("[id^=input-639]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-639]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXBLU");
//alert(jQuery("[id^=input-557-4SSXBLU]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXBLU").prop("checked"))
{
jQuery("#input-557-4SSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXBLU-639]").length === 0)
{
jQuery("#note-557-4SSXBLU").append("
(N/A with 639 )");
}
jQuery("[id^=input-557-4SSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXBLU-639]").remove();
jQuery("[id^=input-557-4SSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXBLU").change(function(){
if(jQuery("#input-557-4SSXBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692]");
//alert(jQuery("[id^=input-692]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692]").prop("checked"))
{
jQuery("[id^=input-692]").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-692-557-4SSXBLU]").length === 0)
{
jQuery("[id^=note-692]").append("
(N/A with 557-4SSXBLU - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692-557-4SSXBLU]").remove();
jQuery("[id^=input-692]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXBLU");
//alert(jQuery("[id^=input-557-4SSXBLU]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXBLU").prop("checked"))
{
jQuery("#input-557-4SSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXBLU-692]").length === 0)
{
jQuery("#note-557-4SSXBLU").append("
(N/A with 692 )");
}
jQuery("[id^=input-557-4SSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXBLU-692]").remove();
jQuery("[id^=input-557-4SSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXBLU").change(function(){
if(jQuery("#input-557-4SSXBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767]");
//alert(jQuery("[id^=input-767]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767]").prop("checked"))
{
jQuery("[id^=input-767]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767-557-4SSXBLU]").length === 0)
{
jQuery("[id^=note-767]").append("
(N/A with 557-4SSXBLU - Cockpit and Bow Cover)");
}
jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767-557-4SSXBLU]").remove();
jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXBLU");
//alert(jQuery("[id^=input-557-4SSXBLU]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXBLU").prop("checked"))
{
jQuery("#input-557-4SSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXBLU-767]").length === 0)
{
jQuery("#note-557-4SSXBLU").append("
(N/A with 767 )");
}
jQuery("[id^=input-557-4SSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXBLU-767]").remove();
jQuery("[id^=input-557-4SSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXSBL").change(function(){
if(jQuery("#input-557-4SSXSBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-639]");
//alert(jQuery("[id^=input-639]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-639]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-639]").prop("checked"))
{
jQuery("[id^=input-639]").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-639-557-4SSXSBL]").length === 0)
{
jQuery("[id^=note-639]").append("
(N/A with 557-4SSXSBL - Cockpit and Bow Cover)");
}
jQuery("[id^=input-639]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-639]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-639-557-4SSXSBL]").remove();
jQuery("[id^=input-639]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-639]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXSBL");
//alert(jQuery("[id^=input-557-4SSXSBL]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXSBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXSBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXSBL").prop("checked"))
{
jQuery("#input-557-4SSXSBL").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXSBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXSBL-639]").length === 0)
{
jQuery("#note-557-4SSXSBL").append("
(N/A with 639 )");
}
jQuery("[id^=input-557-4SSXSBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXSBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXSBL-639]").remove();
jQuery("[id^=input-557-4SSXSBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXSBL").change(function(){
if(jQuery("#input-557-4SSXSBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692]");
//alert(jQuery("[id^=input-692]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692]").prop("checked"))
{
jQuery("[id^=input-692]").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-692-557-4SSXSBL]").length === 0)
{
jQuery("[id^=note-692]").append("
(N/A with 557-4SSXSBL - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692-557-4SSXSBL]").remove();
jQuery("[id^=input-692]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXSBL");
//alert(jQuery("[id^=input-557-4SSXSBL]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXSBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXSBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXSBL").prop("checked"))
{
jQuery("#input-557-4SSXSBL").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXSBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXSBL-692]").length === 0)
{
jQuery("#note-557-4SSXSBL").append("
(N/A with 692 )");
}
jQuery("[id^=input-557-4SSXSBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXSBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXSBL-692]").remove();
jQuery("[id^=input-557-4SSXSBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-557-4SSXSBL").change(function(){
if(jQuery("#input-557-4SSXSBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767]");
//alert(jQuery("[id^=input-767]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767]").prop("checked"))
{
jQuery("[id^=input-767]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767-557-4SSXSBL]").length === 0)
{
jQuery("[id^=note-767]").append("
(N/A with 557-4SSXSBL - Cockpit and Bow Cover)");
}
jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767-557-4SSXSBL]").remove();
jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-557-4SSXSBL");
//alert(jQuery("[id^=input-557-4SSXSBL]").attr("title"));
//alert(jQuery("[id^=input-557-4SSXSBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-557-4SSXSBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-557-4SSXSBL").prop("checked"))
{
jQuery("#input-557-4SSXSBL").removeAttr("checked").change();
}
//console.log("if of reverse input-557-4SSXSBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-557-4SSXSBL-767]").length === 0)
{
jQuery("#note-557-4SSXSBL").append("
(N/A with 767 )");
}
jQuery("[id^=input-557-4SSXSBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-557-4SSXSBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-557-4SSXSBL-767]").remove();
jQuery("[id^=input-557-4SSXSBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NRA-4SSX").change(function(){
if(jQuery("#input-619NRA-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-639]");
//alert(jQuery("[id^=input-639]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-639]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-639]").prop("checked"))
{
jQuery("[id^=input-639]").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-639-619NRA-4SSX]").length === 0)
{
jQuery("[id^=note-639]").append("
(N/A with 619NRA-4SSX - Mooring Cover)");
}
jQuery("[id^=input-639]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-639]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-639-619NRA-4SSX]").remove();
jQuery("[id^=input-639]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-639]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NRA-4SSX");
//alert(jQuery("[id^=input-619NRA-4SSX]").attr("title"));
//alert(jQuery("[id^=input-619NRA-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NRA-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NRA-4SSX").prop("checked"))
{
jQuery("#input-619NRA-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-619NRA-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619NRA-4SSX-639]").length === 0)
{
jQuery("#note-619NRA-4SSX").append("
(N/A with 639 )");
}
jQuery("[id^=input-619NRA-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NRA-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NRA-4SSX-639]").remove();
jQuery("[id^=input-619NRA-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NRA-4SSX").change(function(){
if(jQuery("#input-619NRA-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692]");
//alert(jQuery("[id^=input-692]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692]").prop("checked"))
{
jQuery("[id^=input-692]").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-692-619NRA-4SSX]").length === 0)
{
jQuery("[id^=note-692]").append("
(N/A with 619NRA-4SSX - Mooring Cover)");
}
jQuery("[id^=input-692]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692-619NRA-4SSX]").remove();
jQuery("[id^=input-692]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NRA-4SSX");
//alert(jQuery("[id^=input-619NRA-4SSX]").attr("title"));
//alert(jQuery("[id^=input-619NRA-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NRA-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NRA-4SSX").prop("checked"))
{
jQuery("#input-619NRA-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-619NRA-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619NRA-4SSX-692]").length === 0)
{
jQuery("#note-619NRA-4SSX").append("
(N/A with 692 )");
}
jQuery("[id^=input-619NRA-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NRA-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NRA-4SSX-692]").remove();
jQuery("[id^=input-619NRA-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NRA-4SSX").change(function(){
if(jQuery("#input-619NRA-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767]");
//alert(jQuery("[id^=input-767]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767]").prop("checked"))
{
jQuery("[id^=input-767]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767-619NRA-4SSX]").length === 0)
{
jQuery("[id^=note-767]").append("
(N/A with 619NRA-4SSX - Mooring Cover)");
}
jQuery("[id^=input-767]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767-619NRA-4SSX]").remove();
jQuery("[id^=input-767]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NRA-4SSX");
//alert(jQuery("[id^=input-619NRA-4SSX]").attr("title"));
//alert(jQuery("[id^=input-619NRA-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NRA-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NRA-4SSX").prop("checked"))
{
jQuery("#input-619NRA-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-619NRA-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619NRA-4SSX-767]").length === 0)
{
jQuery("#note-619NRA-4SSX").append("
(N/A with 767 )");
}
jQuery("[id^=input-619NRA-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NRA-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NRA-4SSX-767]").remove();
jQuery("[id^=input-619NRA-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512-4SSX").change(function(){
if(jQuery("#input-512-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767B]");
//alert(jQuery("[id^=input-767B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767B]").prop("checked"))
{
jQuery("[id^=input-767B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767B-512-4SSX]").length === 0)
{
jQuery("[id^=note-767B]").append("
(N/A with 512-4SSX - JL Audio Sound System Upgrade)");
}
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767B-512-4SSX]").remove();
jQuery("[id^=input-767B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-512-4SSX");
//alert(jQuery("[id^=input-512-4SSX]").attr("title"));
//alert(jQuery("[id^=input-512-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-512-4SSX").prop("checked"))
{
jQuery("#input-512-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-512-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-512-4SSX-767B]").length === 0)
{
jQuery("#note-512-4SSX").append("
(N/A with 767B )");
}
jQuery("[id^=input-512-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512-4SSX-767B]").remove();
jQuery("[id^=input-512-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512-4SSX").change(function(){
if(jQuery("#input-512-4SSX").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-512-4SSX]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 512-4SSX - JL Audio Sound System Upgrade)");
}
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-512-4SSX]").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-512-4SSX");
//alert(jQuery("[id^=input-512-4SSX]").attr("title"));
//alert(jQuery("[id^=input-512-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-512-4SSX").prop("checked"))
{
jQuery("#input-512-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-512-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-512-4SSX-692B]").length === 0)
{
jQuery("#note-512-4SSX").append("
(N/A with 692B )");
}
jQuery("[id^=input-512-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512-4SSX-692B]").remove();
jQuery("[id^=input-512-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-507-4SSX").change(function(){
if(jQuery("#input-507-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-610PO]");
//alert(jQuery("[id^=input-610PO]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-610PO]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-610PO]").prop("checked"))
{
jQuery("[id^=input-610PO]").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-610PO-507-4SSX]").length === 0)
{
jQuery("[id^=note-610PO]").append("
(N/A with 507-4SSX - Porta-Pottie)");
}
jQuery("[id^=input-610PO]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-610PO]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-610PO-507-4SSX]").remove();
jQuery("[id^=input-610PO]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-610PO]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-507-4SSX");
//alert(jQuery("[id^=input-507-4SSX]").attr("title"));
//alert(jQuery("[id^=input-507-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-507-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-507-4SSX").prop("checked"))
{
jQuery("#input-507-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-507-4SSX");
//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-507-4SSX-610PO]").length === 0)
{
jQuery("#note-507-4SSX").append("
(N/A with 610PO )");
}
jQuery("[id^=input-507-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-507-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-507-4SSX-610PO]").remove();
jQuery("[id^=input-507-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-4SSXCYN").change(function(){
if(jQuery("#input-560NCT-4SSXCYN").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-4SSXCYN]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-4SSXCYN - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-4SSXCYN]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-4SSXCYN");
//alert(jQuery("[id^=input-560NCT-4SSXCYN]").attr("title"));
//alert(jQuery("[id^=input-560NCT-4SSXCYN]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-4SSXCYN").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-4SSXCYN").prop("checked"))
{
jQuery("#input-560NCT-4SSXCYN").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-4SSXCYN");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-4SSXCYN-650]").length === 0)
{
jQuery("#note-560NCT-4SSXCYN").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-4SSXCYN]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-4SSXCYN").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-4SSXCYN-650]").remove();
jQuery("[id^=input-560NCT-4SSXCYN]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-4SSXLNR").change(function(){
if(jQuery("#input-560NCT-4SSXLNR").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-4SSXLNR]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-4SSXLNR - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-4SSXLNR]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-4SSXLNR");
//alert(jQuery("[id^=input-560NCT-4SSXLNR]").attr("title"));
//alert(jQuery("[id^=input-560NCT-4SSXLNR]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-4SSXLNR").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-4SSXLNR").prop("checked"))
{
jQuery("#input-560NCT-4SSXLNR").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-4SSXLNR");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-4SSXLNR-650]").length === 0)
{
jQuery("#note-560NCT-4SSXLNR").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-4SSXLNR]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-4SSXLNR").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-4SSXLNR-650]").remove();
jQuery("[id^=input-560NCT-4SSXLNR]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-4SSXSDW").change(function(){
if(jQuery("#input-560NCT-4SSXSDW").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-4SSXSDW]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-4SSXSDW - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-4SSXSDW]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-4SSXSDW");
//alert(jQuery("[id^=input-560NCT-4SSXSDW]").attr("title"));
//alert(jQuery("[id^=input-560NCT-4SSXSDW]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-4SSXSDW").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-4SSXSDW").prop("checked"))
{
jQuery("#input-560NCT-4SSXSDW").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-4SSXSDW");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-4SSXSDW-650]").length === 0)
{
jQuery("#note-560NCT-4SSXSDW").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-4SSXSDW]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-4SSXSDW").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-4SSXSDW-650]").remove();
jQuery("[id^=input-560NCT-4SSXSDW]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-4SSXSLT").change(function(){
if(jQuery("#input-560NCT-4SSXSLT").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-4SSXSLT]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-4SSXSLT - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-4SSXSLT]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-4SSXSLT");
//alert(jQuery("[id^=input-560NCT-4SSXSLT]").attr("title"));
//alert(jQuery("[id^=input-560NCT-4SSXSLT]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-4SSXSLT").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-4SSXSLT").prop("checked"))
{
jQuery("#input-560NCT-4SSXSLT").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-4SSXSLT");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-4SSXSLT-650]").length === 0)
{
jQuery("#note-560NCT-4SSXSLT").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-4SSXSLT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-4SSXSLT").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-4SSXSLT-650]").remove();
jQuery("[id^=input-560NCT-4SSXSLT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704S-4SSX").change(function(){
if(jQuery("#input-704S-4SSX").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-704S-4SSX]").length === 0)
{
jQuery("[id^=note-638]").append("
(N/A with 704S-4SSX - Snap-In Seadek Cockpit Flooring - Slate)");
}
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-704S-4SSX]").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-704S-4SSX");
//alert(jQuery("[id^=input-704S-4SSX]").attr("title"));
//alert(jQuery("[id^=input-704S-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704S-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704S-4SSX").prop("checked"))
{
jQuery("#input-704S-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704S-4SSX");
//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-4SSX-638]").length === 0)
{
jQuery("#note-704S-4SSX").append("
(N/A with 638 )");
}
jQuery("[id^=input-704S-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704S-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704S-4SSX-638]").remove();
jQuery("[id^=input-704S-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-579-4SSX").change(function(){
if(jQuery("#input-579-4SSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-800]");
//alert(jQuery("[id^=input-800]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-800]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-800]").prop("checked"))
{
jQuery("[id^=input-800]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-800-579-4SSX]").length === 0)
{
jQuery("[id^=note-800]").append("
(N/A with 579-4SSX - Dual Battery Charger)");
}
jQuery("[id^=input-800]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-800]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-800-579-4SSX]").remove();
jQuery("[id^=input-800]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-800]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-579-4SSX");
//alert(jQuery("[id^=input-579-4SSX]").attr("title"));
//alert(jQuery("[id^=input-579-4SSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-579-4SSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-579-4SSX").prop("checked"))
{
jQuery("#input-579-4SSX").removeAttr("checked").change();
}
//console.log("if of reverse input-579-4SSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-579-4SSX-800]").length === 0)
{
jQuery("#note-579-4SSX").append("
(N/A with 800 )");
}
jQuery("[id^=input-579-4SSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-579-4SSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-579-4SSX-800]").remove();
jQuery("[id^=input-579-4SSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ jQuery("#input-713W-4SSX").change(function(){
if(jQuery("#input-713W-4SSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-713W-4SSX]").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-512--713W-4SSX]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-512-]").prop("type") != "radio")
if(jQuery("[id^=input-512-]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-512-]").prop("disabled", true);
}
if(!jQuery("[id^=input-512-]").prop("checked"))
{
jQuery("[id^=input-512-]").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-512-]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-512-]").append("
(Required By: 713W-4SSX-Tower Speakers (2))");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-713W-4SSX]").hide();
jQuery("[id^=note-single-required-by-713W-4SSX]").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-512-]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-512-]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-512--713W-4SSX]").remove();
}
}); // end click listener
jQuery("#input-713B-4SSX").change(function(){
if(jQuery("#input-713B-4SSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-713B-4SSX]").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-512B-713B-4SSX]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-512B]").prop("type") != "radio")
if(jQuery("[id^=input-512B]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-512B]").prop("disabled", true);
}
if(!jQuery("[id^=input-512B]").prop("checked"))
{
jQuery("[id^=input-512B]").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-512B]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-512B]").append("
(Required By: 713B-4SSX-Tower Speakers (2))");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-713B-4SSX]").hide();
jQuery("[id^=note-single-required-by-713B-4SSX]").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-512B]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-512B]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-512B-713B-4SSX]").remove();
}
}); // end click listener
jQuery("#input-560CT-4SSXCYN").change(function(){
if(jQuery("#input-560CT-4SSXCYN").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-4SSXCYN]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-4SSXCYN]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-4SSXCYN-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-4SSXCYN]").hide();
jQuery("[id^=note-single-required-by-560CT-4SSXCYN]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-4SSXCYN]").remove();
}
}); // end click listener
jQuery("#input-560CT-4SSXLNR").change(function(){
if(jQuery("#input-560CT-4SSXLNR").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-4SSXLNR]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-4SSXLNR]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-4SSXLNR-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-4SSXLNR]").hide();
jQuery("[id^=note-single-required-by-560CT-4SSXLNR]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-4SSXLNR]").remove();
}
}); // end click listener
jQuery("#input-560CT-4SSXSDW").change(function(){
if(jQuery("#input-560CT-4SSXSDW").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-4SSXSDW]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-4SSXSDW]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-4SSXSDW-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-4SSXSDW]").hide();
jQuery("[id^=note-single-required-by-560CT-4SSXSDW]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-4SSXSDW]").remove();
}
}); // end click listener
jQuery("#input-560CT-4SSXSLT").change(function(){
if(jQuery("#input-560CT-4SSXSLT").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-4SSXSLT]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-4SSXSLT]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-4SSXSLT-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-4SSXSLT]").hide();
jQuery("[id^=note-single-required-by-560CT-4SSXSLT]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-4SSXSLT]").remove();
}
}); // end click listener
jQuery("#input-704C-4SSX").change(function(){
if(jQuery("#input-704C-4SSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-704C-4SSX]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-638-704C-4SSX]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-638]").prop("type") != "radio")
if(jQuery("[id^=input-638]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-638]").prop("disabled", true);
}
if(!jQuery("[id^=input-638]").prop("checked"))
{
jQuery("[id^=input-638]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-638]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-638]").append("
(Required By: 704C-4SSX-Snap-In Seadek Cockpit Flooring - Cayenne)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-704C-4SSX]").hide();
jQuery("[id^=note-single-required-by-704C-4SSX]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-638]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-638]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-638-704C-4SSX]").remove();
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ option_group_data["951-4SSXWHT"] = {}; option_group_data["951-4SSXWHT"]["part_groups"] = new Array();
option_group_data["951-4SSXWHT"]["part_groups"].push("46");
option_group_data["951-4SSXBLK"] = {}; option_group_data["951-4SSXBLK"]["part_groups"] = new Array();
option_group_data["951-4SSXBLK"]["part_groups"].push("45");
option_group_data["951-4SSXBLU"] = {}; option_group_data["951-4SSXBLU"]["part_groups"] = new Array();
option_group_data["951-4SSXBLU"]["part_groups"].push("45");
option_group_data["951-4SSXALY"] = {}; option_group_data["951-4SSXALY"]["part_groups"] = new Array();
option_group_data["951-4SSXALY"]["part_groups"].push("46");
option_group_data["951-4SSXATL"] = {}; option_group_data["951-4SSXATL"]["part_groups"] = new Array();
option_group_data["951-4SSXATL"]["part_groups"].push("46");
option_group_data["951-4SSXICE"] = {}; option_group_data["951-4SSXICE"]["part_groups"] = new Array();
option_group_data["951-4SSXICE"]["part_groups"].push("46");
option_group_data["951-4SSXSTL"] = {}; option_group_data["951-4SSXSTL"]["part_groups"] = new Array();
option_group_data["951-4SSXSTL"]["part_groups"].push("45");
option_group_data["951-4SSXGRN"] = {}; option_group_data["951-4SSXGRN"]["part_groups"] = new Array();
option_group_data["951-4SSXGRN"]["part_groups"].push("46");
option_group_data["960-4SSX"] = {}; option_group_data["960-4SSX"]["available_with"] = new Array();
option_group_data["960-4SSX"]["available_with_compound"] = new Array();
option_group_data["960-4SSX"]["available_with"].push("45");
option_group_data["961-4SSX"] = {}; option_group_data["961-4SSX"]["available_with"] = new Array();
option_group_data["961-4SSX"]["available_with_compound"] = new Array();
option_group_data["961-4SSX"]["available_with"].push("46");
option_group_data["532-4SSX"] = {}; option_group_data["532-4SSX"]["part_groups"] = new Array();
option_group_data["532-4SSX"]["part_groups"].push("20");
option_group_data["636-4SSX"] = {}; option_group_data["636-4SSX"]["part_groups"] = new Array();
option_group_data["636-4SSX"]["part_groups"].push("22");
option_group_data["637-4SSX"] = {}; option_group_data["637-4SSX"]["part_groups"] = new Array();
option_group_data["637-4SSX"]["part_groups"].push("24");
option_group_data["638-4SSX"] = {}; option_group_data["638-4SSX"]["part_groups"] = new Array();
option_group_data["638-4SSX"]["part_groups"].push("27");
option_group_data["639-4SSXBLK"] = {}; option_group_data["639-4SSXBLK"]["part_groups"] = new Array();
option_group_data["639-4SSXBLK"]["part_groups"].push("6");
option_group_data["639-4SSXBLU"] = {}; option_group_data["639-4SSXBLU"]["part_groups"] = new Array();
option_group_data["639-4SSXBLU"]["part_groups"].push("6");
option_group_data["639-4SSXSBL"] = {}; option_group_data["639-4SSXSBL"]["part_groups"] = new Array();
option_group_data["639-4SSXSBL"]["part_groups"].push("6");
option_group_data["692W-4SSXBLK"] = {}; option_group_data["692W-4SSXBLK"]["part_groups"] = new Array();
option_group_data["692W-4SSXBLK"]["part_groups"].push("17");
option_group_data["692W-4SSXBLU"] = {}; option_group_data["692W-4SSXBLU"]["part_groups"] = new Array();
option_group_data["692W-4SSXBLU"]["part_groups"].push("17");
option_group_data["692W-4SSXSBL"] = {}; option_group_data["692W-4SSXSBL"]["part_groups"] = new Array();
option_group_data["692W-4SSXSBL"]["part_groups"].push("17");
option_group_data["692B-4SSXBLK"] = {}; option_group_data["692B-4SSXBLK"]["part_groups"] = new Array();
option_group_data["692B-4SSXBLK"]["part_groups"].push("18");
option_group_data["692B-4SSXBLU"] = {}; option_group_data["692B-4SSXBLU"]["part_groups"] = new Array();
option_group_data["692B-4SSXBLU"]["part_groups"].push("18");
option_group_data["692B-4SSXSBL"] = {}; option_group_data["692B-4SSXSBL"]["part_groups"] = new Array();
option_group_data["692B-4SSXSBL"]["part_groups"].push("18");
option_group_data["767W-4SSXCYNBLK"] = {}; option_group_data["767W-4SSXCYNBLK"]["part_groups"] = new Array();
option_group_data["767W-4SSXCYNBLK"]["available_with"] = new Array();
option_group_data["767W-4SSXCYNBLK"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXCYNBLK"]["part_groups"].push("9");
option_group_data["767W-4SSXCYNBLK"]["available_with"].push("27");
option_group_data["767W-4SSXCYNBLU"] = {}; option_group_data["767W-4SSXCYNBLU"]["part_groups"] = new Array();
option_group_data["767W-4SSXCYNBLU"]["available_with"] = new Array();
option_group_data["767W-4SSXCYNBLU"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXCYNBLU"]["part_groups"].push("9");
option_group_data["767W-4SSXCYNBLU"]["available_with"].push("27");
option_group_data["767W-4SSXCYNSBL"] = {}; option_group_data["767W-4SSXCYNSBL"]["part_groups"] = new Array();
option_group_data["767W-4SSXCYNSBL"]["available_with"] = new Array();
option_group_data["767W-4SSXCYNSBL"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXCYNSBL"]["part_groups"].push("9");
option_group_data["767W-4SSXCYNSBL"]["available_with"].push("27");
option_group_data["767W-4SSXLNRBLK"] = {}; option_group_data["767W-4SSXLNRBLK"]["part_groups"] = new Array();
option_group_data["767W-4SSXLNRBLK"]["available_with"] = new Array();
option_group_data["767W-4SSXLNRBLK"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXLNRBLK"]["part_groups"].push("9");
option_group_data["767W-4SSXLNRBLK"]["available_with"].push("22");
option_group_data["767W-4SSXLNRBLU"] = {}; option_group_data["767W-4SSXLNRBLU"]["part_groups"] = new Array();
option_group_data["767W-4SSXLNRBLU"]["available_with"] = new Array();
option_group_data["767W-4SSXLNRBLU"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXLNRBLU"]["part_groups"].push("9");
option_group_data["767W-4SSXLNRBLU"]["available_with"].push("22");
option_group_data["767W-4SSXLNRSBL"] = {}; option_group_data["767W-4SSXLNRSBL"]["part_groups"] = new Array();
option_group_data["767W-4SSXLNRSBL"]["available_with"] = new Array();
option_group_data["767W-4SSXLNRSBL"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXLNRSBL"]["part_groups"].push("9");
option_group_data["767W-4SSXLNRSBL"]["available_with"].push("22");
option_group_data["767W-4SSXSDWBLK"] = {}; option_group_data["767W-4SSXSDWBLK"]["part_groups"] = new Array();
option_group_data["767W-4SSXSDWBLK"]["available_with"] = new Array();
option_group_data["767W-4SSXSDWBLK"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXSDWBLK"]["part_groups"].push("9");
option_group_data["767W-4SSXSDWBLK"]["available_with"].push("24");
option_group_data["767W-4SSXSDWBLU"] = {}; option_group_data["767W-4SSXSDWBLU"]["part_groups"] = new Array();
option_group_data["767W-4SSXSDWBLU"]["available_with"] = new Array();
option_group_data["767W-4SSXSDWBLU"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXSDWBLU"]["part_groups"].push("9");
option_group_data["767W-4SSXSDWBLU"]["available_with"].push("24");
option_group_data["767W-4SSXSDWSBL"] = {}; option_group_data["767W-4SSXSDWSBL"]["part_groups"] = new Array();
option_group_data["767W-4SSXSDWSBL"]["available_with"] = new Array();
option_group_data["767W-4SSXSDWSBL"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXSDWSBL"]["part_groups"].push("9");
option_group_data["767W-4SSXSDWSBL"]["available_with"].push("24");
option_group_data["767W-4SSXSLTBLK"] = {}; option_group_data["767W-4SSXSLTBLK"]["part_groups"] = new Array();
option_group_data["767W-4SSXSLTBLK"]["available_with"] = new Array();
option_group_data["767W-4SSXSLTBLK"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXSLTBLK"]["part_groups"].push("9");
option_group_data["767W-4SSXSLTBLK"]["available_with"].push("20");
option_group_data["767W-4SSXSLTBLU"] = {}; option_group_data["767W-4SSXSLTBLU"]["part_groups"] = new Array();
option_group_data["767W-4SSXSLTBLU"]["available_with"] = new Array();
option_group_data["767W-4SSXSLTBLU"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXSLTBLU"]["part_groups"].push("9");
option_group_data["767W-4SSXSLTBLU"]["available_with"].push("20");
option_group_data["767W-4SSXSLTSBL"] = {}; option_group_data["767W-4SSXSLTSBL"]["part_groups"] = new Array();
option_group_data["767W-4SSXSLTSBL"]["available_with"] = new Array();
option_group_data["767W-4SSXSLTSBL"]["available_with_compound"] = new Array();
option_group_data["767W-4SSXSLTSBL"]["part_groups"].push("9");
option_group_data["767W-4SSXSLTSBL"]["available_with"].push("20");
option_group_data["767B-4SSXCYNBLK"] = {}; option_group_data["767B-4SSXCYNBLK"]["part_groups"] = new Array();
option_group_data["767B-4SSXCYNBLK"]["available_with"] = new Array();
option_group_data["767B-4SSXCYNBLK"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXCYNBLK"]["part_groups"].push("8");
option_group_data["767B-4SSXCYNBLK"]["available_with"].push("27");
option_group_data["767B-4SSXCYNBLU"] = {}; option_group_data["767B-4SSXCYNBLU"]["part_groups"] = new Array();
option_group_data["767B-4SSXCYNBLU"]["available_with"] = new Array();
option_group_data["767B-4SSXCYNBLU"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXCYNBLU"]["part_groups"].push("8");
option_group_data["767B-4SSXCYNBLU"]["available_with"].push("27");
option_group_data["767B-4SSXCYNSBL"] = {}; option_group_data["767B-4SSXCYNSBL"]["part_groups"] = new Array();
option_group_data["767B-4SSXCYNSBL"]["available_with"] = new Array();
option_group_data["767B-4SSXCYNSBL"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXCYNSBL"]["part_groups"].push("8");
option_group_data["767B-4SSXCYNSBL"]["available_with"].push("27");
option_group_data["767B-4SSXLNRBLK"] = {}; option_group_data["767B-4SSXLNRBLK"]["part_groups"] = new Array();
option_group_data["767B-4SSXLNRBLK"]["available_with"] = new Array();
option_group_data["767B-4SSXLNRBLK"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXLNRBLK"]["part_groups"].push("8");
option_group_data["767B-4SSXLNRBLK"]["available_with"].push("22");
option_group_data["767B-4SSXLNRBLU"] = {}; option_group_data["767B-4SSXLNRBLU"]["part_groups"] = new Array();
option_group_data["767B-4SSXLNRBLU"]["available_with"] = new Array();
option_group_data["767B-4SSXLNRBLU"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXLNRBLU"]["part_groups"].push("8");
option_group_data["767B-4SSXLNRBLU"]["available_with"].push("22");
option_group_data["767B-4SSXLNRSBL"] = {}; option_group_data["767B-4SSXLNRSBL"]["part_groups"] = new Array();
option_group_data["767B-4SSXLNRSBL"]["available_with"] = new Array();
option_group_data["767B-4SSXLNRSBL"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXLNRSBL"]["part_groups"].push("8");
option_group_data["767B-4SSXLNRSBL"]["available_with"].push("22");
option_group_data["767B-4SSXSDWBLK"] = {}; option_group_data["767B-4SSXSDWBLK"]["part_groups"] = new Array();
option_group_data["767B-4SSXSDWBLK"]["available_with"] = new Array();
option_group_data["767B-4SSXSDWBLK"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXSDWBLK"]["part_groups"].push("8");
option_group_data["767B-4SSXSDWBLK"]["available_with"].push("24");
option_group_data["767B-4SSXSDWBLU"] = {}; option_group_data["767B-4SSXSDWBLU"]["part_groups"] = new Array();
option_group_data["767B-4SSXSDWBLU"]["available_with"] = new Array();
option_group_data["767B-4SSXSDWBLU"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXSDWBLU"]["part_groups"].push("8");
option_group_data["767B-4SSXSDWBLU"]["available_with"].push("24");
option_group_data["767B-4SSXSDWSBL"] = {}; option_group_data["767B-4SSXSDWSBL"]["part_groups"] = new Array();
option_group_data["767B-4SSXSDWSBL"]["available_with"] = new Array();
option_group_data["767B-4SSXSDWSBL"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXSDWSBL"]["part_groups"].push("8");
option_group_data["767B-4SSXSDWSBL"]["available_with"].push("24");
option_group_data["767B-4SSXSLTBLK"] = {}; option_group_data["767B-4SSXSLTBLK"]["part_groups"] = new Array();
option_group_data["767B-4SSXSLTBLK"]["available_with"] = new Array();
option_group_data["767B-4SSXSLTBLK"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXSLTBLK"]["part_groups"].push("8");
option_group_data["767B-4SSXSLTBLK"]["available_with"].push("20");
option_group_data["767B-4SSXSLTBLU"] = {}; option_group_data["767B-4SSXSLTBLU"]["part_groups"] = new Array();
option_group_data["767B-4SSXSLTBLU"]["available_with"] = new Array();
option_group_data["767B-4SSXSLTBLU"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXSLTBLU"]["part_groups"].push("8");
option_group_data["767B-4SSXSLTBLU"]["available_with"].push("20");
option_group_data["767B-4SSXSLTSBL"] = {}; option_group_data["767B-4SSXSLTSBL"]["part_groups"] = new Array();
option_group_data["767B-4SSXSLTSBL"]["available_with"] = new Array();
option_group_data["767B-4SSXSLTSBL"]["available_with_compound"] = new Array();
option_group_data["767B-4SSXSLTSBL"]["part_groups"].push("8");
option_group_data["767B-4SSXSLTSBL"]["available_with"].push("20");
option_group_data["735-4SSXWHT"] = {}; option_group_data["735-4SSXWHT"]["available_with"] = new Array();
option_group_data["735-4SSXWHT"]["available_with_compound"] = new Array();
option_group_data["735-4SSXWHT"]["available_with"].push("8");
option_group_data["735-4SSXWHT"]["available_with"].push("9");
option_group_data["735-4SSXWHT"]["available_with"].push("17");
option_group_data["735-4SSXWHT"]["available_with"].push("18");
option_group_data["735-4SSXBLK"] = {}; option_group_data["735-4SSXBLK"]["available_with"] = new Array();
option_group_data["735-4SSXBLK"]["available_with_compound"] = new Array();
option_group_data["735-4SSXBLK"]["available_with"].push("8");
option_group_data["735-4SSXBLK"]["available_with"].push("9");
option_group_data["735-4SSXBLK"]["available_with"].push("17");
option_group_data["735-4SSXBLK"]["available_with"].push("18");
option_group_data["765-4SSXWHT"] = {}; option_group_data["765-4SSXWHT"]["available_with"] = new Array();
option_group_data["765-4SSXWHT"]["available_with_compound"] = new Array();
option_group_data["765-4SSXWHT"]["available_with"].push("8");
option_group_data["765-4SSXWHT"]["available_with"].push("9");
option_group_data["765-4SSXWHT"]["available_with"].push("17");
option_group_data["765-4SSXWHT"]["available_with"].push("18");
option_group_data["765-4SSXBLK"] = {}; option_group_data["765-4SSXBLK"]["available_with"] = new Array();
option_group_data["765-4SSXBLK"]["available_with_compound"] = new Array();
option_group_data["765-4SSXBLK"]["available_with"].push("8");
option_group_data["765-4SSXBLK"]["available_with"].push("9");
option_group_data["765-4SSXBLK"]["available_with"].push("17");
option_group_data["765-4SSXBLK"]["available_with"].push("18");
option_group_data["557BT-4SSXBLK"] = {}; option_group_data["557BT-4SSXBLK"]["available_with"] = new Array();
option_group_data["557BT-4SSXBLK"]["available_with_compound"] = new Array();
option_group_data["557BT-4SSXBLK"]["available_with"].push("6");
option_group_data["557MTX-4SSXBLK"] = {}; option_group_data["557MTX-4SSXBLK"]["available_with"] = new Array();
option_group_data["557MTX-4SSXBLK"]["available_with_compound"] = new Array();
option_group_data["557MTX-4SSXBLK"]["available_with"].push("17");
option_group_data["557MTX-4SSXBLK"]["available_with"].push("18");
option_group_data["557RA-4SSXBLK"] = {}; option_group_data["557RA-4SSXBLK"]["available_with"] = new Array();
option_group_data["557RA-4SSXBLK"]["available_with_compound"] = new Array();
option_group_data["557RA-4SSXBLK"]["available_with"].push("8");
option_group_data["557RA-4SSXBLK"]["available_with"].push("9");
option_group_data["557BT-4SSXBLU"] = {}; option_group_data["557BT-4SSXBLU"]["available_with"] = new Array();
option_group_data["557BT-4SSXBLU"]["available_with_compound"] = new Array();
option_group_data["557BT-4SSXBLU"]["available_with"].push("6");
option_group_data["557MTX-4SSXBLU"] = {}; option_group_data["557MTX-4SSXBLU"]["available_with"] = new Array();
option_group_data["557MTX-4SSXBLU"]["available_with_compound"] = new Array();
option_group_data["557MTX-4SSXBLU"]["available_with"].push("17");
option_group_data["557MTX-4SSXBLU"]["available_with"].push("18");
option_group_data["557RA-4SSXBLU"] = {}; option_group_data["557RA-4SSXBLU"]["available_with"] = new Array();
option_group_data["557RA-4SSXBLU"]["available_with_compound"] = new Array();
option_group_data["557RA-4SSXBLU"]["available_with"].push("8");
option_group_data["557RA-4SSXBLU"]["available_with"].push("9");
option_group_data["557BT-4SSXSBL"] = {}; option_group_data["557BT-4SSXSBL"]["available_with"] = new Array();
option_group_data["557BT-4SSXSBL"]["available_with_compound"] = new Array();
option_group_data["557BT-4SSXSBL"]["available_with"].push("6");
option_group_data["557MTX-4SSXSBL"] = {}; option_group_data["557MTX-4SSXSBL"]["available_with"] = new Array();
option_group_data["557MTX-4SSXSBL"]["available_with_compound"] = new Array();
option_group_data["557MTX-4SSXSBL"]["available_with"].push("17");
option_group_data["557MTX-4SSXSBL"]["available_with"].push("18");
option_group_data["557RA-4SSXSBL"] = {}; option_group_data["557RA-4SSXSBL"]["available_with"] = new Array();
option_group_data["557RA-4SSXSBL"]["available_with_compound"] = new Array();
option_group_data["557RA-4SSXSBL"]["available_with"].push("8");
option_group_data["557RA-4SSXSBL"]["available_with"].push("9");
option_group_data["619BT-4SSX"] = {}; option_group_data["619BT-4SSX"]["available_with"] = new Array();
option_group_data["619BT-4SSX"]["available_with_compound"] = new Array();
option_group_data["619BT-4SSX"]["available_with"].push("6");
option_group_data["619MTX-4SSX"] = {}; option_group_data["619MTX-4SSX"]["available_with"] = new Array();
option_group_data["619MTX-4SSX"]["available_with_compound"] = new Array();
option_group_data["619MTX-4SSX"]["available_with"].push("17");
option_group_data["619MTX-4SSX"]["available_with"].push("18");
option_group_data["619RA-4SSX"] = {}; option_group_data["619RA-4SSX"]["available_with"] = new Array();
option_group_data["619RA-4SSX"]["available_with_compound"] = new Array();
option_group_data["619RA-4SSX"]["available_with"].push("8");
option_group_data["619RA-4SSX"]["available_with"].push("9");
option_group_data["512B-4SSX"] = {}; option_group_data["512B-4SSX"]["available_with"] = new Array();
option_group_data["512B-4SSX"]["available_with_compound"] = new Array();
option_group_data["512B-4SSX"]["available_with"].push("8");
option_group_data["512B-4SSX"]["available_with"].push("18");
option_group_data["713W-4SSX"] = {}; option_group_data["713W-4SSX"]["available_with"] = new Array();
option_group_data["713W-4SSX"]["available_with_compound"] = new Array();
option_group_data["713W-4SSX"]["available_with"].push("9");
option_group_data["713B-4SSX"] = {}; option_group_data["713B-4SSX"]["available_with"] = new Array();
option_group_data["713B-4SSX"]["available_with_compound"] = new Array();
option_group_data["713B-4SSX"]["available_with"].push("8");
option_group_data["560NCT-4SSXCYN"] = {}; option_group_data["560NCT-4SSXCYN"]["available_with"] = new Array();
option_group_data["560NCT-4SSXCYN"]["available_with_compound"] = new Array();
option_group_data["560NCT-4SSXCYN"]["available_with"].push("27");
option_group_data["560NCT-4SSXLNR"] = {}; option_group_data["560NCT-4SSXLNR"]["available_with"] = new Array();
option_group_data["560NCT-4SSXLNR"]["available_with_compound"] = new Array();
option_group_data["560NCT-4SSXLNR"]["available_with"].push("22");
option_group_data["560NCT-4SSXSDW"] = {}; option_group_data["560NCT-4SSXSDW"]["available_with"] = new Array();
option_group_data["560NCT-4SSXSDW"]["available_with_compound"] = new Array();
option_group_data["560NCT-4SSXSDW"]["available_with"].push("24");
option_group_data["560NCT-4SSXSLT"] = {}; option_group_data["560NCT-4SSXSLT"]["available_with"] = new Array();
option_group_data["560NCT-4SSXSLT"]["available_with_compound"] = new Array();
option_group_data["560NCT-4SSXSLT"]["available_with"].push("20");
option_group_data["560CT-4SSXCYN"] = {}; option_group_data["560CT-4SSXCYN"]["available_with"] = new Array();
option_group_data["560CT-4SSXCYN"]["available_with_compound"] = new Array();
option_group_data["560CT-4SSXCYN"]["available_with"].push("27");
option_group_data["560CT-4SSXLNR"] = {}; option_group_data["560CT-4SSXLNR"]["available_with"] = new Array();
option_group_data["560CT-4SSXLNR"]["available_with_compound"] = new Array();
option_group_data["560CT-4SSXLNR"]["available_with"].push("22");
option_group_data["560CT-4SSXSDW"] = {}; option_group_data["560CT-4SSXSDW"]["available_with"] = new Array();
option_group_data["560CT-4SSXSDW"]["available_with_compound"] = new Array();
option_group_data["560CT-4SSXSDW"]["available_with"].push("24");
option_group_data["560CT-4SSXSLT"] = {}; option_group_data["560CT-4SSXSLT"]["available_with"] = new Array();
option_group_data["560CT-4SSXSLT"]["available_with_compound"] = new Array();
option_group_data["560CT-4SSXSLT"]["available_with"].push("20");
option_group_data["760B-4SSX"] = {}; option_group_data["760B-4SSX"]["available_with"] = new Array();
option_group_data["760B-4SSX"]["available_with_compound"] = new Array();
option_group_data["760B-4SSX"]["available_with"].push("8");
option_group_data["760B-4SSX"]["available_with"].push("18");
option_group_data["796BE-4SSX"] = {}; option_group_data["796BE-4SSX"]["available_with"] = new Array();
option_group_data["796BE-4SSX"]["available_with_compound"] = new Array();
option_group_data["796BE-4SSX"]["available_with"].push("8");
option_group_data["796DB-4SSX"] = {}; option_group_data["796DB-4SSX"]["available_with"] = new Array();
option_group_data["796DB-4SSX"]["available_with_compound"] = new Array();
option_group_data["796DB-4SSX"]["available_with"].push("9");
option_group_data["688AA-4SSX"] = {}; option_group_data["688AA-4SSX"]["part_groups"] = new Array();
option_group_data["688AA-4SSX"]["part_groups"].push("61");
option_group_data["688BG-4SSX"] = {}; option_group_data["688BG-4SSX"]["part_groups"] = new Array();
option_group_data["688BG-4SSX"]["part_groups"].push("64");
option_group_data["688BA-4SSX"] = {}; option_group_data["688BA-4SSX"]["part_groups"] = new Array();
option_group_data["688BA-4SSX"]["part_groups"].push("63");
option_group_data["688WG-4SSX"] = {}; option_group_data["688WG-4SSX"]["part_groups"] = new Array();
option_group_data["688WG-4SSX"]["part_groups"].push("64");
option_group_data["688WA-4SSX"] = {}; option_group_data["688WA-4SSX"]["part_groups"] = new Array();
option_group_data["688WA-4SSX"]["part_groups"].push("63");
option_group_data["686P-4SSX"] = {}; option_group_data["686P-4SSX"]["available_with"] = new Array();
option_group_data["686P-4SSX"]["available_with_compound"] = new Array();
option_group_data["686P-4SSX"]["available_with"].push("64");
option_group_data["687-4SSXALM"] = {}; option_group_data["687-4SSXALM"]["available_with"] = new Array();
option_group_data["687-4SSXALM"]["available_with_compound"] = new Array();
option_group_data["687-4SSXALM"]["available_with"].push("61");
option_group_data["687P-4SSX"] = {}; option_group_data["687P-4SSX"]["available_with"] = new Array();
option_group_data["687P-4SSX"]["available_with_compound"] = new Array();
option_group_data["687P-4SSX"]["available_with"].push("63");
}); // end of document ready
jQuery(document).ready(function(){
jQuery("#boat_build_form").validate({
rules: {
name: {
required: true,
minlength: 2
},
email: {
required: true,
email: true
},
zip: {
required: true,
minlength: 3
}
},
messages: {
name: " -Name Required ",
email: " -Please enter a valid email address",
zip: " -Zip/Postal Required"
}
}); // end validate
});// end doc ready
jQuery(document).ready(function(){
checked_boxes_price_tally();
checked_boxes_list_tally();
jQuery(".byb_checkbox:input").change(function(){
// if this is a single selection and if this option is checked
if(jQuery(this).attr("single_selection_group") && jQuery(this).prop("checked"))
{
// loop thorugh all options and remove checks from this single selection group
var single_selection_group = jQuery(this).attr("single_selection_group");
var single_selection_checked_option = jQuery(this).val();
jQuery("#boat_build_form input:checked").each(function(){
// if this option is in the single selection group AND it is NOT the same part number as selected above
if(jQuery(this).attr("single_selection_group") == single_selection_group && jQuery(this).val() != single_selection_checked_option)
{
jQuery(this).prop("checked",false).change();
}
});
}
//includes();
apply_part_groups();
apply_graphics();
checked_boxes_price_tally();
checked_boxes_list_tally();
setCanvasColor();
setXtremeArchGraphics();
//alert(overwrite_group_total["msrp"]);
});
});
function checked_boxes_price_tally(){
// here we get the volume discount to be used in the final tally price
// these boats do NOT get volume discount applied to them
///////// !!!!!!!!!!! Volume discount has been moved to the line item !!!!!!!!!!!!!!!!!!!!/////////
//if(item_id != "342" && item_id != "345")
// {
// var volume_discount = (100 - parseFloat(jQuery("#volume_discount-holder").val()-0))/100;
// }
//else
// {
// var volume_discount = 1;
// }
var dealer_installed_option_total = 0;
// get msrp of dealer installed options
jQuery(".dealer_installed_option_price").each(function(){
if(jQuery(this).val())
{
dealer_installed_option_total = dealer_installed_option_total+parseFloat(jQuery(this).val());
}
});
var checked_boxes_total = new Array();
checked_boxes_total["msrp"] = 0;
checked_boxes_total["msrp_base"] = 0;
checked_boxes_total["dealer_price"] = 0;
checked_boxes_total["dealer_margin"] = 0;
base_multiplier
jQuery("#boat_build_form input:checked").each(function(){
//alert(this.id);
//alert(jQuery("input").attr("disabled"));
// if the checkbox is not disabled
// this first line weeds out tbd pricing of 999999
//if(!jQuery(this).prop("disabled") && jQuery(this).attr("msrp") && jQuery(this).attr("is_tbd") != 1 && jQuery(this).attr("is_tbd") != "1")
//if((!jQuery(this).prop("disabled") || jQuery(this).attr("is_required")) && jQuery(this).attr("msrp") && jQuery(this).val() != "NPPNPRICE22S" )
if(!jQuery(this).prop("included_option") && jQuery(this).attr("msrp"))
{
//alert(jQuery(this).attr("dealer_margin"));
//alert(jQuery(this).attr("id"));
// we have base
if(jQuery(this).attr("overwrite_group") == 1){
checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*base_multiplier);
}
// we have option
else{
checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*option_multiplier);
}
checked_boxes_total["msrp"] = checked_boxes_total["msrp"] + parseFloat(jQuery(this).attr("msrp"));
checked_boxes_total["dealer_price"] = checked_boxes_total["dealer_price"] + parseFloat(jQuery(this).attr("dealer_cost"));
checked_boxes_total["dealer_margin"] = checked_boxes_total["dealer_margin"] + parseFloat(jQuery(this).attr("dealer_margin"));
}
}); // end checked each
// cycle through
//alert(checked_boxes_total["msrp"]);
// here we format the price
// here we send the price to the page
jQuery(".msrp_holder").html(checked_boxes_total["msrp_base"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".msrp_container").html(checked_boxes_total["msrp"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".dealer_price_container").html(checked_boxes_total["dealer_price"]).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".dealer_margin_price_container").html(checked_boxes_total["dealer_margin"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
} function apply_graphics(){
// hide all the graphic overlays
jQuery(".boat_builder_graphic_overlay").css("display","none");
jQuery(".byb_checkbox").each(function() {
// if this option has an overlay
if(jQuery(this).attr("graphic_id") !== 0)
{
// if this option is checked
if(this.checked)
{
// possibly put overlays in csv to show more than one overlay per option..?
jQuery("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id")).css("display","block");
//alert("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id"));
}
}// end if
});
} function checked_boxes_list_tally(){
// empty the list container
jQuery("#option_list_tally_table").empty();
jQuery("input:checked").each(function(){
//alert(this.id);
//jQuery("#option_list_tally").append(this.next().child());
if(jQuery(this).attr("title") && jQuery(this).attr("option_group") != 16)
{
var price_msrp = jQuery(this).attr("msrp").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
if(country == 226 || country == 138)
{
if ((jQuery(this).prop("included_option")))
{
jQuery("#option_list_tally_table").append('