jQuery(document).ready(function(){
jQuery("#input-979-GTS6BE").change(function(){
if(jQuery("#input-979-GTS6BE").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-BE_HULL]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 979-GTS6BE - Black Edition Hull)
");
jQuery("[id^=note-BE_HULL]").html("
(Included in 979-GTS6BE - Black Edition Hull)");
jQuery("[id^=input-BE_HULL]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-979-GTS6BE").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-BE_HULL]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-BE_HULL]").prop("disabled",false);
jQuery("[id^=input-BE_HULL]").prop("included_option", false);
//if(!jQuery("#input-BE_HULL").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-BE_HULL").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-BE_HULL").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-979-GTS6BE-BE_HULL").remove();
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-512V]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685V-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-512V]").html("
(Included in 685V-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-512V]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685V-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-512V]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512V]").prop("disabled",false);
jQuery("[id^=input-512V]").prop("included_option", false);
//if(!jQuery("#input-512V").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512V").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512V").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685V-GTS6-512V").remove();
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-551]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685V-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-551]").html("
(Included in 685V-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685V-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-551]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-551]").prop("disabled",false);
jQuery("[id^=input-551]").prop("included_option", false);
//if(!jQuery("#input-551").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-551").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-551").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685V-GTS6-551").remove();
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-767B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685V-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-767B]").html("
(Included in 685V-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685V-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-767B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-767B]").prop("disabled",false);
jQuery("[id^=input-767B]").prop("included_option", false);
//if(!jQuery("#input-767B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-767B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-767B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685V-GTS6-767B").remove();
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-797]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685V-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-797]").html("
(Included in 685V-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-797]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685V-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-797]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-797]").prop("disabled",false);
jQuery("[id^=input-797]").prop("included_option", false);
//if(!jQuery("#input-797").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-797").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-797").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685V-GTS6-797").remove();
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-760B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685V-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-760B]").html("
(Included in 685V-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-760B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685V-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-760B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-760B]").prop("disabled",false);
jQuery("[id^=input-760B]").prop("included_option", false);
//if(!jQuery("#input-760B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685V-GTS6-760B").remove();
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-512M]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685M-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-512M]").html("
(Included in 685M-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-512M]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685M-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-512M]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512M]").prop("disabled",false);
jQuery("[id^=input-512M]").prop("included_option", false);
//if(!jQuery("#input-512M").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512M").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512M").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685M-GTS6-512M").remove();
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-551]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685M-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-551]").html("
(Included in 685M-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685M-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-551]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-551]").prop("disabled",false);
jQuery("[id^=input-551]").prop("included_option", false);
//if(!jQuery("#input-551").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-551").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-551").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685M-GTS6-551").remove();
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-767B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685M-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-767B]").html("
(Included in 685M-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685M-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-767B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-767B]").prop("disabled",false);
jQuery("[id^=input-767B]").prop("included_option", false);
//if(!jQuery("#input-767B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-767B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-767B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685M-GTS6-767B").remove();
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-797]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685M-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-797]").html("
(Included in 685M-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-797]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685M-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-797]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-797]").prop("disabled",false);
jQuery("[id^=input-797]").prop("included_option", false);
//if(!jQuery("#input-797").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-797").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-797").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685M-GTS6-797").remove();
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-760B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685M-GTS6 - Black Edition EFX II Package)
");
jQuery("[id^=note-760B]").html("
(Included in 685M-GTS6 - Black Edition EFX II Package)");
jQuery("[id^=input-760B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685M-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-760B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-760B]").prop("disabled",false);
jQuery("[id^=input-760B]").prop("included_option", false);
//if(!jQuery("#input-760B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685M-GTS6-760B").remove();
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-512V]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-512V]").html("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-512V]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXV-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-512V]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512V]").prop("disabled",false);
jQuery("[id^=input-512V]").prop("included_option", false);
//if(!jQuery("#input-512V").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512V").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512V").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXV-GTS6-512V").remove();
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-551]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-551]").html("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXV-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-551]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-551]").prop("disabled",false);
jQuery("[id^=input-551]").prop("included_option", false);
//if(!jQuery("#input-551").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-551").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-551").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXV-GTS6-551").remove();
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-759B-GTS6BLK]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-759B-GTS6BLK]").html("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-759B-GTS6BLK]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXV-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-759B-GTS6BLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-759B-GTS6BLK]").prop("disabled",false);
jQuery("[id^=input-759B-GTS6BLK]").prop("included_option", false);
//if(!jQuery("#input-759B-GTS6BLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-759B-GTS6BLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-759B-GTS6BLK").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXV-GTS6-759B-GTS6BLK").remove();
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-797]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-797]").html("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-797]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXV-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-797]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-797]").prop("disabled",false);
jQuery("[id^=input-797]").prop("included_option", false);
//if(!jQuery("#input-797").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-797").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-797").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXV-GTS6-797").remove();
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-760B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-760B]").html("
(Included in 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-760B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXV-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-760B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-760B]").prop("disabled",false);
jQuery("[id^=input-760B]").prop("included_option", false);
//if(!jQuery("#input-760B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXV-GTS6-760B").remove();
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-512M]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-512M]").html("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-512M]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXM-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-512M]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512M]").prop("disabled",false);
jQuery("[id^=input-512M]").prop("included_option", false);
//if(!jQuery("#input-512M").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512M").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512M").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXM-GTS6-512M").remove();
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-551]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-551]").html("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXM-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-551]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-551]").prop("disabled",false);
jQuery("[id^=input-551]").prop("included_option", false);
//if(!jQuery("#input-551").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-551").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-551").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXM-GTS6-551").remove();
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-759B-GTS6BLK]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-759B-GTS6BLK]").html("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-759B-GTS6BLK]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXM-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-759B-GTS6BLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-759B-GTS6BLK]").prop("disabled",false);
jQuery("[id^=input-759B-GTS6BLK]").prop("included_option", false);
//if(!jQuery("#input-759B-GTS6BLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-759B-GTS6BLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-759B-GTS6BLK").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXM-GTS6-759B-GTS6BLK").remove();
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-797]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-797]").html("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-797]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXM-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-797]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-797]").prop("disabled",false);
jQuery("[id^=input-797]").prop("included_option", false);
//if(!jQuery("#input-797").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-797").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-797").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXM-GTS6-797").remove();
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-760B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)
");
jQuery("[id^=note-760B]").html("
(Included in 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
jQuery("[id^=input-760B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685HTXM-GTS6").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-760B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-760B]").prop("disabled",false);
jQuery("[id^=input-760B]").prop("included_option", false);
//if(!jQuery("#input-760B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-760B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685HTXM-GTS6-760B").remove();
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){
jQuery("#input-951-GTS6BLK").change(function(){
if(jQuery("#input-951-GTS6BLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6BLK]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6BLK - Hull Bottom Gelcoat - Black)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6BLK]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6BLK");
//alert(jQuery("[id^=input-951-GTS6BLK]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6BLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6BLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6BLK").prop("checked"))
{
jQuery("#input-951-GTS6BLK").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6BLK");
//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-951-GTS6BLK-979]").length === 0)
{
jQuery("#note-951-GTS6BLK").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6BLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6BLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6BLK-979]").remove();
jQuery("[id^=input-951-GTS6BLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-951-GTS6BLU").change(function(){
if(jQuery("#input-951-GTS6BLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6BLU]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6BLU - Hull Bottom Gelcoat - Biscayne Blue)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6BLU]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6BLU");
//alert(jQuery("[id^=input-951-GTS6BLU]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6BLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6BLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6BLU").prop("checked"))
{
jQuery("#input-951-GTS6BLU").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6BLU");
//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-951-GTS6BLU-979]").length === 0)
{
jQuery("#note-951-GTS6BLU").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6BLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6BLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6BLU-979]").remove();
jQuery("[id^=input-951-GTS6BLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-951-GTS6ALY").change(function(){
if(jQuery("#input-951-GTS6ALY").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6ALY]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6ALY - Hull Bottom Gelcoat - Alloy Gray)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6ALY]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6ALY");
//alert(jQuery("[id^=input-951-GTS6ALY]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6ALY]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6ALY").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6ALY").prop("checked"))
{
jQuery("#input-951-GTS6ALY").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6ALY");
//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-951-GTS6ALY-979]").length === 0)
{
jQuery("#note-951-GTS6ALY").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6ALY]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6ALY").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6ALY-979]").remove();
jQuery("[id^=input-951-GTS6ALY]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-951-GTS6ICE").change(function(){
if(jQuery("#input-951-GTS6ICE").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6ICE]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6ICE - Hull Bottom Gelcoat - Ice Blue)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6ICE]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6ICE");
//alert(jQuery("[id^=input-951-GTS6ICE]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6ICE]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6ICE").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6ICE").prop("checked"))
{
jQuery("#input-951-GTS6ICE").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6ICE");
//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-951-GTS6ICE-979]").length === 0)
{
jQuery("#note-951-GTS6ICE").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6ICE]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6ICE").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6ICE-979]").remove();
jQuery("[id^=input-951-GTS6ICE]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-951-GTS6GRN").change(function(){
if(jQuery("#input-951-GTS6GRN").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6GRN]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6GRN - Hull Bottom Gelcoat - Seafoam Green)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6GRN]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6GRN");
//alert(jQuery("[id^=input-951-GTS6GRN]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6GRN]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6GRN").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6GRN").prop("checked"))
{
jQuery("#input-951-GTS6GRN").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6GRN");
//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-951-GTS6GRN-979]").length === 0)
{
jQuery("#note-951-GTS6GRN").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6GRN]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6GRN").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6GRN-979]").remove();
jQuery("[id^=input-951-GTS6GRN]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-951-GTS6STL").change(function(){
if(jQuery("#input-951-GTS6STL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6STL]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6STL - Hull Bottom Gelcoat - Stealth Gray)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6STL]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6STL");
//alert(jQuery("[id^=input-951-GTS6STL]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6STL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6STL").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6STL").prop("checked"))
{
jQuery("#input-951-GTS6STL").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6STL");
//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-951-GTS6STL-979]").length === 0)
{
jQuery("#note-951-GTS6STL").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6STL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6STL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6STL-979]").remove();
jQuery("[id^=input-951-GTS6STL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-951-GTS6ATL").change(function(){
if(jQuery("#input-951-GTS6ATL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-951-GTS6ATL]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 951-GTS6ATL - Hull Bottom Gelcoat - Atlas Blue)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-951-GTS6ATL]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-951-GTS6ATL");
//alert(jQuery("[id^=input-951-GTS6ATL]").attr("title"));
//alert(jQuery("[id^=input-951-GTS6ATL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-951-GTS6ATL").prop("disabled", true);
// determine if checked
if(jQuery("#input-951-GTS6ATL").prop("checked"))
{
jQuery("#input-951-GTS6ATL").removeAttr("checked").change();
}
//console.log("if of reverse input-951-GTS6ATL");
//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-951-GTS6ATL-979]").length === 0)
{
jQuery("#note-951-GTS6ATL").append("
(N/A with 979 )");
}
jQuery("[id^=input-951-GTS6ATL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-951-GTS6ATL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-GTS6ATL-979]").remove();
jQuery("[id^=input-951-GTS6ATL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-911-GTS6").change(function(){
if(jQuery("#input-911-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-GTS6BLK]");
//alert(jQuery("[id^=input-950-GTS6BLK]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-GTS6BLK]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-GTS6BLK]").prop("checked"))
{
jQuery("[id^=input-950-GTS6BLK]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-GTS6BLK-911-GTS6]").length === 0)
{
jQuery("[id^=note-950-GTS6BLK]").append("
(N/A with 911-GTS6 - Painted Metallic Hull Stripe - Black)");
}
jQuery("[id^=input-950-GTS6BLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-GTS6BLK]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-GTS6BLK-911-GTS6]").remove();
jQuery("[id^=input-950-GTS6BLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-GTS6BLK]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-911-GTS6");
//alert(jQuery("[id^=input-911-GTS6]").attr("title"));
//alert(jQuery("[id^=input-911-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-911-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-911-GTS6").prop("checked"))
{
jQuery("#input-911-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-911-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-911-GTS6-950-GTS6BLK]").length === 0)
{
jQuery("#note-911-GTS6").append("
(N/A with 950-GTS6BLK )");
}
jQuery("[id^=input-911-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-911-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-911-GTS6-950-GTS6BLK]").remove();
jQuery("[id^=input-911-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-906-GTS6").change(function(){
if(jQuery("#input-906-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-GTS6BLU]");
//alert(jQuery("[id^=input-950-GTS6BLU]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-GTS6BLU]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-GTS6BLU]").prop("checked"))
{
jQuery("[id^=input-950-GTS6BLU]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-GTS6BLU-906-GTS6]").length === 0)
{
jQuery("[id^=note-950-GTS6BLU]").append("
(N/A with 906-GTS6 - Painted Metallic Hull Stripe - Blue)");
}
jQuery("[id^=input-950-GTS6BLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-GTS6BLU]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-GTS6BLU-906-GTS6]").remove();
jQuery("[id^=input-950-GTS6BLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-GTS6BLU]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-906-GTS6");
//alert(jQuery("[id^=input-906-GTS6]").attr("title"));
//alert(jQuery("[id^=input-906-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-906-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-906-GTS6").prop("checked"))
{
jQuery("#input-906-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-906-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-906-GTS6-950-GTS6BLU]").length === 0)
{
jQuery("#note-906-GTS6").append("
(N/A with 950-GTS6BLU )");
}
jQuery("[id^=input-906-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-906-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-906-GTS6-950-GTS6BLU]").remove();
jQuery("[id^=input-906-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-903-GTS6").change(function(){
if(jQuery("#input-903-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-GTS6WHT]");
//alert(jQuery("[id^=input-950-GTS6WHT]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-GTS6WHT]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-GTS6WHT]").prop("checked"))
{
jQuery("[id^=input-950-GTS6WHT]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-GTS6WHT-903-GTS6]").length === 0)
{
jQuery("[id^=note-950-GTS6WHT]").append("
(N/A with 903-GTS6 - Painted Metallic Hull Stripe - White)");
}
jQuery("[id^=input-950-GTS6WHT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-GTS6WHT]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-GTS6WHT-903-GTS6]").remove();
jQuery("[id^=input-950-GTS6WHT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-GTS6WHT]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-903-GTS6");
//alert(jQuery("[id^=input-903-GTS6]").attr("title"));
//alert(jQuery("[id^=input-903-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-903-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-903-GTS6").prop("checked"))
{
jQuery("#input-903-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-903-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-903-GTS6-950-GTS6WHT]").length === 0)
{
jQuery("#note-903-GTS6").append("
(N/A with 950-GTS6WHT )");
}
jQuery("[id^=input-903-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-903-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-903-GTS6-950-GTS6WHT]").remove();
jQuery("[id^=input-903-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-590-GTS6BLU").change(function(){
if(jQuery("#input-590-GTS6BLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-590-GTS6BLU]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 590-GTS6BLU - Standard Canvas - Biscayne Blue)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-590-GTS6BLU]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-590-GTS6BLU");
//alert(jQuery("[id^=input-590-GTS6BLU]").attr("title"));
//alert(jQuery("[id^=input-590-GTS6BLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-590-GTS6BLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-590-GTS6BLU").prop("checked"))
{
jQuery("#input-590-GTS6BLU").removeAttr("checked").change();
}
//console.log("if of reverse input-590-GTS6BLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-590-GTS6BLU-979]").length === 0)
{
jQuery("#note-590-GTS6BLU").append("
(N/A with 979 )");
}
jQuery("[id^=input-590-GTS6BLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-590-GTS6BLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-590-GTS6BLU-979]").remove();
jQuery("[id^=input-590-GTS6BLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-590-GTS6SBL").change(function(){
if(jQuery("#input-590-GTS6SBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-979]");
//alert(jQuery("[id^=input-979]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-979]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-979-590-GTS6SBL]").length === 0)
{
jQuery("[id^=note-979]").append("
(N/A with 590-GTS6SBL - Standard Canvas - Steel Blue)");
}
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-979]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-979-590-GTS6SBL]").remove();
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-979]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-590-GTS6SBL");
//alert(jQuery("[id^=input-590-GTS6SBL]").attr("title"));
//alert(jQuery("[id^=input-590-GTS6SBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-590-GTS6SBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-590-GTS6SBL").prop("checked"))
{
jQuery("#input-590-GTS6SBL").removeAttr("checked").change();
}
//console.log("if of reverse input-590-GTS6SBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-590-GTS6SBL-979]").length === 0)
{
jQuery("#note-590-GTS6SBL").append("
(N/A with 979 )");
}
jQuery("[id^=input-590-GTS6SBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-590-GTS6SBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-590-GTS6SBL-979]").remove();
jQuery("[id^=input-590-GTS6SBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950]");
//alert(jQuery("[id^=input-950]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950]").prop("checked"))
{
jQuery("[id^=input-950]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-685V-GTS6]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685V-GTS6 - Black Edition EFX II Package)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685V-GTS6]").remove();
jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685V-GTS6");
//alert(jQuery("[id^=input-685V-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685V-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685V-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685V-GTS6").prop("checked"))
{
jQuery("#input-685V-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685V-GTS6");
//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-685V-GTS6-950]").length === 0)
{
jQuery("#note-685V-GTS6").append("
(N/A with 950 )");
}
jQuery("[id^=input-685V-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685V-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685V-GTS6-950]").remove();
jQuery("[id^=input-685V-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685V-GTS6").change(function(){
if(jQuery("#input-685V-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-951]");
//alert(jQuery("[id^=input-951]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-951]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-951]").prop("checked"))
{
jQuery("[id^=input-951]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-951-685V-GTS6]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685V-GTS6 - Black Edition EFX II Package)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685V-GTS6]").remove();
jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-951]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685V-GTS6");
//alert(jQuery("[id^=input-685V-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685V-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685V-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685V-GTS6").prop("checked"))
{
jQuery("#input-685V-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685V-GTS6");
//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-685V-GTS6-951]").length === 0)
{
jQuery("#note-685V-GTS6").append("
(N/A with 951 )");
}
jQuery("[id^=input-685V-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685V-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685V-GTS6-951]").remove();
jQuery("[id^=input-685V-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950]");
//alert(jQuery("[id^=input-950]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950]").prop("checked"))
{
jQuery("[id^=input-950]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-685M-GTS6]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685M-GTS6 - Black Edition EFX II Package)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685M-GTS6]").remove();
jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685M-GTS6");
//alert(jQuery("[id^=input-685M-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685M-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685M-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685M-GTS6").prop("checked"))
{
jQuery("#input-685M-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685M-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685M-GTS6-950]").length === 0)
{
jQuery("#note-685M-GTS6").append("
(N/A with 950 )");
}
jQuery("[id^=input-685M-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685M-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685M-GTS6-950]").remove();
jQuery("[id^=input-685M-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685M-GTS6").change(function(){
if(jQuery("#input-685M-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-951]");
//alert(jQuery("[id^=input-951]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-951]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-951]").prop("checked"))
{
jQuery("[id^=input-951]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-951-685M-GTS6]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685M-GTS6 - Black Edition EFX II Package)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685M-GTS6]").remove();
jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-951]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685M-GTS6");
//alert(jQuery("[id^=input-685M-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685M-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685M-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685M-GTS6").prop("checked"))
{
jQuery("#input-685M-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685M-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685M-GTS6-951]").length === 0)
{
jQuery("#note-685M-GTS6").append("
(N/A with 951 )");
}
jQuery("[id^=input-685M-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685M-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685M-GTS6-951]").remove();
jQuery("[id^=input-685M-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950]");
//alert(jQuery("[id^=input-950]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950]").prop("checked"))
{
jQuery("[id^=input-950]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-685HTXV-GTS6]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685HTXV-GTS6]").remove();
jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685HTXV-GTS6");
//alert(jQuery("[id^=input-685HTXV-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685HTXV-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685HTXV-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
jQuery("#input-685HTXV-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685HTXV-GTS6");
//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-685HTXV-GTS6-950]").length === 0)
{
jQuery("#note-685HTXV-GTS6").append("
(N/A with 950 )");
}
jQuery("[id^=input-685HTXV-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685HTXV-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685HTXV-GTS6-950]").remove();
jQuery("[id^=input-685HTXV-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-951]");
//alert(jQuery("[id^=input-951]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-951]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-951]").prop("checked"))
{
jQuery("[id^=input-951]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-951-685HTXV-GTS6]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685HTXV-GTS6 - Black Edition HTX Hardtop Package)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685HTXV-GTS6]").remove();
jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-951]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685HTXV-GTS6");
//alert(jQuery("[id^=input-685HTXV-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685HTXV-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685HTXV-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
jQuery("#input-685HTXV-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685HTXV-GTS6");
//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-685HTXV-GTS6-951]").length === 0)
{
jQuery("#note-685HTXV-GTS6").append("
(N/A with 951 )");
}
jQuery("[id^=input-685HTXV-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685HTXV-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685HTXV-GTS6-951]").remove();
jQuery("[id^=input-685HTXV-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950]");
//alert(jQuery("[id^=input-950]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950]").prop("checked"))
{
jQuery("[id^=input-950]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-685HTXM-GTS6]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685HTXM-GTS6]").remove();
jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685HTXM-GTS6");
//alert(jQuery("[id^=input-685HTXM-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685HTXM-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685HTXM-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
jQuery("#input-685HTXM-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685HTXM-GTS6");
//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-685HTXM-GTS6-950]").length === 0)
{
jQuery("#note-685HTXM-GTS6").append("
(N/A with 950 )");
}
jQuery("[id^=input-685HTXM-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685HTXM-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685HTXM-GTS6-950]").remove();
jQuery("[id^=input-685HTXM-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-951]");
//alert(jQuery("[id^=input-951]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-951]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-951]").prop("checked"))
{
jQuery("[id^=input-951]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-951-685HTXM-GTS6]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685HTXM-GTS6 - Black Edition HTX Hardtop Package)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685HTXM-GTS6]").remove();
jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-951]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685HTXM-GTS6");
//alert(jQuery("[id^=input-685HTXM-GTS6]").attr("title"));
//alert(jQuery("[id^=input-685HTXM-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685HTXM-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
jQuery("#input-685HTXM-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-685HTXM-GTS6");
//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-685HTXM-GTS6-951]").length === 0)
{
jQuery("#note-685HTXM-GTS6").append("
(N/A with 951 )");
}
jQuery("[id^=input-685HTXM-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685HTXM-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685HTXM-GTS6-951]").remove();
jQuery("[id^=input-685HTXM-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512M-GTS6").change(function(){
if(jQuery("#input-512M-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767B]");
//alert(jQuery("[id^=input-767B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767B]").prop("checked"))
{
jQuery("[id^=input-767B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767B-512M-GTS6]").length === 0)
{
jQuery("[id^=note-767B]").append("
(N/A with 512M-GTS6 - JL Audio Sound System Upgrade)");
}
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767B-512M-GTS6]").remove();
jQuery("[id^=input-767B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-512M-GTS6");
//alert(jQuery("[id^=input-512M-GTS6]").attr("title"));
//alert(jQuery("[id^=input-512M-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512M-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-512M-GTS6").prop("checked"))
{
jQuery("#input-512M-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-512M-GTS6");
//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-512M-GTS6-767B]").length === 0)
{
jQuery("#note-512M-GTS6").append("
(N/A with 767B )");
}
jQuery("[id^=input-512M-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512M-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512M-GTS6-767B]").remove();
jQuery("[id^=input-512M-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512M-GTS6").change(function(){
if(jQuery("#input-512M-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-759B]");
//alert(jQuery("[id^=input-759B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-759B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-759B]").prop("checked"))
{
jQuery("[id^=input-759B]").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-759B-512M-GTS6]").length === 0)
{
jQuery("[id^=note-759B]").append("
(N/A with 512M-GTS6 - JL Audio Sound System Upgrade)");
}
jQuery("[id^=input-759B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-759B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-759B-512M-GTS6]").remove();
jQuery("[id^=input-759B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-759B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-512M-GTS6");
//alert(jQuery("[id^=input-512M-GTS6]").attr("title"));
//alert(jQuery("[id^=input-512M-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512M-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-512M-GTS6").prop("checked"))
{
jQuery("#input-512M-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-512M-GTS6");
//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-512M-GTS6-759B]").length === 0)
{
jQuery("#note-512M-GTS6").append("
(N/A with 759B )");
}
jQuery("[id^=input-512M-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512M-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512M-GTS6-759B]").remove();
jQuery("[id^=input-512M-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512V-GTS6").change(function(){
if(jQuery("#input-512V-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767B]");
//alert(jQuery("[id^=input-767B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767B]").prop("checked"))
{
jQuery("[id^=input-767B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767B-512V-GTS6]").length === 0)
{
jQuery("[id^=note-767B]").append("
(N/A with 512V-GTS6 - JL Audio Sound System Upgrade)");
}
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767B-512V-GTS6]").remove();
jQuery("[id^=input-767B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-512V-GTS6");
//alert(jQuery("[id^=input-512V-GTS6]").attr("title"));
//alert(jQuery("[id^=input-512V-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512V-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-512V-GTS6").prop("checked"))
{
jQuery("#input-512V-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-512V-GTS6");
//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-512V-GTS6-767B]").length === 0)
{
jQuery("#note-512V-GTS6").append("
(N/A with 767B )");
}
jQuery("[id^=input-512V-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512V-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512V-GTS6-767B]").remove();
jQuery("[id^=input-512V-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512V-GTS6").change(function(){
if(jQuery("#input-512V-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-759B]");
//alert(jQuery("[id^=input-759B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-759B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-759B]").prop("checked"))
{
jQuery("[id^=input-759B]").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-759B-512V-GTS6]").length === 0)
{
jQuery("[id^=note-759B]").append("
(N/A with 512V-GTS6 - JL Audio Sound System Upgrade)");
}
jQuery("[id^=input-759B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-759B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-759B-512V-GTS6]").remove();
jQuery("[id^=input-759B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-759B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-512V-GTS6");
//alert(jQuery("[id^=input-512V-GTS6]").attr("title"));
//alert(jQuery("[id^=input-512V-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512V-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-512V-GTS6").prop("checked"))
{
jQuery("#input-512V-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-512V-GTS6");
//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-512V-GTS6-759B]").length === 0)
{
jQuery("#note-512V-GTS6").append("
(N/A with 759B )");
}
jQuery("[id^=input-512V-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512V-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512V-GTS6-759B]").remove();
jQuery("[id^=input-512V-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-713W-GTS6").change(function(){
if(jQuery("#input-713W-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767B]");
//alert(jQuery("[id^=input-767B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767B]").prop("checked"))
{
jQuery("[id^=input-767B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767B-713W-GTS6]").length === 0)
{
jQuery("[id^=note-767B]").append("
(N/A with 713W-GTS6 - Tower Speakers (2))");
}
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767B-713W-GTS6]").remove();
jQuery("[id^=input-767B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-713W-GTS6");
//alert(jQuery("[id^=input-713W-GTS6]").attr("title"));
//alert(jQuery("[id^=input-713W-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-713W-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-713W-GTS6").prop("checked"))
{
jQuery("#input-713W-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-713W-GTS6");
//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-713W-GTS6-767B]").length === 0)
{
jQuery("#note-713W-GTS6").append("
(N/A with 767B )");
}
jQuery("[id^=input-713W-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-713W-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-713W-GTS6-767B]").remove();
jQuery("[id^=input-713W-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-713W-GTS6").change(function(){
if(jQuery("#input-713W-GTS6").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-713W-GTS6]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 713W-GTS6 - Tower Speakers (2))");
}
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-713W-GTS6]").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-713W-GTS6");
//alert(jQuery("[id^=input-713W-GTS6]").attr("title"));
//alert(jQuery("[id^=input-713W-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-713W-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-713W-GTS6").prop("checked"))
{
jQuery("#input-713W-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-713W-GTS6");
//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-713W-GTS6-685]").length === 0)
{
jQuery("#note-713W-GTS6").append("
(N/A with 685 )");
}
jQuery("[id^=input-713W-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-713W-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-713W-GTS6-685]").remove();
jQuery("[id^=input-713W-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-713W-GTS6").change(function(){
if(jQuery("#input-713W-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-759]");
//alert(jQuery("[id^=input-759]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-759]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-759]").prop("checked"))
{
jQuery("[id^=input-759]").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-759-713W-GTS6]").length === 0)
{
jQuery("[id^=note-759]").append("
(N/A with 713W-GTS6 - Tower Speakers (2))");
}
jQuery("[id^=input-759]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-759]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-759-713W-GTS6]").remove();
jQuery("[id^=input-759]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-759]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-713W-GTS6");
//alert(jQuery("[id^=input-713W-GTS6]").attr("title"));
//alert(jQuery("[id^=input-713W-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-713W-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-713W-GTS6").prop("checked"))
{
jQuery("#input-713W-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-713W-GTS6");
//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-713W-GTS6-759]").length === 0)
{
jQuery("#note-713W-GTS6").append("
(N/A with 759 )");
}
jQuery("[id^=input-713W-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-713W-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-713W-GTS6-759]").remove();
jQuery("[id^=input-713W-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-682BS-GTS6").change(function(){
if(jQuery("#input-682BS-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-STD_SKITOW]");
//alert(jQuery("[id^=input-STD_SKITOW]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-STD_SKITOW]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-STD_SKITOW]").prop("checked"))
{
jQuery("[id^=input-STD_SKITOW]").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-STD_SKITOW-682BS-GTS6]").length === 0)
{
jQuery("[id^=note-STD_SKITOW]").append("
(N/A with 682BS-GTS6 - Connectivity Package)");
}
jQuery("[id^=input-STD_SKITOW]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-STD_SKITOW]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-STD_SKITOW-682BS-GTS6]").remove();
jQuery("[id^=input-STD_SKITOW]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-STD_SKITOW]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-682BS-GTS6");
//alert(jQuery("[id^=input-682BS-GTS6]").attr("title"));
//alert(jQuery("[id^=input-682BS-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-682BS-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-682BS-GTS6").prop("checked"))
{
jQuery("#input-682BS-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-682BS-GTS6");
//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-682BS-GTS6-STD_SKITOW]").length === 0)
{
jQuery("#note-682BS-GTS6").append("
(N/A with STD_SKITOW )");
}
jQuery("[id^=input-682BS-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-682BS-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-682BS-GTS6-STD_SKITOW]").remove();
jQuery("[id^=input-682BS-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-682WS-GTS6").change(function(){
if(jQuery("#input-682WS-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-760B]");
//alert(jQuery("[id^=input-760B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-760B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-760B]").prop("checked"))
{
jQuery("[id^=input-760B]").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-760B-682WS-GTS6]").length === 0)
{
jQuery("[id^=note-760B]").append("
(N/A with 682WS-GTS6 - Connectivity Package)");
}
jQuery("[id^=input-760B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-760B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-760B-682WS-GTS6]").remove();
jQuery("[id^=input-760B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-760B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-682WS-GTS6");
//alert(jQuery("[id^=input-682WS-GTS6]").attr("title"));
//alert(jQuery("[id^=input-682WS-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-682WS-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-682WS-GTS6").prop("checked"))
{
jQuery("#input-682WS-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-682WS-GTS6");
//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-682WS-GTS6-760B]").length === 0)
{
jQuery("#note-682WS-GTS6").append("
(N/A with 760B )");
}
jQuery("[id^=input-682WS-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-682WS-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-682WS-GTS6-760B]").remove();
jQuery("[id^=input-682WS-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-682BC-GTS6").change(function(){
if(jQuery("#input-682BC-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-STD_SKITOW]");
//alert(jQuery("[id^=input-STD_SKITOW]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-STD_SKITOW]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-STD_SKITOW]").prop("checked"))
{
jQuery("[id^=input-STD_SKITOW]").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-STD_SKITOW-682BC-GTS6]").length === 0)
{
jQuery("[id^=note-STD_SKITOW]").append("
(N/A with 682BC-GTS6 - Connectivity Package)");
}
jQuery("[id^=input-STD_SKITOW]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-STD_SKITOW]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-STD_SKITOW-682BC-GTS6]").remove();
jQuery("[id^=input-STD_SKITOW]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-STD_SKITOW]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-682BC-GTS6");
//alert(jQuery("[id^=input-682BC-GTS6]").attr("title"));
//alert(jQuery("[id^=input-682BC-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-682BC-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-682BC-GTS6").prop("checked"))
{
jQuery("#input-682BC-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-682BC-GTS6");
//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-682BC-GTS6-STD_SKITOW]").length === 0)
{
jQuery("#note-682BC-GTS6").append("
(N/A with STD_SKITOW )");
}
jQuery("[id^=input-682BC-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-682BC-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-682BC-GTS6-STD_SKITOW]").remove();
jQuery("[id^=input-682BC-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-682WC-GTS6").change(function(){
if(jQuery("#input-682WC-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-760B]");
//alert(jQuery("[id^=input-760B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-760B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-760B]").prop("checked"))
{
jQuery("[id^=input-760B]").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-760B-682WC-GTS6]").length === 0)
{
jQuery("[id^=note-760B]").append("
(N/A with 682WC-GTS6 - Connectivity Package)");
}
jQuery("[id^=input-760B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-760B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-760B-682WC-GTS6]").remove();
jQuery("[id^=input-760B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-760B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-682WC-GTS6");
//alert(jQuery("[id^=input-682WC-GTS6]").attr("title"));
//alert(jQuery("[id^=input-682WC-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-682WC-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-682WC-GTS6").prop("checked"))
{
jQuery("#input-682WC-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-682WC-GTS6");
//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-682WC-GTS6-760B]").length === 0)
{
jQuery("#note-682WC-GTS6").append("
(N/A with 760B )");
}
jQuery("[id^=input-682WC-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-682WC-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-682WC-GTS6-760B]").remove();
jQuery("[id^=input-682WC-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-GTS6SDW").change(function(){
if(jQuery("#input-560NCT-GTS6SDW").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-GTS6SDW]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-GTS6SDW - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-GTS6SDW]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-GTS6SDW");
//alert(jQuery("[id^=input-560NCT-GTS6SDW]").attr("title"));
//alert(jQuery("[id^=input-560NCT-GTS6SDW]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-GTS6SDW").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-GTS6SDW").prop("checked"))
{
jQuery("#input-560NCT-GTS6SDW").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-GTS6SDW");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-GTS6SDW-650]").length === 0)
{
jQuery("#note-560NCT-GTS6SDW").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-GTS6SDW]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-GTS6SDW").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-GTS6SDW-650]").remove();
jQuery("[id^=input-560NCT-GTS6SDW]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-GTS6LNR").change(function(){
if(jQuery("#input-560NCT-GTS6LNR").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-GTS6LNR]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-GTS6LNR - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-GTS6LNR]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-GTS6LNR");
//alert(jQuery("[id^=input-560NCT-GTS6LNR]").attr("title"));
//alert(jQuery("[id^=input-560NCT-GTS6LNR]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-GTS6LNR").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-GTS6LNR").prop("checked"))
{
jQuery("#input-560NCT-GTS6LNR").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-GTS6LNR");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-GTS6LNR-650]").length === 0)
{
jQuery("#note-560NCT-GTS6LNR").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-GTS6LNR]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-GTS6LNR").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-GTS6LNR-650]").remove();
jQuery("[id^=input-560NCT-GTS6LNR]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-GTS6CYN").change(function(){
if(jQuery("#input-560NCT-GTS6CYN").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-GTS6CYN]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-GTS6CYN - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-GTS6CYN]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-GTS6CYN");
//alert(jQuery("[id^=input-560NCT-GTS6CYN]").attr("title"));
//alert(jQuery("[id^=input-560NCT-GTS6CYN]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-GTS6CYN").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-GTS6CYN").prop("checked"))
{
jQuery("#input-560NCT-GTS6CYN").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-GTS6CYN");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-GTS6CYN-650]").length === 0)
{
jQuery("#note-560NCT-GTS6CYN").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-GTS6CYN]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-GTS6CYN").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-GTS6CYN-650]").remove();
jQuery("[id^=input-560NCT-GTS6CYN]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-GTS6BE").change(function(){
if(jQuery("#input-560NCT-GTS6BE").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-GTS6BE]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-GTS6BE - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-GTS6BE]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-GTS6BE");
//alert(jQuery("[id^=input-560NCT-GTS6BE]").attr("title"));
//alert(jQuery("[id^=input-560NCT-GTS6BE]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-GTS6BE").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-GTS6BE").prop("checked"))
{
jQuery("#input-560NCT-GTS6BE").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-GTS6BE");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-GTS6BE-650]").length === 0)
{
jQuery("#note-560NCT-GTS6BE").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-GTS6BE]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-GTS6BE").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-GTS6BE-650]").remove();
jQuery("[id^=input-560NCT-GTS6BE]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-560NCT-GTS6SLT").change(function(){
if(jQuery("#input-560NCT-GTS6SLT").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-650]");
//alert(jQuery("[id^=input-650]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-650]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-650-560NCT-GTS6SLT]").length === 0)
{
jQuery("[id^=note-650]").append("
(N/A with 560NCT-GTS6SLT - Bowrider Filler Cushion)");
}
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-650]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-650-560NCT-GTS6SLT]").remove();
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-650]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-560NCT-GTS6SLT");
//alert(jQuery("[id^=input-560NCT-GTS6SLT]").attr("title"));
//alert(jQuery("[id^=input-560NCT-GTS6SLT]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-560NCT-GTS6SLT").prop("disabled", true);
// determine if checked
if(jQuery("#input-560NCT-GTS6SLT").prop("checked"))
{
jQuery("#input-560NCT-GTS6SLT").removeAttr("checked").change();
}
//console.log("if of reverse input-560NCT-GTS6SLT");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-560NCT-GTS6SLT-650]").length === 0)
{
jQuery("#note-560NCT-GTS6SLT").append("
(N/A with 650 )");
}
jQuery("[id^=input-560NCT-GTS6SLT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-560NCT-GTS6SLT").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-560NCT-GTS6SLT-650]").remove();
jQuery("[id^=input-560NCT-GTS6SLT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-579-GTS6").change(function(){
if(jQuery("#input-579-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-800]");
//alert(jQuery("[id^=input-800]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-800]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-800]").prop("checked"))
{
jQuery("[id^=input-800]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-800-579-GTS6]").length === 0)
{
jQuery("[id^=note-800]").append("
(N/A with 579-GTS6 - Dual Battery Charger)");
}
jQuery("[id^=input-800]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-800]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-800-579-GTS6]").remove();
jQuery("[id^=input-800]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-800]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-579-GTS6");
//alert(jQuery("[id^=input-579-GTS6]").attr("title"));
//alert(jQuery("[id^=input-579-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-579-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-579-GTS6").prop("checked"))
{
jQuery("#input-579-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-579-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-579-GTS6-800]").length === 0)
{
jQuery("#note-579-GTS6").append("
(N/A with 800 )");
}
jQuery("[id^=input-579-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-579-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-579-GTS6-800]").remove();
jQuery("[id^=input-579-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-673-GTS6").change(function(){
if(jQuery("#input-673-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-800]");
//alert(jQuery("[id^=input-800]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-800]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-800]").prop("checked"))
{
jQuery("[id^=input-800]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-800-673-GTS6]").length === 0)
{
jQuery("[id^=note-800]").append("
(N/A with 673-GTS6 - Triple Battery Charger)");
}
jQuery("[id^=input-800]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-800]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-800-673-GTS6]").remove();
jQuery("[id^=input-800]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-800]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-673-GTS6");
//alert(jQuery("[id^=input-673-GTS6]").attr("title"));
//alert(jQuery("[id^=input-673-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-673-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-673-GTS6").prop("checked"))
{
jQuery("#input-673-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-673-GTS6");
//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-673-GTS6-800]").length === 0)
{
jQuery("#note-673-GTS6").append("
(N/A with 800 )");
}
jQuery("[id^=input-673-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-673-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-673-GTS6-800]").remove();
jQuery("[id^=input-673-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-796DB-GTS6").change(function(){
if(jQuery("#input-796DB-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-767B]");
//alert(jQuery("[id^=input-767B]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-767B]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-767B]").prop("checked"))
{
jQuery("[id^=input-767B]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-767B-796DB-GTS6]").length === 0)
{
jQuery("[id^=note-767B]").append("
(N/A with 796DB-GTS6 - Diamondback Board Racks - Swiveling)");
}
jQuery("[id^=input-767B]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-767B]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-767B-796DB-GTS6]").remove();
jQuery("[id^=input-767B]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-767B]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-796DB-GTS6");
//alert(jQuery("[id^=input-796DB-GTS6]").attr("title"));
//alert(jQuery("[id^=input-796DB-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-796DB-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-796DB-GTS6").prop("checked"))
{
jQuery("#input-796DB-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-796DB-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-796DB-GTS6-767B]").length === 0)
{
jQuery("#note-796DB-GTS6").append("
(N/A with 767B )");
}
jQuery("[id^=input-796DB-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-796DB-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-796DB-GTS6-767B]").remove();
jQuery("[id^=input-796DB-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-796DB-GTS6").change(function(){
if(jQuery("#input-796DB-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-796DB-GTS6]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 796DB-GTS6 - Diamondback Board Racks - Swiveling)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-796DB-GTS6]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-796DB-GTS6");
//alert(jQuery("[id^=input-796DB-GTS6]").attr("title"));
//alert(jQuery("[id^=input-796DB-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-796DB-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-796DB-GTS6").prop("checked"))
{
jQuery("#input-796DB-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-796DB-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-796DB-GTS6-685]").length === 0)
{
jQuery("#note-796DB-GTS6").append("
(N/A with 685 )");
}
jQuery("[id^=input-796DB-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-796DB-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-796DB-GTS6-685]").remove();
jQuery("[id^=input-796DB-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-796DB-GTS6").change(function(){
if(jQuery("#input-796DB-GTS6").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-759]");
//alert(jQuery("[id^=input-759]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-759]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-759]").prop("checked"))
{
jQuery("[id^=input-759]").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-759-796DB-GTS6]").length === 0)
{
jQuery("[id^=note-759]").append("
(N/A with 796DB-GTS6 - Diamondback Board Racks - Swiveling)");
}
jQuery("[id^=input-759]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-759]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-759-796DB-GTS6]").remove();
jQuery("[id^=input-759]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-759]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-796DB-GTS6");
//alert(jQuery("[id^=input-796DB-GTS6]").attr("title"));
//alert(jQuery("[id^=input-796DB-GTS6]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-796DB-GTS6").prop("disabled", true);
// determine if checked
if(jQuery("#input-796DB-GTS6").prop("checked"))
{
jQuery("#input-796DB-GTS6").removeAttr("checked").change();
}
//console.log("if of reverse input-796DB-GTS6");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-796DB-GTS6-759]").length === 0)
{
jQuery("#note-796DB-GTS6").append("
(N/A with 759 )");
}
jQuery("[id^=input-796DB-GTS6]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-796DB-GTS6").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-796DB-GTS6-759]").remove();
jQuery("[id^=input-796DB-GTS6]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ jQuery("#input-979-GTS6BE").change(function(){
if(jQuery("#input-979-GTS6BE").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-979-GTS6BE]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-535-979-GTS6BE]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-535]").prop("type") != "radio")
if(jQuery("[id^=input-535]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-535]").prop("disabled", true);
}
if(!jQuery("[id^=input-535]").prop("checked"))
{
jQuery("[id^=input-535]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-535]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-535]").append("
(Required By: 979-GTS6BE-Black Edition Hull)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-979-GTS6BE]").hide();
jQuery("[id^=note-single-required-by-979-GTS6BE]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-535]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-535]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-535-979-GTS6BE]").remove();
}
}); // end click listener
jQuery("#input-979-GTS6BE").change(function(){
if(jQuery("#input-979-GTS6BE").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-979-GTS6BE]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-979-GTS6BE]").hide();
jQuery("[id^=note-single-required-by-979-GTS6BE]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-535]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-535]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-535-979-GTS6BE]").remove();
}
}); // end click listener
jQuery("#input-BE_HULL").change(function(){
if(jQuery("#input-BE_HULL").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-BE_HULL]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-979-BE_HULL]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-979]").prop("type") != "radio")
if(jQuery("[id^=input-979]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-979]").prop("disabled", true);
}
if(!jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-979]").append("
(Required By: BE_HULL-Black Edition Hull Bottom)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-BE_HULL]").hide();
jQuery("[id^=note-single-required-by-BE_HULL]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-BE_HULL]").remove();
}
}); // end click listener
jQuery("#input-535-GTS6").change(function(){
if(jQuery("#input-535-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-535-GTS6]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-535-GTS6]").hide();
jQuery("[id^=note-single-required-by-535-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-BE_HULL]").remove();
}
}); // end click listener
jQuery("#input-535-GTS6").change(function(){
if(jQuery("#input-535-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-535-GTS6]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-979-535-GTS6]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-979]").prop("type") != "radio")
if(jQuery("[id^=input-979]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-979]").prop("disabled", true);
}
if(!jQuery("[id^=input-979]").prop("checked"))
{
jQuery("[id^=input-979]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-979]").append("
(Required By: 535-GTS6-Cockpit Interior - Black Edition)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-535-GTS6]").hide();
jQuery("[id^=note-single-required-by-535-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-759W-GTS6BLK").change(function(){
if(jQuery("#input-759W-GTS6BLK").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-759W-GTS6BLK]").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-759W-GTS6BLK]").hide();
jQuery("[id^=note-single-required-by-759W-GTS6BLK]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-759W-GTS6BLU").change(function(){
if(jQuery("#input-759W-GTS6BLU").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-759W-GTS6BLU]").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-759W-GTS6BLU]").hide();
jQuery("[id^=note-single-required-by-759W-GTS6BLU]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-759W-GTS6SBL").change(function(){
if(jQuery("#input-759W-GTS6SBL").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-759W-GTS6SBL]").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-759W-GTS6SBL]").hide();
jQuery("[id^=note-single-required-by-759W-GTS6SBL]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-759B-GTS6BLK").change(function(){
if(jQuery("#input-759B-GTS6BLK").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-759B-GTS6BLK]").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-759B-GTS6BLK]").hide();
jQuery("[id^=note-single-required-by-759B-GTS6BLK]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-759B-GTS6BLU").change(function(){
if(jQuery("#input-759B-GTS6BLU").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-759B-GTS6BLU]").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-759B-GTS6BLU]").hide();
jQuery("[id^=note-single-required-by-759B-GTS6BLU]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-759B-GTS6SBL").change(function(){
if(jQuery("#input-759B-GTS6SBL").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-759B-GTS6SBL]").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-759B-GTS6SBL]").hide();
jQuery("[id^=note-single-required-by-759B-GTS6SBL]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-685HTXV-GTS6").change(function(){
if(jQuery("#input-685HTXV-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-685HTXV-GTS6]").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-685HTXV-GTS6]").hide();
jQuery("[id^=note-single-required-by-685HTXV-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-685HTXM-GTS6").change(function(){
if(jQuery("#input-685HTXM-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-685HTXM-GTS6]").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-685HTXM-GTS6]").hide();
jQuery("[id^=note-single-required-by-685HTXM-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-713W-GTS6").change(function(){
if(jQuery("#input-713W-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-713W-GTS6]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-713W-GTS6]").hide();
jQuery("[id^=note-single-required-by-713W-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-713B-GTS6").change(function(){
if(jQuery("#input-713B-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-713B-GTS6]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-713B-GTS6]").hide();
jQuery("[id^=note-single-required-by-713B-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-979]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-979]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-979-535-GTS6]").remove();
}
}); // end click listener
jQuery("#input-560CT-GTS6SDW").change(function(){
if(jQuery("#input-560CT-GTS6SDW").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-GTS6SDW]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-GTS6SDW]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-GTS6SDW-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-GTS6SDW]").hide();
jQuery("[id^=note-single-required-by-560CT-GTS6SDW]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-GTS6SDW]").remove();
}
}); // end click listener
jQuery("#input-560CT-GTS6CYN").change(function(){
if(jQuery("#input-560CT-GTS6CYN").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-GTS6CYN]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-GTS6CYN]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-GTS6CYN-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-GTS6CYN]").hide();
jQuery("[id^=note-single-required-by-560CT-GTS6CYN]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-GTS6CYN]").remove();
}
}); // end click listener
jQuery("#input-560CT-GTS6SLT").change(function(){
if(jQuery("#input-560CT-GTS6SLT").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-GTS6SLT]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-GTS6SLT]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-GTS6SLT-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-GTS6SLT]").hide();
jQuery("[id^=note-single-required-by-560CT-GTS6SLT]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-GTS6SLT]").remove();
}
}); // end click listener
jQuery("#input-560CT-GTS6BE").change(function(){
if(jQuery("#input-560CT-GTS6BE").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-GTS6BE]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-GTS6BE]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-GTS6BE-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-GTS6BE]").hide();
jQuery("[id^=note-single-required-by-560CT-GTS6BE]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-GTS6BE]").remove();
}
}); // end click listener
jQuery("#input-560CT-GTS6LNR").change(function(){
if(jQuery("#input-560CT-GTS6LNR").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-560CT-GTS6LNR]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-560CT-GTS6LNR]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 560CT-GTS6LNR-Bowrider Filler Cushion)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-560CT-GTS6LNR]").hide();
jQuery("[id^=note-single-required-by-560CT-GTS6LNR]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-560CT-GTS6LNR]").remove();
}
}); // end click listener
jQuery("#input-595S-GTS6").change(function(){
if(jQuery("#input-595S-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-595S-GTS6]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-595S-GTS6]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 595S-GTS6-Teak Inlay Table Top - Silver)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-595S-GTS6]").hide();
jQuery("[id^=note-single-required-by-595S-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-595S-GTS6]").remove();
}
}); // end click listener
jQuery("#input-595T-GTS6").change(function(){
if(jQuery("#input-595T-GTS6").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-595T-GTS6]").show();
// set the parent div to the yellow class
jQuery(this).parent().parent().addClass("byb_option_yellow");
// add a statement that only exists if this is a single require
// lets make sure this option isnt already required.
// this is a hack against two options requiring each other resulting in an infinite loop
if(jQuery("[id^=note-single-required-by-650-595T-GTS6]").length === 0)
{
// check the required item
// if this is not in an overwrite group
//if(jQuery("[id^=input-650]").prop("type") != "radio")
if(jQuery("[id^=input-650]").prop("type") != "radio" && !jQuery(this).prop("single_selection_group"))
{
jQuery("[id^=input-650]").prop("disabled", true);
}
if(!jQuery("[id^=input-650]").prop("checked"))
{
jQuery("[id^=input-650]").prop("checked", true).change();
}
// run a price tally - wasnt calculating proper cost 2/6/13 - rusty
checked_boxes_price_tally();
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().addClass("byb_option_yellow");
// add a note stating why this option is checked
jQuery("[id^=note-650]").append("
(Required By: 595T-GTS6-Teak Inlay Table Top - Teak)");
}
}
// here we reverse out everything from above
else
{
// set the parent div to the normal class
jQuery(this).parent().parent().removeClass("byb_option_yellow");
// remove the requires note
jQuery("[id^=note-single-requires-595T-GTS6]").hide();
jQuery("[id^=note-single-required-by-595T-GTS6]").hide();
// add a statement that only exists if this was a single require and it reverses the notes and colors above
// set the parent div of the required option the yellow class
jQuery("[id^=input-650]").parent().parent().removeClass("byb_option_yellow");
jQuery("[id^=input-650]").prop("disabled", false);
// add a note stating why this option is checked
jQuery("[id^=note-single-required-by-650-595T-GTS6]").remove();
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ option_group_data["951-GTS6WHT"] = {}; option_group_data["951-GTS6WHT"]["part_groups"] = new Array();
option_group_data["951-GTS6WHT"]["part_groups"].push("46");
option_group_data["951-GTS6BLK"] = {}; option_group_data["951-GTS6BLK"]["part_groups"] = new Array();
option_group_data["951-GTS6BLK"]["part_groups"].push("45");
option_group_data["951-GTS6BLU"] = {}; option_group_data["951-GTS6BLU"]["part_groups"] = new Array();
option_group_data["951-GTS6BLU"]["part_groups"].push("45");
option_group_data["951-GTS6ALY"] = {}; option_group_data["951-GTS6ALY"]["part_groups"] = new Array();
option_group_data["951-GTS6ALY"]["part_groups"].push("46");
option_group_data["951-GTS6ICE"] = {}; option_group_data["951-GTS6ICE"]["part_groups"] = new Array();
option_group_data["951-GTS6ICE"]["part_groups"].push("46");
option_group_data["951-GTS6GRN"] = {}; option_group_data["951-GTS6GRN"]["part_groups"] = new Array();
option_group_data["951-GTS6GRN"]["part_groups"].push("46");
option_group_data["951-GTS6STL"] = {}; option_group_data["951-GTS6STL"]["part_groups"] = new Array();
option_group_data["951-GTS6STL"]["part_groups"].push("45");
option_group_data["951-GTS6ATL"] = {}; option_group_data["951-GTS6ATL"]["part_groups"] = new Array();
option_group_data["951-GTS6ATL"]["part_groups"].push("46");
option_group_data["979-GTS6BE"] = {}; option_group_data["979-GTS6BE"]["part_groups"] = new Array();
option_group_data["979-GTS6BE"]["part_groups"].push("125");
option_group_data["960-GTS6"] = {}; option_group_data["960-GTS6"]["available_with"] = new Array();
option_group_data["960-GTS6"]["available_with_compound"] = new Array();
option_group_data["960-GTS6"]["available_with"].push("45");
option_group_data["960-GTS6"]["available_with"].push("125");
option_group_data["961-GTS6"] = {}; option_group_data["961-GTS6"]["available_with"] = new Array();
option_group_data["961-GTS6"]["available_with_compound"] = new Array();
option_group_data["961-GTS6"]["available_with"].push("46");
option_group_data["532-GTS6"] = {}; option_group_data["532-GTS6"]["part_groups"] = new Array();
option_group_data["532-GTS6"]["part_groups"].push("20");
option_group_data["532-GTS6"]["part_groups"].push("501");
option_group_data["636-GTS6"] = {}; option_group_data["636-GTS6"]["part_groups"] = new Array();
option_group_data["636-GTS6"]["part_groups"].push("22");
option_group_data["636-GTS6"]["part_groups"].push("501");
option_group_data["637-GTS6"] = {}; option_group_data["637-GTS6"]["part_groups"] = new Array();
option_group_data["637-GTS6"]["part_groups"].push("24");
option_group_data["637-GTS6"]["part_groups"].push("501");
option_group_data["638-GTS6"] = {}; option_group_data["638-GTS6"]["part_groups"] = new Array();
option_group_data["638-GTS6"]["part_groups"].push("27");
option_group_data["638-GTS6"]["part_groups"].push("95");
option_group_data["638-GTS6"]["part_groups"].push("502");
option_group_data["535-GTS6"] = {}; option_group_data["535-GTS6"]["part_groups"] = new Array();
option_group_data["535-GTS6"]["part_groups"].push("27");
option_group_data["535-GTS6"]["part_groups"].push("98");
option_group_data["535-GTS6"]["part_groups"].push("502");
option_group_data["STANDARD_ARCH"] = {}; option_group_data["STANDARD_ARCH"]["part_groups"] = new Array();
option_group_data["STANDARD_ARCH"]["part_groups"].push("9");
option_group_data["767B-GTS6"] = {}; option_group_data["767B-GTS6"]["part_groups"] = new Array();
option_group_data["767B-GTS6"]["part_groups"].push("10");
option_group_data["759W-GTS6BLK"] = {}; option_group_data["759W-GTS6BLK"]["part_groups"] = new Array();
option_group_data["759W-GTS6BLK"]["part_groups"].push("12");
option_group_data["759W-GTS6BLU"] = {}; option_group_data["759W-GTS6BLU"]["part_groups"] = new Array();
option_group_data["759W-GTS6BLU"]["part_groups"].push("12");
option_group_data["759W-GTS6SBL"] = {}; option_group_data["759W-GTS6SBL"]["part_groups"] = new Array();
option_group_data["759W-GTS6SBL"]["part_groups"].push("12");
option_group_data["759B-GTS6BLK"] = {}; option_group_data["759B-GTS6BLK"]["part_groups"] = new Array();
option_group_data["759B-GTS6BLK"]["part_groups"].push("11");
option_group_data["759B-GTS6BLU"] = {}; option_group_data["759B-GTS6BLU"]["part_groups"] = new Array();
option_group_data["759B-GTS6BLU"]["part_groups"].push("11");
option_group_data["759B-GTS6SBL"] = {}; option_group_data["759B-GTS6SBL"]["part_groups"] = new Array();
option_group_data["759B-GTS6SBL"]["part_groups"].push("11");
option_group_data["642HTX-GTS6BLK"] = {}; option_group_data["642HTX-GTS6BLK"]["available_with"] = new Array();
option_group_data["642HTX-GTS6BLK"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6BLK"]["available_with"].push("12");
option_group_data["642HTXB-GTS6WHT"] = {}; option_group_data["642HTXB-GTS6WHT"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6WHT"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6WHT"]["available_with"].push("11");
option_group_data["642HTXB-GTS6WHT"]["available_with"].push("128");
option_group_data["642HTX-GTS6ALY"] = {}; option_group_data["642HTX-GTS6ALY"]["available_with"] = new Array();
option_group_data["642HTX-GTS6ALY"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6ALY"]["available_with"].push("12");
option_group_data["642HTXB-GTS6ALY"] = {}; option_group_data["642HTXB-GTS6ALY"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6ALY"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6ALY"]["available_with"].push("11");
option_group_data["642HTXB-GTS6ALY"]["available_with"].push("128");
option_group_data["642HTX-GTS6BLU"] = {}; option_group_data["642HTX-GTS6BLU"]["available_with"] = new Array();
option_group_data["642HTX-GTS6BLU"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6BLU"]["available_with"].push("12");
option_group_data["642HTXB-GTS6BLU"] = {}; option_group_data["642HTXB-GTS6BLU"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6BLU"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6BLU"]["available_with"].push("11");
option_group_data["642HTXB-GTS6BLU"]["available_with"].push("128");
option_group_data["642HTXB-GTS6ICE"] = {}; option_group_data["642HTXB-GTS6ICE"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6ICE"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6ICE"]["available_with"].push("11");
option_group_data["642HTXB-GTS6ICE"]["available_with"].push("128");
option_group_data["642HTX-GTS6ICE"] = {}; option_group_data["642HTX-GTS6ICE"]["available_with"] = new Array();
option_group_data["642HTX-GTS6ICE"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6ICE"]["available_with"].push("12");
option_group_data["642HTX-GTS6GRN"] = {}; option_group_data["642HTX-GTS6GRN"]["available_with"] = new Array();
option_group_data["642HTX-GTS6GRN"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6GRN"]["available_with"].push("12");
option_group_data["642HTXB-GTS6GRN"] = {}; option_group_data["642HTXB-GTS6GRN"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6GRN"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6GRN"]["available_with"].push("11");
option_group_data["642HTXB-GTS6GRN"]["available_with"].push("128");
option_group_data["642HTX-GTS6ATL"] = {}; option_group_data["642HTX-GTS6ATL"]["available_with"] = new Array();
option_group_data["642HTX-GTS6ATL"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6ATL"]["available_with"].push("12");
option_group_data["642HTXB-GTS6ATL"] = {}; option_group_data["642HTXB-GTS6ATL"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6ATL"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6ATL"]["available_with"].push("11");
option_group_data["642HTXB-GTS6ATL"]["available_with"].push("128");
option_group_data["642HTX-GTS6STL"] = {}; option_group_data["642HTX-GTS6STL"]["available_with"] = new Array();
option_group_data["642HTX-GTS6STL"]["available_with_compound"] = new Array();
option_group_data["642HTX-GTS6STL"]["available_with"].push("12");
option_group_data["642HTXB-GTS6STL"] = {}; option_group_data["642HTXB-GTS6STL"]["available_with"] = new Array();
option_group_data["642HTXB-GTS6STL"]["available_with_compound"] = new Array();
option_group_data["642HTXB-GTS6STL"]["available_with"].push("11");
option_group_data["642HTXB-GTS6STL"]["available_with"].push("128");
option_group_data["735HTX-GTS6WHT"] = {}; option_group_data["735HTX-GTS6WHT"]["available_with"] = new Array();
option_group_data["735HTX-GTS6WHT"]["available_with_compound"] = new Array();
option_group_data["735HTX-GTS6WHT"]["available_with"].push("11");
option_group_data["735HTX-GTS6WHT"]["available_with"].push("12");
option_group_data["735HTX-GTS6WHT"]["available_with"].push("128");
option_group_data["735-GTS6WHT"] = {}; option_group_data["735-GTS6WHT"]["available_with"] = new Array();
option_group_data["735-GTS6WHT"]["available_with_compound"] = new Array();
option_group_data["735-GTS6WHT"]["available_with"].push("9");
option_group_data["735-GTS6WHT"]["available_with"].push("10");
option_group_data["735-GTS6WHT"]["available_with"].push("126");
option_group_data["735HTX-GTS6BLK"] = {}; option_group_data["735HTX-GTS6BLK"]["available_with"] = new Array();
option_group_data["735HTX-GTS6BLK"]["available_with_compound"] = new Array();
option_group_data["735HTX-GTS6BLK"]["available_with"].push("11");
option_group_data["735HTX-GTS6BLK"]["available_with"].push("12");
option_group_data["735HTX-GTS6BLK"]["available_with"].push("128");
option_group_data["735-GTS6BLK"] = {}; option_group_data["735-GTS6BLK"]["available_with"] = new Array();
option_group_data["735-GTS6BLK"]["available_with_compound"] = new Array();
option_group_data["735-GTS6BLK"]["available_with"].push("9");
option_group_data["735-GTS6BLK"]["available_with"].push("10");
option_group_data["735-GTS6BLK"]["available_with"].push("126");
option_group_data["765-GTS6WHT"] = {}; option_group_data["765-GTS6WHT"]["available_with"] = new Array();
option_group_data["765-GTS6WHT"]["available_with_compound"] = new Array();
option_group_data["765-GTS6WHT"]["available_with"].push("9");
option_group_data["765-GTS6WHT"]["available_with"].push("10");
option_group_data["765-GTS6WHT"]["available_with"].push("126");
option_group_data["765-GTS6WHT"]["available_with"].push("11");
option_group_data["765-GTS6WHT"]["available_with"].push("12");
option_group_data["765-GTS6WHT"]["available_with"].push("128");
option_group_data["765-GTS6BLK"] = {}; option_group_data["765-GTS6BLK"]["available_with"] = new Array();
option_group_data["765-GTS6BLK"]["available_with_compound"] = new Array();
option_group_data["765-GTS6BLK"]["available_with"].push("9");
option_group_data["765-GTS6BLK"]["available_with"].push("10");
option_group_data["765-GTS6BLK"]["available_with"].push("126");
option_group_data["765-GTS6BLK"]["available_with"].push("11");
option_group_data["765-GTS6BLK"]["available_with"].push("12");
option_group_data["765-GTS6BLK"]["available_with"].push("128");
option_group_data["685V-GTS6"] = {}; option_group_data["685V-GTS6"]["part_groups"] = new Array();
option_group_data["685V-GTS6"]["part_groups"].push("126");
option_group_data["685M-GTS6"] = {}; option_group_data["685M-GTS6"]["part_groups"] = new Array();
option_group_data["685M-GTS6"]["part_groups"].push("126");
option_group_data["685HTXV-GTS6"] = {}; option_group_data["685HTXV-GTS6"]["part_groups"] = new Array();
option_group_data["685HTXV-GTS6"]["part_groups"].push("128");
option_group_data["685HTXM-GTS6"] = {}; option_group_data["685HTXM-GTS6"]["part_groups"] = new Array();
option_group_data["685HTXM-GTS6"]["part_groups"].push("128");
option_group_data["512BM-GTS6"] = {}; option_group_data["512BM-GTS6"]["available_with"] = new Array();
option_group_data["512BM-GTS6"]["available_with_compound"] = new Array();
option_group_data["512BM-GTS6"]["available_with"].push("10");
option_group_data["512BM-GTS6"]["available_with"].push("11");
option_group_data["512BV-GTS6"] = {}; option_group_data["512BV-GTS6"]["available_with"] = new Array();
option_group_data["512BV-GTS6"]["available_with_compound"] = new Array();
option_group_data["512BV-GTS6"]["available_with"].push("10");
option_group_data["512BV-GTS6"]["available_with"].push("11");
option_group_data["713B-GTS6"] = {}; option_group_data["713B-GTS6"]["available_with"] = new Array();
option_group_data["713B-GTS6"]["available_with_compound"] = new Array();
option_group_data["713B-GTS6"]["available_with"].push("10");
option_group_data["713B-GTS6"]["available_with"].push("126");
option_group_data["682BS-GTS6"] = {}; option_group_data["682BS-GTS6"]["available_with"] = new Array();
option_group_data["682BS-GTS6"]["available_with_compound"] = new Array();
option_group_data["682BS-GTS6"]["available_with"].push("501");
option_group_data["682WS-GTS6"] = {}; option_group_data["682WS-GTS6"]["available_with"] = new Array();
option_group_data["682WS-GTS6"]["available_with_compound"] = new Array();
option_group_data["682WS-GTS6"]["available_with"].push("501");
option_group_data["682BC-GTS6"] = {}; option_group_data["682BC-GTS6"]["available_with"] = new Array();
option_group_data["682BC-GTS6"]["available_with_compound"] = new Array();
option_group_data["682BC-GTS6"]["available_with"].push("502");
option_group_data["682WC-GTS6"] = {}; option_group_data["682WC-GTS6"]["available_with"] = new Array();
option_group_data["682WC-GTS6"]["available_with_compound"] = new Array();
option_group_data["682WC-GTS6"]["available_with"].push("502");
option_group_data["560NCT-GTS6SDW"] = {}; option_group_data["560NCT-GTS6SDW"]["available_with"] = new Array();
option_group_data["560NCT-GTS6SDW"]["available_with_compound"] = new Array();
option_group_data["560NCT-GTS6SDW"]["available_with"].push("24");
option_group_data["560NCT-GTS6LNR"] = {}; option_group_data["560NCT-GTS6LNR"]["available_with"] = new Array();
option_group_data["560NCT-GTS6LNR"]["available_with_compound"] = new Array();
option_group_data["560NCT-GTS6LNR"]["available_with"].push("22");
option_group_data["560NCT-GTS6CYN"] = {}; option_group_data["560NCT-GTS6CYN"]["available_with"] = new Array();
option_group_data["560NCT-GTS6CYN"]["available_with_compound"] = new Array();
option_group_data["560NCT-GTS6CYN"]["available_with"].push("95");
option_group_data["560NCT-GTS6BE"] = {}; option_group_data["560NCT-GTS6BE"]["available_with"] = new Array();
option_group_data["560NCT-GTS6BE"]["available_with_compound"] = new Array();
option_group_data["560NCT-GTS6BE"]["available_with"].push("98");
option_group_data["560NCT-GTS6SLT"] = {}; option_group_data["560NCT-GTS6SLT"]["available_with"] = new Array();
option_group_data["560NCT-GTS6SLT"]["available_with_compound"] = new Array();
option_group_data["560NCT-GTS6SLT"]["available_with"].push("20");
option_group_data["560CT-GTS6SDW"] = {}; option_group_data["560CT-GTS6SDW"]["available_with"] = new Array();
option_group_data["560CT-GTS6SDW"]["available_with_compound"] = new Array();
option_group_data["560CT-GTS6SDW"]["available_with"].push("24");
option_group_data["560CT-GTS6CYN"] = {}; option_group_data["560CT-GTS6CYN"]["available_with"] = new Array();
option_group_data["560CT-GTS6CYN"]["available_with_compound"] = new Array();
option_group_data["560CT-GTS6CYN"]["available_with"].push("95");
option_group_data["560CT-GTS6SLT"] = {}; option_group_data["560CT-GTS6SLT"]["available_with"] = new Array();
option_group_data["560CT-GTS6SLT"]["available_with_compound"] = new Array();
option_group_data["560CT-GTS6SLT"]["available_with"].push("20");
option_group_data["560CT-GTS6BE"] = {}; option_group_data["560CT-GTS6BE"]["available_with"] = new Array();
option_group_data["560CT-GTS6BE"]["available_with_compound"] = new Array();
option_group_data["560CT-GTS6BE"]["available_with"].push("98");
option_group_data["560CT-GTS6LNR"] = {}; option_group_data["560CT-GTS6LNR"]["available_with"] = new Array();
option_group_data["560CT-GTS6LNR"]["available_with_compound"] = new Array();
option_group_data["560CT-GTS6LNR"]["available_with"].push("22");
option_group_data["704S-GTS6"] = {}; option_group_data["704S-GTS6"]["available_with"] = new Array();
option_group_data["704S-GTS6"]["available_with_compound"] = new Array();
option_group_data["704S-GTS6"]["available_with"].push("20");
option_group_data["704S-GTS6"]["available_with"].push("22");
option_group_data["704S-GTS6"]["available_with"].push("24");
option_group_data["704C-GTS6"] = {}; option_group_data["704C-GTS6"]["available_with"] = new Array();
option_group_data["704C-GTS6"]["available_with_compound"] = new Array();
option_group_data["704C-GTS6"]["available_with"].push("95");
option_group_data["704BE-GTS6"] = {}; option_group_data["704BE-GTS6"]["available_with"] = new Array();
option_group_data["704BE-GTS6"]["available_with_compound"] = new Array();
option_group_data["704BE-GTS6"]["available_with"].push("98");
option_group_data["760B-GTS6"] = {}; option_group_data["760B-GTS6"]["available_with"] = new Array();
option_group_data["760B-GTS6"]["available_with_compound"] = new Array();
option_group_data["760B-GTS6"]["available_with"].push("10");
option_group_data["760B-GTS6"]["available_with"].push("11");
option_group_data["796BE-GTS6"] = {}; option_group_data["796BE-GTS6"]["available_with"] = new Array();
option_group_data["796BE-GTS6"]["available_with_compound"] = new Array();
option_group_data["796BE-GTS6"]["available_with"].push("10");
option_group_data["796BE-GTS6"]["available_with"].push("126");
option_group_data["795B-GTS6HTX"] = {}; option_group_data["795B-GTS6HTX"]["available_with"] = new Array();
option_group_data["795B-GTS6HTX"]["available_with_compound"] = new Array();
option_group_data["795B-GTS6HTX"]["available_with"].push("11");
option_group_data["795W-GTS6HTX"] = {}; option_group_data["795W-GTS6HTX"]["available_with"] = new Array();
option_group_data["795W-GTS6HTX"]["available_with_compound"] = new Array();
option_group_data["795W-GTS6HTX"]["available_with"].push("12");
option_group_data["794W-GTS6"] = {}; option_group_data["794W-GTS6"]["available_with"] = new Array();
option_group_data["794W-GTS6"]["available_with_compound"] = new Array();
option_group_data["794W-GTS6"]["available_with"].push("12");
option_group_data["794B-GTS6"] = {}; option_group_data["794B-GTS6"]["available_with"] = new Array();
option_group_data["794B-GTS6"]["available_with_compound"] = new Array();
option_group_data["794B-GTS6"]["available_with"].push("11");
option_group_data["688AA-GTS6"] = {}; option_group_data["688AA-GTS6"]["part_groups"] = new Array();
option_group_data["688AA-GTS6"]["part_groups"].push("52");
option_group_data["688BA-GTS6"] = {}; option_group_data["688BA-GTS6"]["part_groups"] = new Array();
option_group_data["688BA-GTS6"]["part_groups"].push("50");
option_group_data["688WA-GTS6"] = {}; option_group_data["688WA-GTS6"]["part_groups"] = new Array();
option_group_data["688WA-GTS6"]["part_groups"].push("50");
option_group_data["688BE-GTS6"] = {}; option_group_data["688BE-GTS6"]["part_groups"] = new Array();
option_group_data["688BE-GTS6"]["available_with"] = new Array();
option_group_data["688BE-GTS6"]["available_with_compound"] = new Array();
option_group_data["688BE-GTS6"]["part_groups"].push("57");
option_group_data["688BE-GTS6"]["available_with"].push("126");
option_group_data["688BE-GTS6"]["available_with"].push("128");
option_group_data["688BE-GTS6"]["available_with"].push("129");
option_group_data["687-GTS6ALM"] = {}; option_group_data["687-GTS6ALM"]["available_with"] = new Array();
option_group_data["687-GTS6ALM"]["available_with_compound"] = new Array();
option_group_data["687-GTS6ALM"]["available_with"].push("52");
option_group_data["687P-GTS6"] = {}; option_group_data["687P-GTS6"]["available_with"] = new Array();
option_group_data["687P-GTS6"]["available_with_compound"] = new Array();
option_group_data["687P-GTS6"]["available_with"].push("50");
option_group_data["687BE-GTS6"] = {}; option_group_data["687BE-GTS6"]["available_with"] = new Array();
option_group_data["687BE-GTS6"]["available_with_compound"] = new Array();
option_group_data["687BE-GTS6"]["available_with"].push("57");
}); // end of document ready
jQuery(document).ready(function(){
jQuery("#boat_build_form").validate({
rules: {
name: {
required: true,
minlength: 2
},
email: {
required: true,
email: true
},
zip: {
required: true,
minlength: 3
}
},
messages: {
name: " -Name Required ",
email: " -Please enter a valid email address",
zip: " -Zip/Postal Required"
}
}); // end validate
});// end doc ready
jQuery(document).ready(function(){
checked_boxes_price_tally();
checked_boxes_list_tally();
jQuery(".byb_checkbox:input").change(function(){
// if this is a single selection and if this option is checked
if(jQuery(this).attr("single_selection_group") && jQuery(this).prop("checked"))
{
// loop thorugh all options and remove checks from this single selection group
var single_selection_group = jQuery(this).attr("single_selection_group");
var single_selection_checked_option = jQuery(this).val();
jQuery("#boat_build_form input:checked").each(function(){
// if this option is in the single selection group AND it is NOT the same part number as selected above
if(jQuery(this).attr("single_selection_group") == single_selection_group && jQuery(this).val() != single_selection_checked_option)
{
jQuery(this).prop("checked",false).change();
}
});
}
//includes();
apply_part_groups();
apply_graphics();
checked_boxes_price_tally();
checked_boxes_list_tally();
setCanvasColor();
setXtremeArchGraphics();
//alert(overwrite_group_total["msrp"]);
});
});
function checked_boxes_price_tally(){
// here we get the volume discount to be used in the final tally price
// these boats do NOT get volume discount applied to them
///////// !!!!!!!!!!! Volume discount has been moved to the line item !!!!!!!!!!!!!!!!!!!!/////////
//if(item_id != "342" && item_id != "345")
// {
// var volume_discount = (100 - parseFloat(jQuery("#volume_discount-holder").val()-0))/100;
// }
//else
// {
// var volume_discount = 1;
// }
var dealer_installed_option_total = 0;
// get msrp of dealer installed options
jQuery(".dealer_installed_option_price").each(function(){
if(jQuery(this).val())
{
dealer_installed_option_total = dealer_installed_option_total+parseFloat(jQuery(this).val());
}
});
var checked_boxes_total = new Array();
checked_boxes_total["msrp"] = 0;
checked_boxes_total["msrp_base"] = 0;
checked_boxes_total["dealer_price"] = 0;
checked_boxes_total["dealer_margin"] = 0;
base_multiplier
jQuery("#boat_build_form input:checked").each(function(){
//alert(this.id);
//alert(jQuery("input").attr("disabled"));
// if the checkbox is not disabled
// this first line weeds out tbd pricing of 999999
//if(!jQuery(this).prop("disabled") && jQuery(this).attr("msrp") && jQuery(this).attr("is_tbd") != 1 && jQuery(this).attr("is_tbd") != "1")
//if((!jQuery(this).prop("disabled") || jQuery(this).attr("is_required")) && jQuery(this).attr("msrp") && jQuery(this).val() != "NPPNPRICE22S" )
if(!jQuery(this).prop("included_option") && jQuery(this).attr("msrp"))
{
//alert(jQuery(this).attr("dealer_margin"));
//alert(jQuery(this).attr("id"));
// we have base
if(jQuery(this).attr("overwrite_group") == 1){
checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*base_multiplier);
}
// we have option
else{
checked_boxes_total["msrp_base"] = checked_boxes_total["msrp_base"] + (parseFloat(jQuery(this).attr("msrp"))*option_multiplier);
}
checked_boxes_total["msrp"] = checked_boxes_total["msrp"] + parseFloat(jQuery(this).attr("msrp"));
checked_boxes_total["dealer_price"] = checked_boxes_total["dealer_price"] + parseFloat(jQuery(this).attr("dealer_cost"));
checked_boxes_total["dealer_margin"] = checked_boxes_total["dealer_margin"] + parseFloat(jQuery(this).attr("dealer_margin"));
}
}); // end checked each
// cycle through
//alert(checked_boxes_total["msrp"]);
// here we format the price
// here we send the price to the page
jQuery(".msrp_holder").html(checked_boxes_total["msrp_base"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".msrp_container").html(checked_boxes_total["msrp"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".dealer_price_container").html(checked_boxes_total["dealer_price"]).formatCurrency({ roundToDecimalPlace:0 });
jQuery(".dealer_margin_price_container").html(checked_boxes_total["dealer_margin"]+dealer_installed_option_total).formatCurrency({ roundToDecimalPlace:0 });
} function apply_graphics(){
// hide all the graphic overlays
jQuery(".boat_builder_graphic_overlay").css("display","none");
jQuery(".byb_checkbox").each(function() {
// if this option has an overlay
if(jQuery(this).attr("graphic_id") !== 0)
{
// if this option is checked
if(this.checked)
{
// possibly put overlays in csv to show more than one overlay per option..?
jQuery("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id")).css("display","block");
//alert("#boat_builder_graphic_overlay_"+jQuery(this).attr("graphic_id"));
}
}// end if
});
} function checked_boxes_list_tally(){
// empty the list container
jQuery("#option_list_tally_table").empty();
jQuery("input:checked").each(function(){
//alert(this.id);
//jQuery("#option_list_tally").append(this.next().child());
if(jQuery(this).attr("title") && jQuery(this).attr("option_group") != 16)
{
var price_msrp = jQuery(this).attr("msrp").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
if(country == 226 || country == 138)
{
if ((jQuery(this).prop("included_option")))
{
jQuery("#option_list_tally_table").append('| '+jQuery(this).attr("title")+' | $0 |
');
}
else
{
jQuery("#option_list_tally_table").append('| '+jQuery(this).attr("title")+' | $'+price_msrp+' |
');
}
}
else
{
jQuery("#option_list_tally_table").append('| '+jQuery(this).attr("title")+' | |
');
}
}
}); // end checked each
//
}
function selectDefaultEngine(){
//alert('firing');
var min_price_engine = 999999999999999;
var min_price_engine_id;
jQuery('input:radio[name=overwrite_group-1]').each(function(){
var temp_msrp = parseInt(jQuery(this).attr('msrp'));
// if this engine is less than the previous one we set it as the sel no
if(temp_msrp < min_price_engine)
{
min_price_engine_id = jQuery(this).attr('id');
min_price_engine = temp_msrp;
}
});
// check the cheapest engine
//alert(min_price_engine_id);
jQuery('#'+min_price_engine_id).prop('checked',true).change();
}
jQuery(document).ready(function(){
// click the package that is selected
//jQuery('input:radio[name=overwrite_group-7]:checked').change();
//alert('here2');
// engine
if(!jQuery('input:radio[name=overwrite_group-1]:checked').val())
{
//alert('here');
selectDefaultEngine();
}
else
{
//alert('here2');
jQuery('input:radio[name=overwrite_group-1]:checked').change();
}
// kicker brand
//jQuery('input:radio[name=overwrite_group-58]:checked').change();
//trailer brand
//jQuery('input:radio[name=overwrite_group-60]:checked').change();
//accent color
//jQuery('input:radio[name=overwrite_group-37]:checked').change();
//hull color
//jQuery('input:radio[name=overwrite_group-11]:checked').change();
//canvas color
//jQuery('input:radio[name=overwrite_group-12]:checked').change();
//jQuery('input:radio[name=overwrite_group-65]:checked').change();
jQuery('#boat_build_form input:checked').each(function(){
jQuery(this).change();
});
setXtremeArchGraphics()
});