jQuery(document).ready(function(){ }); // end of document ready
jQuery(document).ready(function(){
jQuery("#input-652-21SSIBLK").change(function(){
if(jQuery("#input-652-21SSIBLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692B]");
//alert(jQuery("[id^=input-692B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692B]").prop("checked"))
{
jQuery("[id^=input-692B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692B-652-21SSIBLK]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 652-21SSIBLK - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692B-652-21SSIBLK]").remove();
jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSIBLK");
//alert(jQuery("[id^=input-652-21SSIBLK]").attr("title"));
//alert(jQuery("[id^=input-652-21SSIBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSIBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSIBLK").prop("checked"))
{
jQuery("#input-652-21SSIBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSIBLK");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSIBLK-692B]").length === 0)
{
jQuery("#note-652-21SSIBLK").append("
(N/A with 692B )");
}
jQuery("[id^=input-652-21SSIBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSIBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSIBLK-692B]").remove();
jQuery("[id^=input-652-21SSIBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSIBLK").change(function(){
if(jQuery("#input-652-21SSIBLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-652-21SSIBLK]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 652-21SSIBLK - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-652-21SSIBLK]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSIBLK");
//alert(jQuery("[id^=input-652-21SSIBLK]").attr("title"));
//alert(jQuery("[id^=input-652-21SSIBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSIBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSIBLK").prop("checked"))
{
jQuery("#input-652-21SSIBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSIBLK");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSIBLK-692W]").length === 0)
{
jQuery("#note-652-21SSIBLK").append("
(N/A with 692W )");
}
jQuery("[id^=input-652-21SSIBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSIBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSIBLK-692W]").remove();
jQuery("[id^=input-652-21SSIBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSIBLU").change(function(){
if(jQuery("#input-652-21SSIBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692B]");
//alert(jQuery("[id^=input-692B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692B]").prop("checked"))
{
jQuery("[id^=input-692B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692B-652-21SSIBLU]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 652-21SSIBLU - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692B-652-21SSIBLU]").remove();
jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSIBLU");
//alert(jQuery("[id^=input-652-21SSIBLU]").attr("title"));
//alert(jQuery("[id^=input-652-21SSIBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSIBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSIBLU").prop("checked"))
{
jQuery("#input-652-21SSIBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSIBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSIBLU-692B]").length === 0)
{
jQuery("#note-652-21SSIBLU").append("
(N/A with 692B )");
}
jQuery("[id^=input-652-21SSIBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSIBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSIBLU-692B]").remove();
jQuery("[id^=input-652-21SSIBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSIBLU").change(function(){
if(jQuery("#input-652-21SSIBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-652-21SSIBLU]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 652-21SSIBLU - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-652-21SSIBLU]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSIBLU");
//alert(jQuery("[id^=input-652-21SSIBLU]").attr("title"));
//alert(jQuery("[id^=input-652-21SSIBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSIBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSIBLU").prop("checked"))
{
jQuery("#input-652-21SSIBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSIBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSIBLU-692W]").length === 0)
{
jQuery("#note-652-21SSIBLU").append("
(N/A with 692W )");
}
jQuery("[id^=input-652-21SSIBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSIBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSIBLU-692W]").remove();
jQuery("[id^=input-652-21SSIBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSIFRE").change(function(){
if(jQuery("#input-652-21SSIFRE").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692B]");
//alert(jQuery("[id^=input-692B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692B]").prop("checked"))
{
jQuery("[id^=input-692B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692B-652-21SSIFRE]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 652-21SSIFRE - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692B-652-21SSIFRE]").remove();
jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSIFRE");
//alert(jQuery("[id^=input-652-21SSIFRE]").attr("title"));
//alert(jQuery("[id^=input-652-21SSIFRE]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSIFRE").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSIFRE").prop("checked"))
{
jQuery("#input-652-21SSIFRE").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSIFRE");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSIFRE-692B]").length === 0)
{
jQuery("#note-652-21SSIFRE").append("
(N/A with 692B )");
}
jQuery("[id^=input-652-21SSIFRE]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSIFRE").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSIFRE-692B]").remove();
jQuery("[id^=input-652-21SSIFRE]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSIFRE").change(function(){
if(jQuery("#input-652-21SSIFRE").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-652-21SSIFRE]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 652-21SSIFRE - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-652-21SSIFRE]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSIFRE");
//alert(jQuery("[id^=input-652-21SSIFRE]").attr("title"));
//alert(jQuery("[id^=input-652-21SSIFRE]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSIFRE").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSIFRE").prop("checked"))
{
jQuery("#input-652-21SSIFRE").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSIFRE");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSIFRE-692W]").length === 0)
{
jQuery("#note-652-21SSIFRE").append("
(N/A with 692W )");
}
jQuery("[id^=input-652-21SSIFRE]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSIFRE").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSIFRE-692W]").remove();
jQuery("[id^=input-652-21SSIFRE]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSISBL").change(function(){
if(jQuery("#input-652-21SSISBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692B]");
//alert(jQuery("[id^=input-692B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692B]").prop("checked"))
{
jQuery("[id^=input-692B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692B-652-21SSISBL]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 652-21SSISBL - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692B-652-21SSISBL]").remove();
jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSISBL");
//alert(jQuery("[id^=input-652-21SSISBL]").attr("title"));
//alert(jQuery("[id^=input-652-21SSISBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSISBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSISBL").prop("checked"))
{
jQuery("#input-652-21SSISBL").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSISBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSISBL-692B]").length === 0)
{
jQuery("#note-652-21SSISBL").append("
(N/A with 692B )");
}
jQuery("[id^=input-652-21SSISBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSISBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSISBL-692B]").remove();
jQuery("[id^=input-652-21SSISBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-652-21SSISBL").change(function(){
if(jQuery("#input-652-21SSISBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-652-21SSISBL]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 652-21SSISBL - Cockpit and Bow Cover)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-652-21SSISBL]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-652-21SSISBL");
//alert(jQuery("[id^=input-652-21SSISBL]").attr("title"));
//alert(jQuery("[id^=input-652-21SSISBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-652-21SSISBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-652-21SSISBL").prop("checked"))
{
jQuery("#input-652-21SSISBL").removeAttr("checked").change();
}
//console.log("if of reverse input-652-21SSISBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-652-21SSISBL-692W]").length === 0)
{
jQuery("#note-652-21SSISBL").append("
(N/A with 692W )");
}
jQuery("[id^=input-652-21SSISBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-652-21SSISBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-652-21SSISBL-692W]").remove();
jQuery("[id^=input-652-21SSISBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NWT-21SSI").change(function(){
if(jQuery("#input-619NWT-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-619NWT-21SSI]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 619NWT-21SSI - Mooring Cover)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-619NWT-21SSI]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NWT-21SSI");
//alert(jQuery("[id^=input-619NWT-21SSI]").attr("title"));
//alert(jQuery("[id^=input-619NWT-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NWT-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NWT-21SSI").prop("checked"))
{
jQuery("#input-619NWT-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-619NWT-21SSI");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619NWT-21SSI-685]").length === 0)
{
jQuery("#note-619NWT-21SSI").append("
(N/A with 685 )");
}
jQuery("[id^=input-619NWT-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NWT-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NWT-21SSI-685]").remove();
jQuery("[id^=input-619NWT-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NWT-21SSI").change(function(){
if(jQuery("#input-619NWT-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692B]");
//alert(jQuery("[id^=input-692B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692B]").prop("checked"))
{
jQuery("[id^=input-692B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692B-619NWT-21SSI]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 619NWT-21SSI - Mooring Cover)");
}
jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692B-619NWT-21SSI]").remove();
jQuery("[id^=input-692B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NWT-21SSI");
//alert(jQuery("[id^=input-619NWT-21SSI]").attr("title"));
//alert(jQuery("[id^=input-619NWT-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NWT-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NWT-21SSI").prop("checked"))
{
jQuery("#input-619NWT-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-619NWT-21SSI");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619NWT-21SSI-692B]").length === 0)
{
jQuery("#note-619NWT-21SSI").append("
(N/A with 692B )");
}
jQuery("[id^=input-619NWT-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NWT-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NWT-21SSI-692B]").remove();
jQuery("[id^=input-619NWT-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NWT-21SSI").change(function(){
if(jQuery("#input-619NWT-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-619NWT-21SSI]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 619NWT-21SSI - Mooring Cover)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-619NWT-21SSI]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NWT-21SSI");
//alert(jQuery("[id^=input-619NWT-21SSI]").attr("title"));
//alert(jQuery("[id^=input-619NWT-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NWT-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NWT-21SSI").prop("checked"))
{
jQuery("#input-619NWT-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-619NWT-21SSI");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619NWT-21SSI-692W]").length === 0)
{
jQuery("#note-619NWT-21SSI").append("
(N/A with 692W )");
}
jQuery("[id^=input-619NWT-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NWT-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NWT-21SSI-692W]").remove();
jQuery("[id^=input-619NWT-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NWTEP-21SSI").change(function(){
if(jQuery("#input-619NWTEP-21SSI").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-619NWTEP-21SSI]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 619NWTEP-21SSI - Mooring Cover)");
}
jQuery("[id^=input-692B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692B-619NWTEP-21SSI]").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-619NWTEP-21SSI");
//alert(jQuery("[id^=input-619NWTEP-21SSI]").attr("title"));
//alert(jQuery("[id^=input-619NWTEP-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NWTEP-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NWTEP-21SSI").prop("checked"))
{
jQuery("#input-619NWTEP-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-619NWTEP-21SSI");
//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-619NWTEP-21SSI-692B]").length === 0)
{
jQuery("#note-619NWTEP-21SSI").append("
(N/A with 692B )");
}
jQuery("[id^=input-619NWTEP-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NWTEP-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NWTEP-21SSI-692B]").remove();
jQuery("[id^=input-619NWTEP-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619NWTEP-21SSI").change(function(){
if(jQuery("#input-619NWTEP-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-619NWTEP-21SSI]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 619NWTEP-21SSI - Mooring Cover)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-619NWTEP-21SSI]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619NWTEP-21SSI");
//alert(jQuery("[id^=input-619NWTEP-21SSI]").attr("title"));
//alert(jQuery("[id^=input-619NWTEP-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619NWTEP-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-619NWTEP-21SSI").prop("checked"))
{
jQuery("#input-619NWTEP-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-619NWTEP-21SSI");
//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-619NWTEP-21SSI-692W]").length === 0)
{
jQuery("#note-619NWTEP-21SSI").append("
(N/A with 692W )");
}
jQuery("[id^=input-619NWTEP-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619NWTEP-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619NWTEP-21SSI-692W]").remove();
jQuery("[id^=input-619NWTEP-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-619WT-21SSI").change(function(){
if(jQuery("#input-619WT-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-619WT-21SSI]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 619WT-21SSI - Mooring Cover)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-619WT-21SSI]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-619WT-21SSI");
//alert(jQuery("[id^=input-619WT-21SSI]").attr("title"));
//alert(jQuery("[id^=input-619WT-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-619WT-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-619WT-21SSI").prop("checked"))
{
jQuery("#input-619WT-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-619WT-21SSI");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-619WT-21SSI-685]").length === 0)
{
jQuery("#note-619WT-21SSI").append("
(N/A with 685 )");
}
jQuery("[id^=input-619WT-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-619WT-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-619WT-21SSI-685]").remove();
jQuery("[id^=input-619WT-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-695-21SSIG").change(function(){
if(jQuery("#input-695-21SSIG").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-695-21SSIG]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 695-21SSIG - Seadek Swim Platform Mat)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-695-21SSIG]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-695-21SSIG");
//alert(jQuery("[id^=input-695-21SSIG]").attr("title"));
//alert(jQuery("[id^=input-695-21SSIG]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-695-21SSIG").prop("disabled", true);
// determine if checked
if(jQuery("#input-695-21SSIG").prop("checked"))
{
jQuery("#input-695-21SSIG").removeAttr("checked").change();
}
//console.log("if of reverse input-695-21SSIG");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-695-21SSIG-685]").length === 0)
{
jQuery("#note-695-21SSIG").append("
(N/A with 685 )");
}
jQuery("[id^=input-695-21SSIG]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-695-21SSIG").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-695-21SSIG-685]").remove();
jQuery("[id^=input-695-21SSIG]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-695-21SSIC").change(function(){
if(jQuery("#input-695-21SSIC").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-695-21SSIC]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 695-21SSIC - Seadek Swim Platform Mat)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-695-21SSIC]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-695-21SSIC");
//alert(jQuery("[id^=input-695-21SSIC]").attr("title"));
//alert(jQuery("[id^=input-695-21SSIC]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-695-21SSIC").prop("disabled", true);
// determine if checked
if(jQuery("#input-695-21SSIC").prop("checked"))
{
jQuery("#input-695-21SSIC").removeAttr("checked").change();
}
//console.log("if of reverse input-695-21SSIC");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-695-21SSIC-685]").length === 0)
{
jQuery("#note-695-21SSIC").append("
(N/A with 685 )");
}
jQuery("[id^=input-695-21SSIC]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-695-21SSIC").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-695-21SSIC-685]").remove();
jQuery("[id^=input-695-21SSIC]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685NWT-21SSI").change(function(){
if(jQuery("#input-685NWT-21SSI").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-685NWT-21SSI]").length === 0)
{
jQuery("[id^=note-692B]").append("
(N/A with 685NWT-21SSI - Extended Swim Platform)");
}
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-685NWT-21SSI]").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-685NWT-21SSI");
//alert(jQuery("[id^=input-685NWT-21SSI]").attr("title"));
//alert(jQuery("[id^=input-685NWT-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685NWT-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-685NWT-21SSI").prop("checked"))
{
jQuery("#input-685NWT-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-685NWT-21SSI");
//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-685NWT-21SSI-692B]").length === 0)
{
jQuery("#note-685NWT-21SSI").append("
(N/A with 692B )");
}
jQuery("[id^=input-685NWT-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685NWT-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685NWT-21SSI-692B]").remove();
jQuery("[id^=input-685NWT-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685NWT-21SSI").change(function(){
if(jQuery("#input-685NWT-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-692W]");
//alert(jQuery("[id^=input-692W]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-692W]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-692W]").prop("checked"))
{
jQuery("[id^=input-692W]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-692W-685NWT-21SSI]").length === 0)
{
jQuery("[id^=note-692W]").append("
(N/A with 685NWT-21SSI - Extended Swim Platform)");
}
jQuery("[id^=input-692W]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-692W]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-692W-685NWT-21SSI]").remove();
jQuery("[id^=input-692W]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-692W]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685NWT-21SSI");
//alert(jQuery("[id^=input-685NWT-21SSI]").attr("title"));
//alert(jQuery("[id^=input-685NWT-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685NWT-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-685NWT-21SSI").prop("checked"))
{
jQuery("#input-685NWT-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-685NWT-21SSI");
//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-685NWT-21SSI-692W]").length === 0)
{
jQuery("#note-685NWT-21SSI").append("
(N/A with 692W )");
}
jQuery("[id^=input-685NWT-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685NWT-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685NWT-21SSI-692W]").remove();
jQuery("[id^=input-685NWT-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-688TAG-21SSI").change(function(){
if(jQuery("#input-688TAG-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-688TAG-21SSI]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 688TAG-21SSI - Trailer Upgrade - Aluminum Tandem Axle with Brakes and Galvanized Wheels)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-688TAG-21SSI]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-688TAG-21SSI");
//alert(jQuery("[id^=input-688TAG-21SSI]").attr("title"));
//alert(jQuery("[id^=input-688TAG-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-688TAG-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-688TAG-21SSI").prop("checked"))
{
jQuery("#input-688TAG-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-688TAG-21SSI");
//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-688TAG-21SSI-685]").length === 0)
{
jQuery("#note-688TAG-21SSI").append("
(N/A with 685 )");
}
jQuery("[id^=input-688TAG-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-688TAG-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-688TAG-21SSI-685]").remove();
jQuery("[id^=input-688TAG-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-688TAA-21SSI").change(function(){
if(jQuery("#input-688TAA-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-688TAA-21SSI]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 688TAA-21SSI - Trailer Upgrade - Aluminum Tandem Axle with Brakes and Aluminum Wheels)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-688TAA-21SSI]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-688TAA-21SSI");
//alert(jQuery("[id^=input-688TAA-21SSI]").attr("title"));
//alert(jQuery("[id^=input-688TAA-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-688TAA-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-688TAA-21SSI").prop("checked"))
{
jQuery("#input-688TAA-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-688TAA-21SSI");
//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-688TAA-21SSI-685]").length === 0)
{
jQuery("#note-688TAA-21SSI").append("
(N/A with 685 )");
}
jQuery("[id^=input-688TAA-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-688TAA-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-688TAA-21SSI-685]").remove();
jQuery("[id^=input-688TAA-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-688TBA-21SSI").change(function(){
if(jQuery("#input-688TBA-21SSI").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-688TBA-21SSI]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 688TBA-21SSI - Trailer Upgrade - Black Tandem Axle with Brakes and Aluminum Wheels)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-688TBA-21SSI]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-688TBA-21SSI");
//alert(jQuery("[id^=input-688TBA-21SSI]").attr("title"));
//alert(jQuery("[id^=input-688TBA-21SSI]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-688TBA-21SSI").prop("disabled", true);
// determine if checked
if(jQuery("#input-688TBA-21SSI").prop("checked"))
{
jQuery("#input-688TBA-21SSI").removeAttr("checked").change();
}
//console.log("if of reverse input-688TBA-21SSI");
//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-688TBA-21SSI-685]").length === 0)
{
jQuery("#note-688TBA-21SSI").append("
(N/A with 685 )");
}
jQuery("[id^=input-688TBA-21SSI]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-688TBA-21SSI").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-688TBA-21SSI-685]").remove();
jQuery("[id^=input-688TBA-21SSI]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ jQuery("#input-971-21SSI").change(function(){
if(jQuery("#input-971-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-971-21SSI]").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-SOLID_HULL-971-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 971-21SSI-White Hull)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-971-21SSI]").hide();
jQuery("[id^=note-single-required-by-971-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-971-21SSI]").remove();
}
}); // end click listener
jQuery("#input-972-21SSI").change(function(){
if(jQuery("#input-972-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-972-21SSI]").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-SOLID_HULL-972-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 972-21SSI-White Hull)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-972-21SSI]").hide();
jQuery("[id^=note-single-required-by-972-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-972-21SSI]").remove();
}
}); // end click listener
jQuery("#input-974-21SSI").change(function(){
if(jQuery("#input-974-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-974-21SSI]").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-SOLID_HULL-974-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 974-21SSI-White Hull)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-974-21SSI]").hide();
jQuery("[id^=note-single-required-by-974-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-974-21SSI]").remove();
}
}); // end click listener
jQuery("#input-973-21SSI").change(function(){
if(jQuery("#input-973-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-973-21SSI]").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-SOLID_HULL-973-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 973-21SSI-White Hull)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-973-21SSI]").hide();
jQuery("[id^=note-single-required-by-973-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-973-21SSI]").remove();
}
}); // end click listener
jQuery("#input-976-21SSI").change(function(){
if(jQuery("#input-976-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-976-21SSI]").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-SOLID_HULL-976-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 976-21SSI-White Hull)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-976-21SSI]").hide();
jQuery("[id^=note-single-required-by-976-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-976-21SSI]").remove();
}
}); // end click listener
jQuery("#input-956-21SSI").change(function(){
if(jQuery("#input-956-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-956-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-904-956-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-904]").prop("type") != "radio")
if(jQuery("[id^=input-904]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-904]").prop("disabled", true);
}
if(!jQuery("[id^=input-904]").prop("checked"))
{
jQuery("[id^=input-904]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-904]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-904]").append("
(Required By: 956-21SSI-Hull Side Gelcoat - White)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-956-21SSI]").hide();
jQuery("[id^=note-single-required-by-956-21SSI]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-904]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-904]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-904-956-21SSI]").remove();
}
}); // end click listener
jQuery("#input-950-21SSI").change(function(){
if(jQuery("#input-950-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-950-21SSI]").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-902-950-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-902]").prop("type") != "radio")
if(jQuery("[id^=input-902]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-902]").prop("disabled", true);
}
if(!jQuery("[id^=input-902]").prop("checked"))
{
jQuery("[id^=input-902]").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-902]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-902]").append("
(Required By: 950-21SSI-Hull Side Gelcoat - Black)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-950-21SSI]").hide();
jQuery("[id^=note-single-required-by-950-21SSI]").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-902]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-902]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-902-950-21SSI]").remove();
}
}); // end click listener
jQuery("#input-951-21SSI").change(function(){
if(jQuery("#input-951-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-951-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-951-21SSI]").hide();
jQuery("[id^=note-single-required-by-951-21SSI]").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-902]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-902]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-902-950-21SSI]").remove();
}
}); // end click listener
jQuery("#input-952-21SSI").change(function(){
if(jQuery("#input-952-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-952-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-952-21SSI]").hide();
jQuery("[id^=note-single-required-by-952-21SSI]").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-902]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-902]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-902-950-21SSI]").remove();
}
}); // end click listener
jQuery("#input-954-21SSI").change(function(){
if(jQuery("#input-954-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-954-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-954-21SSI]").hide();
jQuery("[id^=note-single-required-by-954-21SSI]").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-902]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-902]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-902-950-21SSI]").remove();
}
}); // end click listener
jQuery("#input-930-21SSI").change(function(){
if(jQuery("#input-930-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-930-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-930-21SSI]").hide();
jQuery("[id^=note-single-required-by-930-21SSI]").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-902]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-902]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-902-950-21SSI]").remove();
}
}); // end click listener
jQuery("#input-925-21SSI").change(function(){
if(jQuery("#input-925-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-925-21SSI]").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-SOLID_HULL-925-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 925-21SSI-Gel Coated Entire Hull - Black)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-925-21SSI]").hide();
jQuery("[id^=note-single-required-by-925-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-925-21SSI]").remove();
}
}); // end click listener
jQuery("#input-926-21SSI").change(function(){
if(jQuery("#input-926-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-926-21SSI]").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-SOLID_HULL-926-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 926-21SSI-Gel Coated Entire Hull - Biscayne Blue)");
}
}
// 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-926-21SSI]").hide();
jQuery("[id^=note-single-required-by-926-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-926-21SSI]").remove();
}
}); // end click listener
jQuery("#input-927-21SSI").change(function(){
if(jQuery("#input-927-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-927-21SSI]").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-SOLID_HULL-927-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 927-21SSI-Gel Coated Entire Hull - Alloy Gray)");
}
}
// 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-927-21SSI]").hide();
jQuery("[id^=note-single-required-by-927-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-927-21SSI]").remove();
}
}); // end click listener
jQuery("#input-928-21SSI").change(function(){
if(jQuery("#input-928-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-928-21SSI]").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-SOLID_HULL-928-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 928-21SSI-Gel Coated Entire Hull - Fire Red)");
}
}
// 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-928-21SSI]").hide();
jQuery("[id^=note-single-required-by-928-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-928-21SSI]").remove();
}
}); // end click listener
jQuery("#input-931-21SSI").change(function(){
if(jQuery("#input-931-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-931-21SSI]").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-SOLID_HULL-931-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio")
if(jQuery("[id^=input-SOLID_HULL]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-SOLID_HULL]").prop("disabled", true);
}
if(!jQuery("[id^=input-SOLID_HULL]").prop("checked"))
{
jQuery("[id^=input-SOLID_HULL]").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-SOLID_HULL]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-SOLID_HULL]").append("
(Required By: 931-21SSI-Gel Coated Entire Hull - Steel Blue)");
}
}
// 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-931-21SSI]").hide();
jQuery("[id^=note-single-required-by-931-21SSI]").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-SOLID_HULL]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-SOLID_HULL]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-SOLID_HULL-931-21SSI]").remove();
}
}); // end click listener
jQuery("#input-619NWTEP-21SSI").change(function(){
if(jQuery("#input-619NWTEP-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-619NWTEP-21SSI]").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-685NWT-619NWTEP-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-685NWT]").prop("type") != "radio")
if(jQuery("[id^=input-685NWT]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-685NWT]").prop("disabled", true);
}
if(!jQuery("[id^=input-685NWT]").prop("checked"))
{
jQuery("[id^=input-685NWT]").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-685NWT]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-685NWT]").append("
(Required By: 619NWTEP-21SSI-Mooring Cover)");
}
}
// 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-619NWTEP-21SSI]").hide();
jQuery("[id^=note-single-required-by-619NWTEP-21SSI]").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-685NWT]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-685NWT]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-685NWT-619NWTEP-21SSI]").remove();
}
}); // end click listener
jQuery("#input-619WTEP-21SSI").change(function(){
if(jQuery("#input-619WTEP-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-619WTEP-21SSI]").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-685WT-619WTEP-21SSI]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-685WT]").prop("type") != "radio")
if(jQuery("[id^=input-685WT]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-685WT]").prop("disabled", true);
}
if(!jQuery("[id^=input-685WT]").prop("checked"))
{
jQuery("[id^=input-685WT]").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-685WT]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-685WT]").append("
(Required By: 619WTEP-21SSI-Mooring Cover)");
}
}
// 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-619WTEP-21SSI]").hide();
jQuery("[id^=note-single-required-by-619WTEP-21SSI]").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-685WT]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-685WT]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-685WT-619WTEP-21SSI]").remove();
}
}); // end click listener
jQuery("#input-695EP-21SSIG").change(function(){
if(jQuery("#input-695EP-21SSIG").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-695EP-21SSIG]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-695EP-21SSIG]").hide();
jQuery("[id^=note-single-required-by-695EP-21SSIG]").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-685WT]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-685WT]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-685WT-619WTEP-21SSI]").remove();
}
}); // end click listener
jQuery("#input-695EP-21SSIC").change(function(){
if(jQuery("#input-695EP-21SSIC").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-695EP-21SSIC]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-695EP-21SSIC]").hide();
jQuery("[id^=note-single-required-by-695EP-21SSIC]").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-685WT]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-685WT]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-685WT-619WTEP-21SSI]").remove();
}
}); // end click listener
jQuery("#input-685NWT-21SSI").change(function(){
if(jQuery("#input-685NWT-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-685NWT-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-685NWT-21SSI]").hide();
jQuery("[id^=note-single-required-by-685NWT-21SSI]").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-685WT]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-685WT]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-685WT-619WTEP-21SSI]").remove();
}
}); // end click listener
jQuery("#input-685WT-21SSI").change(function(){
if(jQuery("#input-685WT-21SSI").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-685WT-21SSI]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-685WT-21SSI]").hide();
jQuery("[id^=note-single-required-by-685WT-21SSI]").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-685WT]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-685WT]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-685WT-619WTEP-21SSI]").remove();
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ option_group_data["971-21SSI"] = {}; option_group_data["971-21SSI"]["part_groups"] = new Array();
option_group_data["971-21SSI"]["part_groups"].push("10");
option_group_data["972-21SSI"] = {}; option_group_data["972-21SSI"]["part_groups"] = new Array();
option_group_data["972-21SSI"]["part_groups"].push("10");
option_group_data["974-21SSI"] = {}; option_group_data["974-21SSI"]["part_groups"] = new Array();
option_group_data["974-21SSI"]["part_groups"].push("10");
option_group_data["973-21SSI"] = {}; option_group_data["973-21SSI"]["part_groups"] = new Array();
option_group_data["973-21SSI"]["part_groups"].push("10");
option_group_data["976-21SSI"] = {}; option_group_data["976-21SSI"]["part_groups"] = new Array();
option_group_data["976-21SSI"]["part_groups"].push("10");
option_group_data["956-21SSI"] = {}; option_group_data["956-21SSI"]["part_groups"] = new Array();
option_group_data["956-21SSI"]["part_groups"].push("11");
option_group_data["950-21SSI"] = {}; option_group_data["950-21SSI"]["part_groups"] = new Array();
option_group_data["950-21SSI"]["part_groups"].push("12");
option_group_data["951-21SSI"] = {}; option_group_data["951-21SSI"]["part_groups"] = new Array();
option_group_data["951-21SSI"]["part_groups"].push("13");
option_group_data["952-21SSI"] = {}; option_group_data["952-21SSI"]["part_groups"] = new Array();
option_group_data["952-21SSI"]["part_groups"].push("13");
option_group_data["954-21SSI"] = {}; option_group_data["954-21SSI"]["part_groups"] = new Array();
option_group_data["954-21SSI"]["part_groups"].push("13");
option_group_data["930-21SSI"] = {}; option_group_data["930-21SSI"]["part_groups"] = new Array();
option_group_data["930-21SSI"]["part_groups"].push("13");
option_group_data["925-21SSI"] = {}; option_group_data["925-21SSI"]["part_groups"] = new Array();
option_group_data["925-21SSI"]["part_groups"].push("10");
option_group_data["926-21SSI"] = {}; option_group_data["926-21SSI"]["part_groups"] = new Array();
option_group_data["926-21SSI"]["part_groups"].push("10");
option_group_data["927-21SSI"] = {}; option_group_data["927-21SSI"]["part_groups"] = new Array();
option_group_data["927-21SSI"]["part_groups"].push("10");
option_group_data["928-21SSI"] = {}; option_group_data["928-21SSI"]["part_groups"] = new Array();
option_group_data["928-21SSI"]["part_groups"].push("10");
option_group_data["931-21SSI"] = {}; option_group_data["931-21SSI"]["part_groups"] = new Array();
option_group_data["931-21SSI"]["part_groups"].push("10");
option_group_data["902-21SSI"] = {}; option_group_data["902-21SSI"]["available_with"] = new Array();
option_group_data["902-21SSI"]["available_with_compound"] = new Array();
option_group_data["902-21SSI"]["available_with"].push("12");
option_group_data["902-21SSI"]["available_with"].push("13");
option_group_data["904-21SSI"] = {}; option_group_data["904-21SSI"]["available_with"] = new Array();
option_group_data["904-21SSI"]["available_with_compound"] = new Array();
option_group_data["904-21SSI"]["available_with"].push("11");
option_group_data["904-21SSI"]["available_with"].push("13");
option_group_data["SOLID_HULL"] = {}; option_group_data["SOLID_HULL"]["available_with"] = new Array();
option_group_data["SOLID_HULL"]["available_with_compound"] = new Array();
option_group_data["SOLID_HULL"]["available_with"].push("10");
option_group_data["692B-21SSIFRE"] = {}; option_group_data["692B-21SSIFRE"]["part_groups"] = new Array();
option_group_data["692B-21SSIFRE"]["part_groups"].push("3");
option_group_data["692B-21SSIFRE"]["part_groups"].push("15");
option_group_data["692B-21SSIBLK"] = {}; option_group_data["692B-21SSIBLK"]["part_groups"] = new Array();
option_group_data["692B-21SSIBLK"]["part_groups"].push("3");
option_group_data["692B-21SSIBLK"]["part_groups"].push("15");
option_group_data["692B-21SSISBL"] = {}; option_group_data["692B-21SSISBL"]["part_groups"] = new Array();
option_group_data["692B-21SSISBL"]["part_groups"].push("3");
option_group_data["692B-21SSISBL"]["part_groups"].push("15");
option_group_data["692B-21SSIBLU"] = {}; option_group_data["692B-21SSIBLU"]["part_groups"] = new Array();
option_group_data["692B-21SSIBLU"]["part_groups"].push("3");
option_group_data["692B-21SSIBLU"]["part_groups"].push("15");
option_group_data["692W-21SSISBL"] = {}; option_group_data["692W-21SSISBL"]["part_groups"] = new Array();
option_group_data["692W-21SSISBL"]["part_groups"].push("3");
option_group_data["692W-21SSISBL"]["part_groups"].push("16");
option_group_data["692W-21SSIBLU"] = {}; option_group_data["692W-21SSIBLU"]["part_groups"] = new Array();
option_group_data["692W-21SSIBLU"]["part_groups"].push("3");
option_group_data["692W-21SSIBLU"]["part_groups"].push("16");
option_group_data["692W-21SSIFRE"] = {}; option_group_data["692W-21SSIFRE"]["part_groups"] = new Array();
option_group_data["692W-21SSIFRE"]["part_groups"].push("3");
option_group_data["692W-21SSIFRE"]["part_groups"].push("16");
option_group_data["692W-21SSIBLK"] = {}; option_group_data["692W-21SSIBLK"]["part_groups"] = new Array();
option_group_data["692W-21SSIBLK"]["part_groups"].push("3");
option_group_data["692W-21SSIBLK"]["part_groups"].push("16");
option_group_data["652WT-21SSIBLK"] = {}; option_group_data["652WT-21SSIBLK"]["available_with"] = new Array();
option_group_data["652WT-21SSIBLK"]["available_with_compound"] = new Array();
option_group_data["652WT-21SSIBLK"]["available_with"].push("3");
option_group_data["652WT-21SSIBLU"] = {}; option_group_data["652WT-21SSIBLU"]["available_with"] = new Array();
option_group_data["652WT-21SSIBLU"]["available_with_compound"] = new Array();
option_group_data["652WT-21SSIBLU"]["available_with"].push("3");
option_group_data["652WT-21SSIFRE"] = {}; option_group_data["652WT-21SSIFRE"]["available_with"] = new Array();
option_group_data["652WT-21SSIFRE"]["available_with_compound"] = new Array();
option_group_data["652WT-21SSIFRE"]["available_with"].push("3");
option_group_data["652WT-21SSISBL"] = {}; option_group_data["652WT-21SSISBL"]["available_with"] = new Array();
option_group_data["652WT-21SSISBL"]["available_with_compound"] = new Array();
option_group_data["652WT-21SSISBL"]["available_with"].push("3");
option_group_data["619WT-21SSI"] = {}; option_group_data["619WT-21SSI"]["available_with"] = new Array();
option_group_data["619WT-21SSI"]["available_with_compound"] = new Array();
option_group_data["619WT-21SSI"]["available_with"].push("3");
option_group_data["619WTEP-21SSI"] = {}; option_group_data["619WTEP-21SSI"]["available_with"] = new Array();
option_group_data["619WTEP-21SSI"]["available_with_compound"] = new Array();
option_group_data["619WTEP-21SSI"]["available_with"].push("3");
option_group_data["685NWT-21SSI"] = {}; option_group_data["685NWT-21SSI"]["part_groups"] = new Array();
option_group_data["685NWT-21SSI"]["part_groups"].push("62");
option_group_data["685WT-21SSI"] = {}; option_group_data["685WT-21SSI"]["part_groups"] = new Array();
option_group_data["685WT-21SSI"]["available_with"] = new Array();
option_group_data["685WT-21SSI"]["available_with_compound"] = new Array();
option_group_data["685WT-21SSI"]["part_groups"].push("62");
option_group_data["685WT-21SSI"]["available_with"].push("3");
option_group_data["697-21SSI"] = {}; option_group_data["697-21SSI"]["available_with"] = new Array();
option_group_data["697-21SSI"]["available_with_compound"] = new Array();
option_group_data["697-21SSI"]["available_with"].push("3");
option_group_data["796-21SSI"] = {}; option_group_data["796-21SSI"]["available_with"] = new Array();
option_group_data["796-21SSI"]["available_with_compound"] = new Array();
option_group_data["796-21SSI"]["available_with"].push("16");
option_group_data["796B-21SSI"] = {}; option_group_data["796B-21SSI"]["available_with"] = new Array();
option_group_data["796B-21SSI"]["available_with_compound"] = new Array();
option_group_data["796B-21SSI"]["available_with"].push("15");
option_group_data["STANDARD_TRAILER"] = {}; option_group_data["STANDARD_TRAILER"]["part_groups"] = new Array();
option_group_data["STANDARD_TRAILER"]["part_groups"].push("94");
option_group_data["688TBG-21SSIEP"] = {}; option_group_data["688TBG-21SSIEP"]["part_groups"] = new Array();
option_group_data["688TBG-21SSIEP"]["available_with"] = new Array();
option_group_data["688TBG-21SSIEP"]["available_with_compound"] = new Array();
option_group_data["688TBG-21SSIEP"]["part_groups"].push("94");
option_group_data["688TBG-21SSIEP"]["available_with"].push("62");
option_group_data["688TAG-21SSI"] = {}; option_group_data["688TAG-21SSI"]["part_groups"] = new Array();
option_group_data["688TAG-21SSI"]["part_groups"].push("91");
option_group_data["688TAG-21SSIEP"] = {}; option_group_data["688TAG-21SSIEP"]["part_groups"] = new Array();
option_group_data["688TAG-21SSIEP"]["available_with"] = new Array();
option_group_data["688TAG-21SSIEP"]["available_with_compound"] = new Array();
option_group_data["688TAG-21SSIEP"]["part_groups"].push("91");
option_group_data["688TAG-21SSIEP"]["available_with"].push("62");
option_group_data["688TAA-21SSI"] = {}; option_group_data["688TAA-21SSI"]["part_groups"] = new Array();
option_group_data["688TAA-21SSI"]["part_groups"].push("92");
option_group_data["688TAA-21SSIEP"] = {}; option_group_data["688TAA-21SSIEP"]["part_groups"] = new Array();
option_group_data["688TAA-21SSIEP"]["available_with"] = new Array();
option_group_data["688TAA-21SSIEP"]["available_with_compound"] = new Array();
option_group_data["688TAA-21SSIEP"]["part_groups"].push("92");
option_group_data["688TAA-21SSIEP"]["available_with"].push("62");
option_group_data["688TBA-21SSI"] = {}; option_group_data["688TBA-21SSI"]["part_groups"] = new Array();
option_group_data["688TBA-21SSI"]["part_groups"].push("93");
option_group_data["688TBA-21SSIEP"] = {}; option_group_data["688TBA-21SSIEP"]["part_groups"] = new Array();
option_group_data["688TBA-21SSIEP"]["available_with"] = new Array();
option_group_data["688TBA-21SSIEP"]["available_with_compound"] = new Array();
option_group_data["688TBA-21SSIEP"]["part_groups"].push("93");
option_group_data["688TBA-21SSIEP"]["available_with"].push("62");
option_group_data["686-21SSIBLK"] = {}; option_group_data["686-21SSIBLK"]["available_with"] = new Array();
option_group_data["686-21SSIBLK"]["available_with_compound"] = new Array();
option_group_data["686-21SSIBLK"]["available_with"].push("94");
option_group_data["686-21SSIALM"] = {}; option_group_data["686-21SSIALM"]["available_with"] = new Array();
option_group_data["686-21SSIALM"]["available_with_compound"] = new Array();
option_group_data["686-21SSIALM"]["available_with"].push("91");
option_group_data["687-21SSIBLK"] = {}; option_group_data["687-21SSIBLK"]["available_with"] = new Array();
option_group_data["687-21SSIBLK"]["available_with_compound"] = new Array();
option_group_data["687-21SSIBLK"]["available_with"].push("93");
option_group_data["687-21SSIALM"] = {}; option_group_data["687-21SSIALM"]["available_with"] = new Array();
option_group_data["687-21SSIALM"]["available_with_compound"] = new Array();
option_group_data["687-21SSIALM"]["available_with"].push("92");
}); // end of document ready
jQuery(document).ready(function(){
jQuery("#boat_build_form").validate({
rules: {
name: {
required: true,
minlength: 2
},
email: {
required: true,
email: true
},
zip: {
required: true,
minlength: 3
}
},
messages: {
name: " -Name Required ",
email: " -Please enter a valid email address",
zip: " -Zip/Postal Required"
}
}); // end validate
});// end doc ready
jQuery(document).ready(function(){
checked_boxes_price_tally();
checked_boxes_list_tally();
jQuery(".byb_checkbox:input").change(function(){
// if this is a single selection and if this option is checked
if(jQuery(this).attr("single_selection_group") && jQuery(this).prop("checked"))
{
// loop thorugh all options and remove checks from this single selection group
var single_selection_group = jQuery(this).attr("single_selection_group");
var single_selection_checked_option = jQuery(this).val();
jQuery("#boat_build_form input:checked").each(function(){
// if this option is in the single selection group AND it is NOT the same part number as selected above
if(jQuery(this).attr("single_selection_group") == single_selection_group && jQuery(this).val() != single_selection_checked_option)
{
jQuery(this).prop("checked",false).change();
}
});
}
//includes();
apply_part_groups();
apply_graphics();
checked_boxes_price_tally();
checked_boxes_list_tally();
setCanvasColor();
setXtremeArchGraphics();
//alert(overwrite_group_total["msrp"]);
});
});
function checked_boxes_price_tally(){
// here we get the volume discount to be used in the final tally price
// these boats do NOT get volume discount applied to them
///////// !!!!!!!!!!! Volume discount has been moved to the line item !!!!!!!!!!!!!!!!!!!!/////////
//if(item_id != "342" && item_id != "345")
// {
// var volume_discount = (100 - parseFloat(jQuery("#volume_discount-holder").val()-0))/100;
// }
//else
// {
// var volume_discount = 1;
// }
var dealer_installed_option_total = 0;
// get msrp of dealer installed options
jQuery(".dealer_installed_option_price").each(function(){
if(jQuery(this).val())
{
dealer_installed_option_total = dealer_installed_option_total+parseFloat(jQuery(this).val());
}
});
var checked_boxes_total = new Array();
checked_boxes_total["msrp"] = 0;
checked_boxes_total["msrp_base"] = 0;
checked_boxes_total["dealer_price"] = 0;
checked_boxes_total["dealer_margin"] = 0;
base_multiplier
jQuery("#boat_build_form input:checked").each(function(){
//alert(this.id);
//alert(jQuery("input").attr("disabled"));
// if the checkbox is not disabled
// this first line weeds out tbd pricing of 999999
//if(!jQuery(this).prop("disabled") && jQuery(this).attr("msrp") && jQuery(this).attr("is_tbd") != 1 && jQuery(this).attr("is_tbd") != "1")
//if((!jQuery(this).prop("disabled") || jQuery(this).attr("is_required")) && jQuery(this).attr("msrp") && jQuery(this).val() != "NPPNPRICE22S" )
if(!jQuery(this).prop("included_option") && jQuery(this).attr("msrp"))
{
//alert(jQuery(this).attr("dealer_margin"));
//alert(jQuery(this).attr("id"));
// we have base
if(jQuery(this).attr("overwrite_group") == 1){
checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*base_multiplier);
}
// we have option
else{
checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*option_multiplier);
}
checked_boxes_total["msrp"] = checked_boxes_total["msrp"] + parseFloat(jQuery(this).attr("msrp"));
checked_boxes_total["dealer_price"] = checked_boxes_total["dealer_price"] + parseFloat(jQuery(this).attr("dealer_cost"));
checked_boxes_total["dealer_margin"] = checked_boxes_total["dealer_margin"] + parseFloat(jQuery(this).attr("dealer_margin"));
}
}); // end checked each
// cycle through
//alert(checked_boxes_total["msrp"]);
// here we format the price
// here we send the price to the page
jQuery(".msrp_holder").html(checked_boxes_total["msrp_base"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".msrp_container").html(checked_boxes_total["msrp"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".dealer_price_container").html(checked_boxes_total["dealer_price"]).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".dealer_margin_price_container").html(checked_boxes_total["dealer_margin"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
} function apply_graphics(){
// hide all the graphic overlays
jQuery(".boat_builder_graphic_overlay").css("display","none");
jQuery(".byb_checkbox").each(function() {
// if this option has an overlay
if(jQuery(this).attr("graphic_id") !== 0)
{
// if this option is checked
if(this.checked)
{
// possibly put overlays in csv to show more than one overlay per option..?
jQuery("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id")).css("display","block");
//alert("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id"));
}
}// end if
});
} function checked_boxes_list_tally(){
// empty the list container
jQuery("#option_list_tally_table").empty();
jQuery("input:checked").each(function(){
//alert(this.id);
//jQuery("#option_list_tally").append(this.next().child());
if(jQuery(this).attr("title") && jQuery(this).attr("option_group") != 16)
{
var price_msrp = jQuery(this).attr("msrp").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
if(country == 226 || country == 138)
{
if ((jQuery(this).prop("included_option")))
{
jQuery("#option_list_tally_table").append('