jQuery(document).ready(function(){
jQuery("#input-979-280OSXBE").change(function(){
if(jQuery("#input-979-280OSXBE").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-280OSXBE - Black Edition Hull)
");
jQuery("[id^=note-BE_HULL]").html("
(Included in 979-280OSXBE - 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-280OSXBE").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-280OSXBE-BE_HULL").remove();
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").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-512]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)
");
jQuery("[id^=note-512]").html("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)");
jQuery("[id^=input-512]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685B-280OSX").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-512]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512]").prop("disabled",false);
jQuery("[id^=input-512]").prop("included_option", false);
//if(!jQuery("#input-512").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685B-280OSX-512").remove();
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-551]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)
");
jQuery("[id^=note-551]").html("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685B-280OSX").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-551]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-551]").prop("disabled",false);
jQuery("[id^=input-551]").prop("included_option", false);
//if(!jQuery("#input-551").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-551").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-551").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685B-280OSX-551").remove();
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").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-731B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)
");
jQuery("[id^=note-731B]").html("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)");
jQuery("[id^=input-731B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685B-280OSX").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-731B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-731B]").prop("disabled",false);
jQuery("[id^=input-731B]").prop("included_option", false);
//if(!jQuery("#input-731B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-731B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-731B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685B-280OSX-731B").remove();
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-635-280OSXBLK]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)
");
jQuery("[id^=note-635-280OSXBLK]").html("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)");
jQuery("[id^=input-635-280OSXBLK]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685B-280OSX").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-635-280OSXBLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-635-280OSXBLK]").prop("disabled",false);
jQuery("[id^=input-635-280OSXBLK]").prop("included_option", false);
//if(!jQuery("#input-635-280OSXBLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-635-280OSXBLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-635-280OSXBLK").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685B-280OSX-635-280OSXBLK").remove();
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").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-642-280OSXBLK]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)
");
jQuery("[id^=note-642-280OSXBLK]").html("
(Included in 685B-280OSX - Black Edition Package - Blank Engine Only)");
jQuery("[id^=input-642-280OSXBLK]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685B-280OSX").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-642-280OSXBLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-642-280OSXBLK]").prop("disabled",false);
jQuery("[id^=input-642-280OSXBLK]").prop("included_option", false);
//if(!jQuery("#input-642-280OSXBLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-642-280OSXBLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-642-280OSXBLK").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685B-280OSX-642-280OSXBLK").remove();
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").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-512]").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-280OSX - Black Edition Package - Mercury)
");
jQuery("[id^=note-512]").html("
(Included in 685M-280OSX - Black Edition Package - Mercury)");
jQuery("[id^=input-512]").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-280OSX").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-512]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512]").prop("disabled",false);
jQuery("[id^=input-512]").prop("included_option", false);
//if(!jQuery("#input-512").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512").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-280OSX-512").remove();
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").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-280OSX - Black Edition Package - Mercury)
");
jQuery("[id^=note-551]").html("
(Included in 685M-280OSX - Black Edition Package - Mercury)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685M-280OSX").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-280OSX-551").remove();
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").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-731B]").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-280OSX - Black Edition Package - Mercury)
");
jQuery("[id^=note-731B]").html("
(Included in 685M-280OSX - Black Edition Package - Mercury)");
jQuery("[id^=input-731B]").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-280OSX").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-731B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-731B]").prop("disabled",false);
jQuery("[id^=input-731B]").prop("included_option", false);
//if(!jQuery("#input-731B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-731B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-731B").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-280OSX-731B").remove();
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-635-280OSXBLK]").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-280OSX - Black Edition Package - Mercury)
");
jQuery("[id^=note-635-280OSXBLK]").html("
(Included in 685M-280OSX - Black Edition Package - Mercury)");
jQuery("[id^=input-635-280OSXBLK]").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-280OSX").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-635-280OSXBLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-635-280OSXBLK]").prop("disabled",false);
jQuery("[id^=input-635-280OSXBLK]").prop("included_option", false);
//if(!jQuery("#input-635-280OSXBLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-635-280OSXBLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-635-280OSXBLK").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-280OSX-635-280OSXBLK").remove();
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").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-642-280OSXBLK]").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-280OSX - Black Edition Package - Mercury)
");
jQuery("[id^=note-642-280OSXBLK]").html("
(Included in 685M-280OSX - Black Edition Package - Mercury)");
jQuery("[id^=input-642-280OSXBLK]").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-280OSX").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-642-280OSXBLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-642-280OSXBLK]").prop("disabled",false);
jQuery("[id^=input-642-280OSXBLK]").prop("included_option", false);
//if(!jQuery("#input-642-280OSXBLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-642-280OSXBLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-642-280OSXBLK").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-280OSX-642-280OSXBLK").remove();
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").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-512]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)
");
jQuery("[id^=note-512]").html("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)");
jQuery("[id^=input-512]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685Y-280OSX").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-512]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-512]").prop("disabled",false);
jQuery("[id^=input-512]").prop("included_option", false);
//if(!jQuery("#input-512").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-512").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-512").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685Y-280OSX-512").remove();
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-551]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)
");
jQuery("[id^=note-551]").html("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)");
jQuery("[id^=input-551]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685Y-280OSX").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-551]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-551]").prop("disabled",false);
jQuery("[id^=input-551]").prop("included_option", false);
//if(!jQuery("#input-551").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-551").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-551").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685Y-280OSX-551").remove();
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").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-731B]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)
");
jQuery("[id^=note-731B]").html("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)");
jQuery("[id^=input-731B]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685Y-280OSX").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-731B]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-731B]").prop("disabled",false);
jQuery("[id^=input-731B]").prop("included_option", false);
//if(!jQuery("#input-731B").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-731B").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-731B").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685Y-280OSX-731B").remove();
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").prop("checked"))
{
// if this is overwrite_group-1 we need to take into account some things
// the visitor should still be able to select other engines
// disable the includes and checks it
jQuery("[id^=input-635-280OSXBLK]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)
");
jQuery("[id^=note-635-280OSXBLK]").html("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)");
jQuery("[id^=input-635-280OSXBLK]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685Y-280OSX").prop("type") == "checkbox")
{
// this was removed 3/2019 by rusty due to it not un disableing checkboxes. not sure why it was here in the first place?
// enables the includes
//jQuery("[id^=input-635-280OSXBLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-635-280OSXBLK]").prop("disabled",false);
jQuery("[id^=input-635-280OSXBLK]").prop("included_option", false);
//if(!jQuery("#input-635-280OSXBLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-635-280OSXBLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-635-280OSXBLK").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685Y-280OSX-635-280OSXBLK").remove();
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").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-642-280OSXBLK]").each(function(){
if(jQuery(this).is(":visible") && jQuery(this).attr("color_rule_applied") != 1 && jQuery(this).attr("canvas_rule_applied") != 1 )
{
jQuery(this).prop("disabled", true);
jQuery(this).prop("included_option", true);
if(!jQuery(this).prop("checked"))
{
jQuery(this).prop("checked", true).change();
}
}
});
// add a note to the disable option to tell why this is disabled but included
//alert("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)
");
jQuery("[id^=note-642-280OSXBLK]").html("
(Included in 685Y-280OSX - Black Edition Package - Yamaha)");
jQuery("[id^=input-642-280OSXBLK]").parent().parent().addClass("byb_option_green");
}
// here we reverse out everything from above
else
{
// if this is not a radio group
if(jQuery("#input-685Y-280OSX").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-642-280OSXBLK]").prop("disabled",false);
}
// enables the includes
jQuery("[id^=input-642-280OSXBLK]").prop("disabled",false);
jQuery("[id^=input-642-280OSXBLK]").prop("included_option", false);
//if(!jQuery("#input-642-280OSXBLK").prop("checked"))
//{
//alert("i fire now");
//jQuery("#input-642-280OSXBLK").parent().parent().removeClass("byb_option_green");
//}
jQuery("#input-642-280OSXBLK").parent().parent().removeClass("byb_option_green");
// add a note to the disable option to tell why this is disabled but included
jQuery("#note-single-include-685Y-280OSX-642-280OSXBLK").remove();
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){
jQuery("#input-910-280OSXWHT").change(function(){
if(jQuery("#input-910-280OSXWHT").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-280OSXWHT]");
//alert(jQuery("[id^=input-950-280OSXWHT]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-280OSXWHT]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-280OSXWHT]").prop("checked"))
{
jQuery("[id^=input-950-280OSXWHT]").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-280OSXWHT-910-280OSXWHT]").length === 0)
{
jQuery("[id^=note-950-280OSXWHT]").append("
(N/A with 910-280OSXWHT - Painted Metallic Hull Stripe - White)");
}
jQuery("[id^=input-950-280OSXWHT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-280OSXWHT]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-280OSXWHT-910-280OSXWHT]").remove();
jQuery("[id^=input-950-280OSXWHT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-280OSXWHT]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-910-280OSXWHT");
//alert(jQuery("[id^=input-910-280OSXWHT]").attr("title"));
//alert(jQuery("[id^=input-910-280OSXWHT]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-910-280OSXWHT").prop("disabled", true);
// determine if checked
if(jQuery("#input-910-280OSXWHT").prop("checked"))
{
jQuery("#input-910-280OSXWHT").removeAttr("checked").change();
}
//console.log("if of reverse input-910-280OSXWHT");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-910-280OSXWHT-950-280OSXWHT]").length === 0)
{
jQuery("#note-910-280OSXWHT").append("
(N/A with 950-280OSXWHT )");
}
jQuery("[id^=input-910-280OSXWHT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-910-280OSXWHT").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-910-280OSXWHT-950-280OSXWHT]").remove();
jQuery("[id^=input-910-280OSXWHT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-910-280OSXALY").change(function(){
if(jQuery("#input-910-280OSXALY").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-280OSXALY]");
//alert(jQuery("[id^=input-950-280OSXALY]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-280OSXALY]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-280OSXALY]").prop("checked"))
{
jQuery("[id^=input-950-280OSXALY]").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-280OSXALY-910-280OSXALY]").length === 0)
{
jQuery("[id^=note-950-280OSXALY]").append("
(N/A with 910-280OSXALY - Painted Metallic Hull Stripe - Alloy Gray)");
}
jQuery("[id^=input-950-280OSXALY]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-280OSXALY]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-280OSXALY-910-280OSXALY]").remove();
jQuery("[id^=input-950-280OSXALY]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-280OSXALY]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-910-280OSXALY");
//alert(jQuery("[id^=input-910-280OSXALY]").attr("title"));
//alert(jQuery("[id^=input-910-280OSXALY]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-910-280OSXALY").prop("disabled", true);
// determine if checked
if(jQuery("#input-910-280OSXALY").prop("checked"))
{
jQuery("#input-910-280OSXALY").removeAttr("checked").change();
}
//console.log("if of reverse input-910-280OSXALY");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-910-280OSXALY-950-280OSXALY]").length === 0)
{
jQuery("#note-910-280OSXALY").append("
(N/A with 950-280OSXALY )");
}
jQuery("[id^=input-910-280OSXALY]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-910-280OSXALY").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-910-280OSXALY-950-280OSXALY]").remove();
jQuery("[id^=input-910-280OSXALY]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-910-280OSXBLK").change(function(){
if(jQuery("#input-910-280OSXBLK").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-280OSXBLK]");
//alert(jQuery("[id^=input-950-280OSXBLK]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-280OSXBLK]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-280OSXBLK]").prop("checked"))
{
jQuery("[id^=input-950-280OSXBLK]").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-280OSXBLK-910-280OSXBLK]").length === 0)
{
jQuery("[id^=note-950-280OSXBLK]").append("
(N/A with 910-280OSXBLK - Painted Metallic Hull Stripe - Black)");
}
jQuery("[id^=input-950-280OSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-280OSXBLK]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-280OSXBLK-910-280OSXBLK]").remove();
jQuery("[id^=input-950-280OSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-280OSXBLK]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-910-280OSXBLK");
//alert(jQuery("[id^=input-910-280OSXBLK]").attr("title"));
//alert(jQuery("[id^=input-910-280OSXBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-910-280OSXBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-910-280OSXBLK").prop("checked"))
{
jQuery("#input-910-280OSXBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-910-280OSXBLK");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-910-280OSXBLK-950-280OSXBLK]").length === 0)
{
jQuery("#note-910-280OSXBLK").append("
(N/A with 950-280OSXBLK )");
}
jQuery("[id^=input-910-280OSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-910-280OSXBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-910-280OSXBLK-950-280OSXBLK]").remove();
jQuery("[id^=input-910-280OSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-910-280OSXBLU").change(function(){
if(jQuery("#input-910-280OSXBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950-280OSXBLU]");
//alert(jQuery("[id^=input-950-280OSXBLU]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950-280OSXBLU]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950-280OSXBLU]").prop("checked"))
{
jQuery("[id^=input-950-280OSXBLU]").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-280OSXBLU-910-280OSXBLU]").length === 0)
{
jQuery("[id^=note-950-280OSXBLU]").append("
(N/A with 910-280OSXBLU - Painted Metallic Hull Stripe - Blue)");
}
jQuery("[id^=input-950-280OSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950-280OSXBLU]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-280OSXBLU-910-280OSXBLU]").remove();
jQuery("[id^=input-950-280OSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950-280OSXBLU]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-910-280OSXBLU");
//alert(jQuery("[id^=input-910-280OSXBLU]").attr("title"));
//alert(jQuery("[id^=input-910-280OSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-910-280OSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-910-280OSXBLU").prop("checked"))
{
jQuery("#input-910-280OSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-910-280OSXBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-910-280OSXBLU-950-280OSXBLU]").length === 0)
{
jQuery("#note-910-280OSXBLU").append("
(N/A with 950-280OSXBLU )");
}
jQuery("[id^=input-910-280OSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-910-280OSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-910-280OSXBLU-950-280OSXBLU]").remove();
jQuery("[id^=input-910-280OSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-677W-280OSX").change(function(){
if(jQuery("#input-677W-280OSX").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-677W-280OSX]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 677W-280OSX - Yamaha Helm Master EX with Maneuverability)");
}
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-677W-280OSX]").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-677W-280OSX");
//alert(jQuery("[id^=input-677W-280OSX]").attr("title"));
//alert(jQuery("[id^=input-677W-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-677W-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-677W-280OSX").prop("checked"))
{
jQuery("#input-677W-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-677W-280OSX");
//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-677W-280OSX-685]").length === 0)
{
jQuery("#note-677W-280OSX").append("
(N/A with 685 )");
}
jQuery("[id^=input-677W-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-677W-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-677W-280OSX-685]").remove();
jQuery("[id^=input-677W-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-677W-280OSX").change(function(){
if(jQuery("#input-677W-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-638]");
//alert(jQuery("[id^=input-638]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-638]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-638]").prop("checked"))
{
jQuery("[id^=input-638]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-638-677W-280OSX]").length === 0)
{
jQuery("[id^=note-638]").append("
(N/A with 677W-280OSX - Yamaha Helm Master EX with Maneuverability)");
}
jQuery("[id^=input-638]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-638]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-638-677W-280OSX]").remove();
jQuery("[id^=input-638]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-638]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-677W-280OSX");
//alert(jQuery("[id^=input-677W-280OSX]").attr("title"));
//alert(jQuery("[id^=input-677W-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-677W-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-677W-280OSX").prop("checked"))
{
jQuery("#input-677W-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-677W-280OSX");
//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-677W-280OSX-638]").length === 0)
{
jQuery("#note-677W-280OSX").append("
(N/A with 638 )");
}
jQuery("[id^=input-677W-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-677W-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-677W-280OSX-638]").remove();
jQuery("[id^=input-677W-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-677-280OSX").change(function(){
if(jQuery("#input-677-280OSX").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-677-280OSX]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 677-280OSX - Yamaha Helm Master EX with Maneuverability)");
}
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-677-280OSX]").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-677-280OSX");
//alert(jQuery("[id^=input-677-280OSX]").attr("title"));
//alert(jQuery("[id^=input-677-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-677-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-677-280OSX").prop("checked"))
{
jQuery("#input-677-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-677-280OSX");
//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-677-280OSX-685]").length === 0)
{
jQuery("#note-677-280OSX").append("
(N/A with 685 )");
}
jQuery("[id^=input-677-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-677-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-677-280OSX-685]").remove();
jQuery("[id^=input-677-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-677-280OSX").change(function(){
if(jQuery("#input-677-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-638]");
//alert(jQuery("[id^=input-638]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-638]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-638]").prop("checked"))
{
jQuery("[id^=input-638]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-638-677-280OSX]").length === 0)
{
jQuery("[id^=note-638]").append("
(N/A with 677-280OSX - Yamaha Helm Master EX with Maneuverability)");
}
jQuery("[id^=input-638]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-638]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-638-677-280OSX]").remove();
jQuery("[id^=input-638]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-638]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-677-280OSX");
//alert(jQuery("[id^=input-677-280OSX]").attr("title"));
//alert(jQuery("[id^=input-677-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-677-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-677-280OSX").prop("checked"))
{
jQuery("#input-677-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-677-280OSX");
//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-677-280OSX-638]").length === 0)
{
jQuery("#note-677-280OSX").append("
(N/A with 638 )");
}
jQuery("[id^=input-677-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-677-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-677-280OSX-638]").remove();
jQuery("[id^=input-677-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-676W-280OSX").change(function(){
if(jQuery("#input-676W-280OSX").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-676W-280OSX]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 676W-280OSX - Yamaha Helm Master EX with Maneuverability)");
}
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-676W-280OSX]").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-676W-280OSX");
//alert(jQuery("[id^=input-676W-280OSX]").attr("title"));
//alert(jQuery("[id^=input-676W-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-676W-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-676W-280OSX").prop("checked"))
{
jQuery("#input-676W-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-676W-280OSX");
//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-676W-280OSX-685]").length === 0)
{
jQuery("#note-676W-280OSX").append("
(N/A with 685 )");
}
jQuery("[id^=input-676W-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-676W-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-676W-280OSX-685]").remove();
jQuery("[id^=input-676W-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-676W-280OSX").change(function(){
if(jQuery("#input-676W-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-638]");
//alert(jQuery("[id^=input-638]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-638]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-638]").prop("checked"))
{
jQuery("[id^=input-638]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-638-676W-280OSX]").length === 0)
{
jQuery("[id^=note-638]").append("
(N/A with 676W-280OSX - Yamaha Helm Master EX with Maneuverability)");
}
jQuery("[id^=input-638]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-638]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-638-676W-280OSX]").remove();
jQuery("[id^=input-638]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-638]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-676W-280OSX");
//alert(jQuery("[id^=input-676W-280OSX]").attr("title"));
//alert(jQuery("[id^=input-676W-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-676W-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-676W-280OSX").prop("checked"))
{
jQuery("#input-676W-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-676W-280OSX");
//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-676W-280OSX-638]").length === 0)
{
jQuery("#note-676W-280OSX").append("
(N/A with 638 )");
}
jQuery("[id^=input-676W-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-676W-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-676W-280OSX-638]").remove();
jQuery("[id^=input-676W-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-638Y-280OSX").change(function(){
if(jQuery("#input-638Y-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-307]");
//alert(jQuery("[id^=input-307]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-307]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-307]").prop("checked"))
{
jQuery("[id^=input-307]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-307-638Y-280OSX]").length === 0)
{
jQuery("[id^=note-307]").append("
(N/A with 638Y-280OSX - Cockpit Interior - Cayenne)");
}
jQuery("[id^=input-307]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-307]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-307-638Y-280OSX]").remove();
jQuery("[id^=input-307]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-307]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-638Y-280OSX");
//alert(jQuery("[id^=input-638Y-280OSX]").attr("title"));
//alert(jQuery("[id^=input-638Y-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-638Y-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-638Y-280OSX").prop("checked"))
{
jQuery("#input-638Y-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-638Y-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-638Y-280OSX-307]").length === 0)
{
jQuery("#note-638Y-280OSX").append("
(N/A with 307 )");
}
jQuery("[id^=input-638Y-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-638Y-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-638Y-280OSX-307]").remove();
jQuery("[id^=input-638Y-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-638M-280OSX").change(function(){
if(jQuery("#input-638M-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-307]");
//alert(jQuery("[id^=input-307]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-307]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-307]").prop("checked"))
{
jQuery("[id^=input-307]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-307-638M-280OSX]").length === 0)
{
jQuery("[id^=note-307]").append("
(N/A with 638M-280OSX - Cockpit Interior - Cayenne)");
}
jQuery("[id^=input-307]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-307]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-307-638M-280OSX]").remove();
jQuery("[id^=input-307]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-307]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-638M-280OSX");
//alert(jQuery("[id^=input-638M-280OSX]").attr("title"));
//alert(jQuery("[id^=input-638M-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-638M-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-638M-280OSX").prop("checked"))
{
jQuery("#input-638M-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-638M-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-638M-280OSX-307]").length === 0)
{
jQuery("#note-638M-280OSX").append("
(N/A with 307 )");
}
jQuery("[id^=input-638M-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-638M-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-638M-280OSX-307]").remove();
jQuery("[id^=input-638M-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-canvas_blue").change(function(){
if(jQuery("#input-canvas_blue").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-canvas_blue]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with canvas_blue - Canvas Color - Biscayne Blue (If Equipped))");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-canvas_blue]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-canvas_blue");
//alert(jQuery("[id^=input-canvas_blue]").attr("title"));
//alert(jQuery("[id^=input-canvas_blue]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-canvas_blue").prop("disabled", true);
// determine if checked
if(jQuery("#input-canvas_blue").prop("checked"))
{
jQuery("#input-canvas_blue").removeAttr("checked").change();
}
//console.log("if of reverse input-canvas_blue");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-canvas_blue-685]").length === 0)
{
jQuery("#note-canvas_blue").append("
(N/A with 685 )");
}
jQuery("[id^=input-canvas_blue]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-canvas_blue").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-canvas_blue-685]").remove();
jQuery("[id^=input-canvas_blue]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-canvas_steel").change(function(){
if(jQuery("#input-canvas_steel").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-canvas_steel]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with canvas_steel - Canvas Color - Steel Blue (If Equipped))");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-canvas_steel]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-canvas_steel");
//alert(jQuery("[id^=input-canvas_steel]").attr("title"));
//alert(jQuery("[id^=input-canvas_steel]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-canvas_steel").prop("disabled", true);
// determine if checked
if(jQuery("#input-canvas_steel").prop("checked"))
{
jQuery("#input-canvas_steel").removeAttr("checked").change();
}
//console.log("if of reverse input-canvas_steel");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-canvas_steel-685]").length === 0)
{
jQuery("#note-canvas_steel").append("
(N/A with 685 )");
}
jQuery("[id^=input-canvas_steel]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-canvas_steel").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-canvas_steel-685]").remove();
jQuery("[id^=input-canvas_steel]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-635-280OSXBLU").change(function(){
if(jQuery("#input-635-280OSXBLU").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-635-280OSXBLU]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 635-280OSXBLU - Hardtop Underside Gel Color - Biscayne Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-635-280OSXBLU]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-635-280OSXBLU");
//alert(jQuery("[id^=input-635-280OSXBLU]").attr("title"));
//alert(jQuery("[id^=input-635-280OSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-635-280OSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-635-280OSXBLU").prop("checked"))
{
jQuery("#input-635-280OSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-635-280OSXBLU");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-635-280OSXBLU-685]").length === 0)
{
jQuery("#note-635-280OSXBLU").append("
(N/A with 685 )");
}
jQuery("[id^=input-635-280OSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-635-280OSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-635-280OSXBLU-685]").remove();
jQuery("[id^=input-635-280OSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-635-280OSXGRN").change(function(){
if(jQuery("#input-635-280OSXGRN").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-635-280OSXGRN]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 635-280OSXGRN - Hardtop Underside Gel Color - Seafoam Green)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-635-280OSXGRN]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-635-280OSXGRN");
//alert(jQuery("[id^=input-635-280OSXGRN]").attr("title"));
//alert(jQuery("[id^=input-635-280OSXGRN]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-635-280OSXGRN").prop("disabled", true);
// determine if checked
if(jQuery("#input-635-280OSXGRN").prop("checked"))
{
jQuery("#input-635-280OSXGRN").removeAttr("checked").change();
}
//console.log("if of reverse input-635-280OSXGRN");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-635-280OSXGRN-685]").length === 0)
{
jQuery("#note-635-280OSXGRN").append("
(N/A with 685 )");
}
jQuery("[id^=input-635-280OSXGRN]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-635-280OSXGRN").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-635-280OSXGRN-685]").remove();
jQuery("[id^=input-635-280OSXGRN]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-635-280OSXICE").change(function(){
if(jQuery("#input-635-280OSXICE").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-635-280OSXICE]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 635-280OSXICE - Hardtop Underside Gel Color - Ice Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-635-280OSXICE]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-635-280OSXICE");
//alert(jQuery("[id^=input-635-280OSXICE]").attr("title"));
//alert(jQuery("[id^=input-635-280OSXICE]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-635-280OSXICE").prop("disabled", true);
// determine if checked
if(jQuery("#input-635-280OSXICE").prop("checked"))
{
jQuery("#input-635-280OSXICE").removeAttr("checked").change();
}
//console.log("if of reverse input-635-280OSXICE");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-635-280OSXICE-685]").length === 0)
{
jQuery("#note-635-280OSXICE").append("
(N/A with 685 )");
}
jQuery("[id^=input-635-280OSXICE]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-635-280OSXICE").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-635-280OSXICE-685]").remove();
jQuery("[id^=input-635-280OSXICE]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-635-280OSXALY").change(function(){
if(jQuery("#input-635-280OSXALY").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-635-280OSXALY]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 635-280OSXALY - Hardtop Underside Gel Color - Alloy Gray)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-635-280OSXALY]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-635-280OSXALY");
//alert(jQuery("[id^=input-635-280OSXALY]").attr("title"));
//alert(jQuery("[id^=input-635-280OSXALY]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-635-280OSXALY").prop("disabled", true);
// determine if checked
if(jQuery("#input-635-280OSXALY").prop("checked"))
{
jQuery("#input-635-280OSXALY").removeAttr("checked").change();
}
//console.log("if of reverse input-635-280OSXALY");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-635-280OSXALY-685]").length === 0)
{
jQuery("#note-635-280OSXALY").append("
(N/A with 685 )");
}
jQuery("[id^=input-635-280OSXALY]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-635-280OSXALY").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-635-280OSXALY-685]").remove();
jQuery("[id^=input-635-280OSXALY]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-635-280OSXSTL").change(function(){
if(jQuery("#input-635-280OSXSTL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-635-280OSXSTL]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 635-280OSXSTL - Hardtop Underside Gel Color - Stealth Gray)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-635-280OSXSTL]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-635-280OSXSTL");
//alert(jQuery("[id^=input-635-280OSXSTL]").attr("title"));
//alert(jQuery("[id^=input-635-280OSXSTL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-635-280OSXSTL").prop("disabled", true);
// determine if checked
if(jQuery("#input-635-280OSXSTL").prop("checked"))
{
jQuery("#input-635-280OSXSTL").removeAttr("checked").change();
}
//console.log("if of reverse input-635-280OSXSTL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-635-280OSXSTL-685]").length === 0)
{
jQuery("#note-635-280OSXSTL").append("
(N/A with 685 )");
}
jQuery("[id^=input-635-280OSXSTL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-635-280OSXSTL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-635-280OSXSTL-685]").remove();
jQuery("[id^=input-635-280OSXSTL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-635-280OSXSBL").change(function(){
if(jQuery("#input-635-280OSXSBL").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-685]");
//alert(jQuery("[id^=input-685]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-685]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-685]").prop("checked"))
{
jQuery("[id^=input-685]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685-635-280OSXSBL]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 635-280OSXSBL - Hardtop Underside Gel Color - Steel Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-635-280OSXSBL]").remove();
jQuery("[id^=input-685]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-685]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-635-280OSXSBL");
//alert(jQuery("[id^=input-635-280OSXSBL]").attr("title"));
//alert(jQuery("[id^=input-635-280OSXSBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-635-280OSXSBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-635-280OSXSBL").prop("checked"))
{
jQuery("#input-635-280OSXSBL").removeAttr("checked").change();
}
//console.log("if of reverse input-635-280OSXSBL");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-635-280OSXSBL-685]").length === 0)
{
jQuery("#note-635-280OSXSBL").append("
(N/A with 685 )");
}
jQuery("[id^=input-635-280OSXSBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-635-280OSXSBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-635-280OSXSBL-685]").remove();
jQuery("[id^=input-635-280OSXSBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642-280OSXBLK").change(function(){
if(jQuery("#input-642-280OSXBLK").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-642-280OSXBLK]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642-280OSXBLK - Tower Insert Color - Black)");
}
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-642-280OSXBLK]").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-642-280OSXBLK");
//alert(jQuery("[id^=input-642-280OSXBLK]").attr("title"));
//alert(jQuery("[id^=input-642-280OSXBLK]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642-280OSXBLK").prop("disabled", true);
// determine if checked
if(jQuery("#input-642-280OSXBLK").prop("checked"))
{
jQuery("#input-642-280OSXBLK").removeAttr("checked").change();
}
//console.log("if of reverse input-642-280OSXBLK");
//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-642-280OSXBLK-685]").length === 0)
{
jQuery("#note-642-280OSXBLK").append("
(N/A with 685 )");
}
jQuery("[id^=input-642-280OSXBLK]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642-280OSXBLK").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642-280OSXBLK-685]").remove();
jQuery("[id^=input-642-280OSXBLK]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642B-280OSXBLU").change(function(){
if(jQuery("#input-642B-280OSXBLU").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-642B-280OSXBLU]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642B-280OSXBLU - Tower Insert Color - Biscayne Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642B-280OSXBLU]").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-642B-280OSXBLU");
//alert(jQuery("[id^=input-642B-280OSXBLU]").attr("title"));
//alert(jQuery("[id^=input-642B-280OSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642B-280OSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-642B-280OSXBLU").prop("checked"))
{
jQuery("#input-642B-280OSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-642B-280OSXBLU");
//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-642B-280OSXBLU-685]").length === 0)
{
jQuery("#note-642B-280OSXBLU").append("
(N/A with 685 )");
}
jQuery("[id^=input-642B-280OSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642B-280OSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642B-280OSXBLU-685]").remove();
jQuery("[id^=input-642B-280OSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642-280OSXBLU").change(function(){
if(jQuery("#input-642-280OSXBLU").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-642-280OSXBLU]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642-280OSXBLU - Tower Insert Color - Biscayne Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642-280OSXBLU]").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-642-280OSXBLU");
//alert(jQuery("[id^=input-642-280OSXBLU]").attr("title"));
//alert(jQuery("[id^=input-642-280OSXBLU]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642-280OSXBLU").prop("disabled", true);
// determine if checked
if(jQuery("#input-642-280OSXBLU").prop("checked"))
{
jQuery("#input-642-280OSXBLU").removeAttr("checked").change();
}
//console.log("if of reverse input-642-280OSXBLU");
//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-642-280OSXBLU-685]").length === 0)
{
jQuery("#note-642-280OSXBLU").append("
(N/A with 685 )");
}
jQuery("[id^=input-642-280OSXBLU]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642-280OSXBLU").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642-280OSXBLU-685]").remove();
jQuery("[id^=input-642-280OSXBLU]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642B-280OSXWHT").change(function(){
if(jQuery("#input-642B-280OSXWHT").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-642B-280OSXWHT]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642B-280OSXWHT - Tower Insert Color - White)");
}
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-642B-280OSXWHT]").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-642B-280OSXWHT");
//alert(jQuery("[id^=input-642B-280OSXWHT]").attr("title"));
//alert(jQuery("[id^=input-642B-280OSXWHT]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642B-280OSXWHT").prop("disabled", true);
// determine if checked
if(jQuery("#input-642B-280OSXWHT").prop("checked"))
{
jQuery("#input-642B-280OSXWHT").removeAttr("checked").change();
}
//console.log("if of reverse input-642B-280OSXWHT");
//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-642B-280OSXWHT-685]").length === 0)
{
jQuery("#note-642B-280OSXWHT").append("
(N/A with 685 )");
}
jQuery("[id^=input-642B-280OSXWHT]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642B-280OSXWHT").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642B-280OSXWHT-685]").remove();
jQuery("[id^=input-642B-280OSXWHT]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642-280OSXSBL").change(function(){
if(jQuery("#input-642-280OSXSBL").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-642-280OSXSBL]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642-280OSXSBL - Tower Insert Color - Steel Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642-280OSXSBL]").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-642-280OSXSBL");
//alert(jQuery("[id^=input-642-280OSXSBL]").attr("title"));
//alert(jQuery("[id^=input-642-280OSXSBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642-280OSXSBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-642-280OSXSBL").prop("checked"))
{
jQuery("#input-642-280OSXSBL").removeAttr("checked").change();
}
//console.log("if of reverse input-642-280OSXSBL");
//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-642-280OSXSBL-685]").length === 0)
{
jQuery("#note-642-280OSXSBL").append("
(N/A with 685 )");
}
jQuery("[id^=input-642-280OSXSBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642-280OSXSBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642-280OSXSBL-685]").remove();
jQuery("[id^=input-642-280OSXSBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642B-280OSXSBL").change(function(){
if(jQuery("#input-642B-280OSXSBL").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-642B-280OSXSBL]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642B-280OSXSBL - Tower Insert Color - Steel Blue)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642B-280OSXSBL]").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-642B-280OSXSBL");
//alert(jQuery("[id^=input-642B-280OSXSBL]").attr("title"));
//alert(jQuery("[id^=input-642B-280OSXSBL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642B-280OSXSBL").prop("disabled", true);
// determine if checked
if(jQuery("#input-642B-280OSXSBL").prop("checked"))
{
jQuery("#input-642B-280OSXSBL").removeAttr("checked").change();
}
//console.log("if of reverse input-642B-280OSXSBL");
//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-642B-280OSXSBL-685]").length === 0)
{
jQuery("#note-642B-280OSXSBL").append("
(N/A with 685 )");
}
jQuery("[id^=input-642B-280OSXSBL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642B-280OSXSBL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642B-280OSXSBL-685]").remove();
jQuery("[id^=input-642B-280OSXSBL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642-280OSXALY").change(function(){
if(jQuery("#input-642-280OSXALY").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-642-280OSXALY]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642-280OSXALY - Tower Insert Color - Alloy Gray)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642-280OSXALY]").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-642-280OSXALY");
//alert(jQuery("[id^=input-642-280OSXALY]").attr("title"));
//alert(jQuery("[id^=input-642-280OSXALY]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642-280OSXALY").prop("disabled", true);
// determine if checked
if(jQuery("#input-642-280OSXALY").prop("checked"))
{
jQuery("#input-642-280OSXALY").removeAttr("checked").change();
}
//console.log("if of reverse input-642-280OSXALY");
//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-642-280OSXALY-685]").length === 0)
{
jQuery("#note-642-280OSXALY").append("
(N/A with 685 )");
}
jQuery("[id^=input-642-280OSXALY]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642-280OSXALY").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642-280OSXALY-685]").remove();
jQuery("[id^=input-642-280OSXALY]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642B-280OSXALY").change(function(){
if(jQuery("#input-642B-280OSXALY").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-642B-280OSXALY]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642B-280OSXALY - Tower Insert Color - Alloy Gray)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642B-280OSXALY]").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-642B-280OSXALY");
//alert(jQuery("[id^=input-642B-280OSXALY]").attr("title"));
//alert(jQuery("[id^=input-642B-280OSXALY]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642B-280OSXALY").prop("disabled", true);
// determine if checked
if(jQuery("#input-642B-280OSXALY").prop("checked"))
{
jQuery("#input-642B-280OSXALY").removeAttr("checked").change();
}
//console.log("if of reverse input-642B-280OSXALY");
//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-642B-280OSXALY-685]").length === 0)
{
jQuery("#note-642B-280OSXALY").append("
(N/A with 685 )");
}
jQuery("[id^=input-642B-280OSXALY]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642B-280OSXALY").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642B-280OSXALY-685]").remove();
jQuery("[id^=input-642B-280OSXALY]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642B-280OSXSTL").change(function(){
if(jQuery("#input-642B-280OSXSTL").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-642B-280OSXSTL]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642B-280OSXSTL - Tower Insert Color - Stealth Gray)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642B-280OSXSTL]").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-642B-280OSXSTL");
//alert(jQuery("[id^=input-642B-280OSXSTL]").attr("title"));
//alert(jQuery("[id^=input-642B-280OSXSTL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642B-280OSXSTL").prop("disabled", true);
// determine if checked
if(jQuery("#input-642B-280OSXSTL").prop("checked"))
{
jQuery("#input-642B-280OSXSTL").removeAttr("checked").change();
}
//console.log("if of reverse input-642B-280OSXSTL");
//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-642B-280OSXSTL-685]").length === 0)
{
jQuery("#note-642B-280OSXSTL").append("
(N/A with 685 )");
}
jQuery("[id^=input-642B-280OSXSTL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642B-280OSXSTL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642B-280OSXSTL-685]").remove();
jQuery("[id^=input-642B-280OSXSTL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-642-280OSXSTL").change(function(){
if(jQuery("#input-642-280OSXSTL").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-642-280OSXSTL]").length === 0)
{
jQuery("[id^=note-685]").append("
(N/A with 642-280OSXSTL - Tower Insert Color - Stealth Gray)");
}
jQuery("[id^=input-685]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-685]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685-642-280OSXSTL]").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-642-280OSXSTL");
//alert(jQuery("[id^=input-642-280OSXSTL]").attr("title"));
//alert(jQuery("[id^=input-642-280OSXSTL]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-642-280OSXSTL").prop("disabled", true);
// determine if checked
if(jQuery("#input-642-280OSXSTL").prop("checked"))
{
jQuery("#input-642-280OSXSTL").removeAttr("checked").change();
}
//console.log("if of reverse input-642-280OSXSTL");
//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-642-280OSXSTL-685]").length === 0)
{
jQuery("#note-642-280OSXSTL").append("
(N/A with 685 )");
}
jQuery("[id^=input-642-280OSXSTL]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-642-280OSXSTL").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-642-280OSXSTL-685]").remove();
jQuery("[id^=input-642-280OSXSTL]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950]");
//alert(jQuery("[id^=input-950]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950]").prop("checked"))
{
jQuery("[id^=input-950]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-685B-280OSX]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685B-280OSX - Black Edition Package - Blank Engine Only)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685B-280OSX]").remove();
jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685B-280OSX");
//alert(jQuery("[id^=input-685B-280OSX]").attr("title"));
//alert(jQuery("[id^=input-685B-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685B-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-685B-280OSX").prop("checked"))
{
jQuery("#input-685B-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-685B-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685B-280OSX-950]").length === 0)
{
jQuery("#note-685B-280OSX").append("
(N/A with 950 )");
}
jQuery("[id^=input-685B-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685B-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685B-280OSX-950]").remove();
jQuery("[id^=input-685B-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685B-280OSX").change(function(){
if(jQuery("#input-685B-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-951]");
//alert(jQuery("[id^=input-951]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-951]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-951]").prop("checked"))
{
jQuery("[id^=input-951]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-951-685B-280OSX]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685B-280OSX - Black Edition Package - Blank Engine Only)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685B-280OSX]").remove();
jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-951]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685B-280OSX");
//alert(jQuery("[id^=input-685B-280OSX]").attr("title"));
//alert(jQuery("[id^=input-685B-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685B-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-685B-280OSX").prop("checked"))
{
jQuery("#input-685B-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-685B-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685B-280OSX-951]").length === 0)
{
jQuery("#note-685B-280OSX").append("
(N/A with 951 )");
}
jQuery("[id^=input-685B-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685B-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685B-280OSX-951]").remove();
jQuery("[id^=input-685B-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").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-280OSX]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685M-280OSX - Black Edition Package - Mercury)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685M-280OSX]").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-280OSX");
//alert(jQuery("[id^=input-685M-280OSX]").attr("title"));
//alert(jQuery("[id^=input-685M-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685M-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-685M-280OSX").prop("checked"))
{
jQuery("#input-685M-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-685M-280OSX");
//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-280OSX-950]").length === 0)
{
jQuery("#note-685M-280OSX").append("
(N/A with 950 )");
}
jQuery("[id^=input-685M-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685M-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685M-280OSX-950]").remove();
jQuery("[id^=input-685M-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685M-280OSX").change(function(){
if(jQuery("#input-685M-280OSX").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-280OSX]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685M-280OSX - Black Edition Package - Mercury)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685M-280OSX]").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-280OSX");
//alert(jQuery("[id^=input-685M-280OSX]").attr("title"));
//alert(jQuery("[id^=input-685M-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685M-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-685M-280OSX").prop("checked"))
{
jQuery("#input-685M-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-685M-280OSX");
//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-280OSX-951]").length === 0)
{
jQuery("#note-685M-280OSX").append("
(N/A with 951 )");
}
jQuery("[id^=input-685M-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685M-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685M-280OSX-951]").remove();
jQuery("[id^=input-685M-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-950]");
//alert(jQuery("[id^=input-950]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-950]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-950]").prop("checked"))
{
jQuery("[id^=input-950]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-950-685Y-280OSX]").length === 0)
{
jQuery("[id^=note-950]").append("
(N/A with 685Y-280OSX - Black Edition Package - Yamaha)");
}
jQuery("[id^=input-950]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-950]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-950-685Y-280OSX]").remove();
jQuery("[id^=input-950]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-950]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685Y-280OSX");
//alert(jQuery("[id^=input-685Y-280OSX]").attr("title"));
//alert(jQuery("[id^=input-685Y-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685Y-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-685Y-280OSX").prop("checked"))
{
jQuery("#input-685Y-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-685Y-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685Y-280OSX-950]").length === 0)
{
jQuery("#note-685Y-280OSX").append("
(N/A with 950 )");
}
jQuery("[id^=input-685Y-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685Y-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685Y-280OSX-950]").remove();
jQuery("[id^=input-685Y-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-685Y-280OSX").change(function(){
if(jQuery("#input-685Y-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-951]");
//alert(jQuery("[id^=input-951]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-951]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-951]").prop("checked"))
{
jQuery("[id^=input-951]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-951-685Y-280OSX]").length === 0)
{
jQuery("[id^=note-951]").append("
(N/A with 685Y-280OSX - Black Edition Package - Yamaha)");
}
jQuery("[id^=input-951]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-951]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-951-685Y-280OSX]").remove();
jQuery("[id^=input-951]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-951]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-685Y-280OSX");
//alert(jQuery("[id^=input-685Y-280OSX]").attr("title"));
//alert(jQuery("[id^=input-685Y-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-685Y-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-685Y-280OSX").prop("checked"))
{
jQuery("#input-685Y-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-685Y-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-685Y-280OSX-951]").length === 0)
{
jQuery("#note-685Y-280OSX").append("
(N/A with 951 )");
}
jQuery("[id^=input-685Y-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-685Y-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-685Y-280OSX-951]").remove();
jQuery("[id^=input-685Y-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-512-280OSX").change(function(){
if(jQuery("#input-512-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-638]");
//alert(jQuery("[id^=input-638]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-638]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-638]").prop("checked"))
{
jQuery("[id^=input-638]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-638-512-280OSX]").length === 0)
{
jQuery("[id^=note-638]").append("
(N/A with 512-280OSX - JL Audio Sound System Upgrade)");
}
jQuery("[id^=input-638]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-638]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-638-512-280OSX]").remove();
jQuery("[id^=input-638]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-638]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-512-280OSX");
//alert(jQuery("[id^=input-512-280OSX]").attr("title"));
//alert(jQuery("[id^=input-512-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-512-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-512-280OSX").prop("checked"))
{
jQuery("#input-512-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-512-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-512-280OSX-638]").length === 0)
{
jQuery("#note-512-280OSX").append("
(N/A with 638 )");
}
jQuery("[id^=input-512-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-512-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-512-280OSX-638]").remove();
jQuery("[id^=input-512-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-592D-280OSX").change(function(){
if(jQuery("#input-592D-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-744]");
//alert(jQuery("[id^=input-744]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-744]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-744]").prop("checked"))
{
jQuery("[id^=input-744]").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-744-592D-280OSX]").length === 0)
{
jQuery("[id^=note-744]").append("
(N/A with 592D-280OSX - Seadek Swim Platform Mat - Dune)");
}
jQuery("[id^=input-744]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-744]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-744-592D-280OSX]").remove();
jQuery("[id^=input-744]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-744]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-592D-280OSX");
//alert(jQuery("[id^=input-592D-280OSX]").attr("title"));
//alert(jQuery("[id^=input-592D-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-592D-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-592D-280OSX").prop("checked"))
{
jQuery("#input-592D-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-592D-280OSX");
//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-592D-280OSX-744]").length === 0)
{
jQuery("#note-592D-280OSX").append("
(N/A with 744 )");
}
jQuery("[id^=input-592D-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-592D-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592D-280OSX-744]").remove();
jQuery("[id^=input-592D-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-592S-280OSX").change(function(){
if(jQuery("#input-592S-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-744]");
//alert(jQuery("[id^=input-744]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-744]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-744]").prop("checked"))
{
jQuery("[id^=input-744]").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-744-592S-280OSX]").length === 0)
{
jQuery("[id^=note-744]").append("
(N/A with 592S-280OSX - Seadek Swim Platform Mat - Slate)");
}
jQuery("[id^=input-744]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-744]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-744-592S-280OSX]").remove();
jQuery("[id^=input-744]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-744]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-592S-280OSX");
//alert(jQuery("[id^=input-592S-280OSX]").attr("title"));
//alert(jQuery("[id^=input-592S-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-592S-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-592S-280OSX").prop("checked"))
{
jQuery("#input-592S-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-592S-280OSX");
//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-592S-280OSX-744]").length === 0)
{
jQuery("#note-592S-280OSX").append("
(N/A with 744 )");
}
jQuery("[id^=input-592S-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-592S-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592S-280OSX-744]").remove();
jQuery("[id^=input-592S-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-592C-280OSX").change(function(){
if(jQuery("#input-592C-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-744]");
//alert(jQuery("[id^=input-744]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-744]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-744]").prop("checked"))
{
jQuery("[id^=input-744]").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-744-592C-280OSX]").length === 0)
{
jQuery("[id^=note-744]").append("
(N/A with 592C-280OSX - Seadek Swim Platform Mat - Cayenne)");
}
jQuery("[id^=input-744]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-744]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-744-592C-280OSX]").remove();
jQuery("[id^=input-744]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-744]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-592C-280OSX");
//alert(jQuery("[id^=input-592C-280OSX]").attr("title"));
//alert(jQuery("[id^=input-592C-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-592C-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-592C-280OSX").prop("checked"))
{
jQuery("#input-592C-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-592C-280OSX");
//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-592C-280OSX-744]").length === 0)
{
jQuery("#note-592C-280OSX").append("
(N/A with 744 )");
}
jQuery("[id^=input-592C-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-592C-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592C-280OSX-744]").remove();
jQuery("[id^=input-592C-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704D-280OSX").change(function(){
if(jQuery("#input-704D-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592S-]");
//alert(jQuery("[id^=input-592S-]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592S-]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592S-]").prop("checked"))
{
jQuery("[id^=input-592S-]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-592S--704D-280OSX]").length === 0)
{
jQuery("[id^=note-592S-]").append("
(N/A with 704D-280OSX - Snap-In Seadek Cockpit Flooring - Dune)");
}
jQuery("[id^=input-592S-]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592S-]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592S--704D-280OSX]").remove();
jQuery("[id^=input-592S-]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592S-]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704D-280OSX");
//alert(jQuery("[id^=input-704D-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704D-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704D-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704D-280OSX").prop("checked"))
{
jQuery("#input-704D-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704D-280OSX");
//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-704D-280OSX-592S-]").length === 0)
{
jQuery("#note-704D-280OSX").append("
(N/A with 592S- )");
}
jQuery("[id^=input-704D-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704D-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704D-280OSX-592S-]").remove();
jQuery("[id^=input-704D-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704D-280OSX").change(function(){
if(jQuery("#input-704D-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592STS]");
//alert(jQuery("[id^=input-592STS]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592STS]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592STS]").prop("checked"))
{
jQuery("[id^=input-592STS]").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-592STS-704D-280OSX]").length === 0)
{
jQuery("[id^=note-592STS]").append("
(N/A with 704D-280OSX - Snap-In Seadek Cockpit Flooring - Dune)");
}
jQuery("[id^=input-592STS]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592STS]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592STS-704D-280OSX]").remove();
jQuery("[id^=input-592STS]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592STS]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704D-280OSX");
//alert(jQuery("[id^=input-704D-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704D-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704D-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704D-280OSX").prop("checked"))
{
jQuery("#input-704D-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704D-280OSX");
//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-704D-280OSX-592STS]").length === 0)
{
jQuery("#note-704D-280OSX").append("
(N/A with 592STS )");
}
jQuery("[id^=input-704D-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704D-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704D-280OSX-592STS]").remove();
jQuery("[id^=input-704D-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704D-280OSX").change(function(){
if(jQuery("#input-704D-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592C]");
//alert(jQuery("[id^=input-592C]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592C]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592C]").prop("checked"))
{
jQuery("[id^=input-592C]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-592C-704D-280OSX]").length === 0)
{
jQuery("[id^=note-592C]").append("
(N/A with 704D-280OSX - Snap-In Seadek Cockpit Flooring - Dune)");
}
jQuery("[id^=input-592C]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592C]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592C-704D-280OSX]").remove();
jQuery("[id^=input-592C]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592C]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704D-280OSX");
//alert(jQuery("[id^=input-704D-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704D-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704D-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704D-280OSX").prop("checked"))
{
jQuery("#input-704D-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704D-280OSX");
//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-704D-280OSX-592C]").length === 0)
{
jQuery("#note-704D-280OSX").append("
(N/A with 592C )");
}
jQuery("[id^=input-704D-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704D-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704D-280OSX-592C]").remove();
jQuery("[id^=input-704D-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704D-280OSX").change(function(){
if(jQuery("#input-704D-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592STC]");
//alert(jQuery("[id^=input-592STC]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592STC]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592STC]").prop("checked"))
{
jQuery("[id^=input-592STC]").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-592STC-704D-280OSX]").length === 0)
{
jQuery("[id^=note-592STC]").append("
(N/A with 704D-280OSX - Snap-In Seadek Cockpit Flooring - Dune)");
}
jQuery("[id^=input-592STC]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592STC]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592STC-704D-280OSX]").remove();
jQuery("[id^=input-592STC]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592STC]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704D-280OSX");
//alert(jQuery("[id^=input-704D-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704D-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704D-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704D-280OSX").prop("checked"))
{
jQuery("#input-704D-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704D-280OSX");
//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-704D-280OSX-592STC]").length === 0)
{
jQuery("#note-704D-280OSX").append("
(N/A with 592STC )");
}
jQuery("[id^=input-704D-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704D-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704D-280OSX-592STC]").remove();
jQuery("[id^=input-704D-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704S-280OSX").change(function(){
if(jQuery("#input-704S-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592D]");
//alert(jQuery("[id^=input-592D]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592D]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592D]").prop("checked"))
{
jQuery("[id^=input-592D]").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-592D-704S-280OSX]").length === 0)
{
jQuery("[id^=note-592D]").append("
(N/A with 704S-280OSX - Snap-In Seadek Cockpit Flooring - Slate)");
}
jQuery("[id^=input-592D]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592D]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592D-704S-280OSX]").remove();
jQuery("[id^=input-592D]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592D]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704S-280OSX");
//alert(jQuery("[id^=input-704S-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704S-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704S-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704S-280OSX").prop("checked"))
{
jQuery("#input-704S-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704S-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704S-280OSX-592D]").length === 0)
{
jQuery("#note-704S-280OSX").append("
(N/A with 592D )");
}
jQuery("[id^=input-704S-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704S-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704S-280OSX-592D]").remove();
jQuery("[id^=input-704S-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704S-280OSX").change(function(){
if(jQuery("#input-704S-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592STD]");
//alert(jQuery("[id^=input-592STD]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592STD]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592STD]").prop("checked"))
{
jQuery("[id^=input-592STD]").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-592STD-704S-280OSX]").length === 0)
{
jQuery("[id^=note-592STD]").append("
(N/A with 704S-280OSX - Snap-In Seadek Cockpit Flooring - Slate)");
}
jQuery("[id^=input-592STD]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592STD]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592STD-704S-280OSX]").remove();
jQuery("[id^=input-592STD]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592STD]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704S-280OSX");
//alert(jQuery("[id^=input-704S-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704S-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704S-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704S-280OSX").prop("checked"))
{
jQuery("#input-704S-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704S-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704S-280OSX-592STD]").length === 0)
{
jQuery("#note-704S-280OSX").append("
(N/A with 592STD )");
}
jQuery("[id^=input-704S-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704S-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704S-280OSX-592STD]").remove();
jQuery("[id^=input-704S-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704S-280OSX").change(function(){
if(jQuery("#input-704S-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592C]");
//alert(jQuery("[id^=input-592C]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592C]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592C]").prop("checked"))
{
jQuery("[id^=input-592C]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-592C-704S-280OSX]").length === 0)
{
jQuery("[id^=note-592C]").append("
(N/A with 704S-280OSX - Snap-In Seadek Cockpit Flooring - Slate)");
}
jQuery("[id^=input-592C]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592C]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592C-704S-280OSX]").remove();
jQuery("[id^=input-592C]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592C]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704S-280OSX");
//alert(jQuery("[id^=input-704S-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704S-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704S-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704S-280OSX").prop("checked"))
{
jQuery("#input-704S-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704S-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704S-280OSX-592C]").length === 0)
{
jQuery("#note-704S-280OSX").append("
(N/A with 592C )");
}
jQuery("[id^=input-704S-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704S-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704S-280OSX-592C]").remove();
jQuery("[id^=input-704S-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704S-280OSX").change(function(){
if(jQuery("#input-704S-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592STC]");
//alert(jQuery("[id^=input-592STC]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592STC]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592STC]").prop("checked"))
{
jQuery("[id^=input-592STC]").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-592STC-704S-280OSX]").length === 0)
{
jQuery("[id^=note-592STC]").append("
(N/A with 704S-280OSX - Snap-In Seadek Cockpit Flooring - Slate)");
}
jQuery("[id^=input-592STC]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592STC]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592STC-704S-280OSX]").remove();
jQuery("[id^=input-592STC]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592STC]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704S-280OSX");
//alert(jQuery("[id^=input-704S-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704S-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704S-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704S-280OSX").prop("checked"))
{
jQuery("#input-704S-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704S-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704S-280OSX-592STC]").length === 0)
{
jQuery("#note-704S-280OSX").append("
(N/A with 592STC )");
}
jQuery("[id^=input-704S-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704S-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704S-280OSX-592STC]").remove();
jQuery("[id^=input-704S-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704C-280OSX").change(function(){
if(jQuery("#input-704C-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592S-]");
//alert(jQuery("[id^=input-592S-]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592S-]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592S-]").prop("checked"))
{
jQuery("[id^=input-592S-]").prop("checked",false).change();
}
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-592S--704C-280OSX]").length === 0)
{
jQuery("[id^=note-592S-]").append("
(N/A with 704C-280OSX - Snap-In Seadek Cockpit Flooring - Cayenne)");
}
jQuery("[id^=input-592S-]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592S-]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592S--704C-280OSX]").remove();
jQuery("[id^=input-592S-]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592S-]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704C-280OSX");
//alert(jQuery("[id^=input-704C-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704C-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704C-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704C-280OSX").prop("checked"))
{
jQuery("#input-704C-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704C-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704C-280OSX-592S-]").length === 0)
{
jQuery("#note-704C-280OSX").append("
(N/A with 592S- )");
}
jQuery("[id^=input-704C-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704C-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704C-280OSX-592S-]").remove();
jQuery("[id^=input-704C-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704C-280OSX").change(function(){
if(jQuery("#input-704C-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592STS]");
//alert(jQuery("[id^=input-592STS]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592STS]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592STS]").prop("checked"))
{
jQuery("[id^=input-592STS]").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-592STS-704C-280OSX]").length === 0)
{
jQuery("[id^=note-592STS]").append("
(N/A with 704C-280OSX - Snap-In Seadek Cockpit Flooring - Cayenne)");
}
jQuery("[id^=input-592STS]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592STS]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592STS-704C-280OSX]").remove();
jQuery("[id^=input-592STS]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592STS]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704C-280OSX");
//alert(jQuery("[id^=input-704C-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704C-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704C-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704C-280OSX").prop("checked"))
{
jQuery("#input-704C-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704C-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704C-280OSX-592STS]").length === 0)
{
jQuery("#note-704C-280OSX").append("
(N/A with 592STS )");
}
jQuery("[id^=input-704C-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704C-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704C-280OSX-592STS]").remove();
jQuery("[id^=input-704C-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704C-280OSX").change(function(){
if(jQuery("#input-704C-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592D]");
//alert(jQuery("[id^=input-592D]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592D]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592D]").prop("checked"))
{
jQuery("[id^=input-592D]").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-592D-704C-280OSX]").length === 0)
{
jQuery("[id^=note-592D]").append("
(N/A with 704C-280OSX - Snap-In Seadek Cockpit Flooring - Cayenne)");
}
jQuery("[id^=input-592D]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592D]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592D-704C-280OSX]").remove();
jQuery("[id^=input-592D]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592D]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704C-280OSX");
//alert(jQuery("[id^=input-704C-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704C-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704C-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704C-280OSX").prop("checked"))
{
jQuery("#input-704C-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704C-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704C-280OSX-592D]").length === 0)
{
jQuery("#note-704C-280OSX").append("
(N/A with 592D )");
}
jQuery("[id^=input-704C-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704C-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704C-280OSX-592D]").remove();
jQuery("[id^=input-704C-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
jQuery("#input-704C-280OSX").change(function(){
if(jQuery("#input-704C-280OSX").prop("checked"))
{
//alert("na_with here");
//alert("[id^=input-592STD]");
//alert(jQuery("[id^=input-592STD]").attr("title"));
// disable the includes and unchecks it
jQuery("[id^=input-592STD]").prop("disabled", true);
// determine if already checked
if(jQuery("[id^=input-592STD]").prop("checked"))
{
jQuery("[id^=input-592STD]").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-592STD-704C-280OSX]").length === 0)
{
jQuery("[id^=note-592STD]").append("
(N/A with 704C-280OSX - Snap-In Seadek Cockpit Flooring - Cayenne)");
}
jQuery("[id^=input-592STD]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("[id^=input-592STD]").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-592STD-704C-280OSX]").remove();
jQuery("[id^=input-592STD]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
// reverse
jQuery("[id^=input-592STD]").change(function(){
if(jQuery(this).prop("checked"))
{
//alert("input-704C-280OSX");
//alert(jQuery("[id^=input-704C-280OSX]").attr("title"));
//alert(jQuery("[id^=input-704C-280OSX]").is(":checked"));
// disable the includes and unchecks it
jQuery("#input-704C-280OSX").prop("disabled", true);
// determine if checked
if(jQuery("#input-704C-280OSX").prop("checked"))
{
jQuery("#input-704C-280OSX").removeAttr("checked").change();
}
//console.log("if of reverse input-704C-280OSX");
//alert("shoudl be disabled");
// add a note to the disable option to tell why this is disabled and not available
if(jQuery("[id^=note-single-na_with-704C-280OSX-592STD]").length === 0)
{
jQuery("#note-704C-280OSX").append("
(N/A with 592STD )");
}
jQuery("[id^=input-704C-280OSX]").parent().parent().addClass("byb_option_red");
}
// here we reverse out everything from above
else
{
// enable the na with
jQuery("#input-704C-280OSX").prop("disabled",false);
// remove the option note
jQuery("[id^=note-single-na_with-704C-280OSX-592STD]").remove();
jQuery("[id^=input-704C-280OSX]").parent().parent().removeClass("byb_option_red");
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ jQuery("#input-979-280OSXBE").change(function(){
if(jQuery("#input-979-280OSXBE").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-979-280OSXBE]").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-280OSXBE]").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);
}
else if(jQuery("[id^=input-535]").prop("type") == "radio"){
// here we have a radio group
// disable the entire group
//jQuery("input[name=jQuery("input[id^=input-535]").attr("name")]").attr("disabled",true);
var temp_name = "";
temp_name = jQuery("input[id^=input-535]").attr("name");
console.log(temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",true);
// enable this option
jQuery("[id^=input-535]").prop("disabled", false);
}
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-280OSXBE-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-280OSXBE]").hide();
jQuery("[id^=note-single-required-by-979-280OSXBE]").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-280OSXBE]").remove();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-535]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-535]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-979-280OSXBE").change(function(){
if(jQuery("#input-979-280OSXBE").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-979-280OSXBE]").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-280OSXBE]").hide();
jQuery("[id^=note-single-required-by-979-280OSXBE]").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-280OSXBE]").remove();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-535]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-535]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // 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);
}
else if(jQuery("[id^=input-979]").prop("type") == "radio"){
// here we have a radio group
// disable the entire group
//jQuery("input[name=jQuery("input[id^=input-979]").attr("name")]").attr("disabled",true);
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log(temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",true);
// enable this option
jQuery("[id^=input-979]").prop("disabled", false);
}
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();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-677CW-280OSX").change(function(){
if(jQuery("#input-677CW-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-677CW-280OSX]").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-677CW-280OSX]").hide();
jQuery("[id^=note-single-required-by-677CW-280OSX]").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();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-677C-280OSX").change(function(){
if(jQuery("#input-677C-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-677C-280OSX]").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-677C-280OSX]").hide();
jQuery("[id^=note-single-required-by-677C-280OSX]").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();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-676CW-280OSX").change(function(){
if(jQuery("#input-676CW-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-676CW-280OSX]").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-676CW-280OSX]").hide();
jQuery("[id^=note-single-required-by-676CW-280OSX]").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();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-535-280OSX").change(function(){
if(jQuery("#input-535-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-535-280OSX]").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-280OSX]").hide();
jQuery("[id^=note-single-required-by-535-280OSX]").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();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-535-280OSX").change(function(){
if(jQuery("#input-535-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-535-280OSX]").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-280OSX]").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);
}
else if(jQuery("[id^=input-979]").prop("type") == "radio"){
// here we have a radio group
// disable the entire group
//jQuery("input[name=jQuery("input[id^=input-979]").attr("name")]").attr("disabled",true);
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log(temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",true);
// enable this option
jQuery("[id^=input-979]").prop("disabled", false);
}
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-280OSX-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-280OSX]").hide();
jQuery("[id^=note-single-required-by-535-280OSX]").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-280OSX]").remove();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-592STS-280OSX").change(function(){
if(jQuery("#input-592STS-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-592STS-280OSX]").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-592STS-280OSX]").hide();
jQuery("[id^=note-single-required-by-592STS-280OSX]").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-280OSX]").remove();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-592STD-280OSX").change(function(){
if(jQuery("#input-592STD-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-592STD-280OSX]").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-592STD-280OSX]").hide();
jQuery("[id^=note-single-required-by-592STD-280OSX]").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-280OSX]").remove();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
jQuery("#input-592STC-280OSX").change(function(){
if(jQuery("#input-592STC-280OSX").prop("checked"))
{
// set a note for this option that other options are required
jQuery("[id^=note-single-requires-592STC-280OSX]").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-592STC-280OSX]").hide();
jQuery("[id^=note-single-required-by-592STC-280OSX]").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-280OSX]").remove();
// if this is a radio group we need to re-enable it
if(jQuery("[id^=input-979]").prop("type") == "radio"){
// enable the entire group
var temp_name = "";
temp_name = jQuery("input[id^=input-979]").attr("name");
console.log("z-"+temp_name);
jQuery("input[name="+temp_name+"]").attr("disabled",false);
}
}
}); // end click listener
}); // end of document ready
jQuery(document).ready(function(){ option_group_data["950-280OSXALY"] = {}; option_group_data["950-280OSXALY"]["part_groups"] = new Array();
option_group_data["950-280OSXALY"]["part_groups"].push("30");
option_group_data["950-280OSXALY"]["part_groups"].push("72");
option_group_data["950-280OSXSTL"] = {}; option_group_data["950-280OSXSTL"]["part_groups"] = new Array();
option_group_data["950-280OSXSTL"]["part_groups"].push("70");
option_group_data["950-280OSXSTL"]["part_groups"].push("72");
option_group_data["950-280OSXWHT"] = {}; option_group_data["950-280OSXWHT"]["part_groups"] = new Array();
option_group_data["950-280OSXWHT"]["part_groups"].push("50");
option_group_data["950-280OSXWHT"]["part_groups"].push("72");
option_group_data["950-280OSXGRN"] = {}; option_group_data["950-280OSXGRN"]["part_groups"] = new Array();
option_group_data["950-280OSXGRN"]["part_groups"].push("40");
option_group_data["950-280OSXGRN"]["part_groups"].push("75");
option_group_data["950-280OSXBLK"] = {}; option_group_data["950-280OSXBLK"]["part_groups"] = new Array();
option_group_data["950-280OSXBLK"]["part_groups"].push("10");
option_group_data["950-280OSXBLK"]["part_groups"].push("72");
option_group_data["950-280OSXICE"] = {}; option_group_data["950-280OSXICE"]["part_groups"] = new Array();
option_group_data["950-280OSXICE"]["part_groups"].push("60");
option_group_data["950-280OSXICE"]["part_groups"].push("76");
option_group_data["950-280OSXSBL"] = {}; option_group_data["950-280OSXSBL"]["part_groups"] = new Array();
option_group_data["950-280OSXSBL"]["part_groups"].push("73");
option_group_data["950-280OSXBLU"] = {}; option_group_data["950-280OSXBLU"]["part_groups"] = new Array();
option_group_data["950-280OSXBLU"]["part_groups"].push("20");
option_group_data["950-280OSXBLU"]["part_groups"].push("74");
option_group_data["349-280OSX"] = {}; option_group_data["349-280OSX"]["part_groups"] = new Array();
option_group_data["349-280OSX"]["part_groups"].push("6");
option_group_data["372-280OSX"] = {}; option_group_data["372-280OSX"]["part_groups"] = new Array();
option_group_data["372-280OSX"]["part_groups"].push("5");
option_group_data["397-280OSX"] = {}; option_group_data["397-280OSX"]["part_groups"] = new Array();
option_group_data["397-280OSX"]["part_groups"].push("11");
option_group_data["677CW-280OSX"] = {}; option_group_data["677CW-280OSX"]["available_with"] = new Array();
option_group_data["677CW-280OSX"]["available_with_compound"] = new Array();
option_group_data["677CW-280OSX"]["available_with"].push("11");
option_group_data["677C-280OSX"] = {}; option_group_data["677C-280OSX"]["available_with"] = new Array();
option_group_data["677C-280OSX"]["available_with_compound"] = new Array();
option_group_data["677C-280OSX"]["available_with"].push("5");
option_group_data["677W-280OSX"] = {}; option_group_data["677W-280OSX"]["available_with"] = new Array();
option_group_data["677W-280OSX"]["available_with_compound"] = new Array();
option_group_data["677W-280OSX"]["available_with"].push("11");
option_group_data["677-280OSX"] = {}; option_group_data["677-280OSX"]["available_with"] = new Array();
option_group_data["677-280OSX"]["available_with_compound"] = new Array();
option_group_data["677-280OSX"]["available_with"].push("5");
option_group_data["676CW-280OSX"] = {}; option_group_data["676CW-280OSX"]["available_with"] = new Array();
option_group_data["676CW-280OSX"]["available_with_compound"] = new Array();
option_group_data["676CW-280OSX"]["available_with"].push("6");
option_group_data["676W-280OSX"] = {}; option_group_data["676W-280OSX"]["available_with"] = new Array();
option_group_data["676W-280OSX"]["available_with_compound"] = new Array();
option_group_data["676W-280OSX"]["available_with"].push("6");
option_group_data["532-280OSX"] = {}; option_group_data["532-280OSX"]["part_groups"] = new Array();
option_group_data["532-280OSX"]["part_groups"].push("21");
option_group_data["532-280OSX"]["part_groups"].push("96");
option_group_data["643-280OSX"] = {}; option_group_data["643-280OSX"]["part_groups"] = new Array();
option_group_data["643-280OSX"]["part_groups"].push("22");
option_group_data["643-280OSX"]["part_groups"].push("96");
option_group_data["644-280OSX"] = {}; option_group_data["644-280OSX"]["part_groups"] = new Array();
option_group_data["644-280OSX"]["part_groups"].push("24");
option_group_data["644-280OSX"]["part_groups"].push("96");
option_group_data["778-280OSX"] = {}; option_group_data["778-280OSX"]["part_groups"] = new Array();
option_group_data["778-280OSX"]["part_groups"].push("23");
option_group_data["778-280OSX"]["part_groups"].push("96");
option_group_data["663-280OSX"] = {}; option_group_data["663-280OSX"]["part_groups"] = new Array();
option_group_data["663-280OSX"]["part_groups"].push("25");
option_group_data["663-280OSX"]["part_groups"].push("96");
option_group_data["535-280OSX"] = {}; option_group_data["535-280OSX"]["part_groups"] = new Array();
option_group_data["535-280OSX"]["part_groups"].push("27");
option_group_data["535-280OSX"]["part_groups"].push("97");
option_group_data["638B-280OSX"] = {}; option_group_data["638B-280OSX"]["part_groups"] = new Array();
option_group_data["638B-280OSX"]["available_with"] = new Array();
option_group_data["638B-280OSX"]["available_with_compound"] = new Array();
option_group_data["638B-280OSX"]["part_groups"].push("27");
option_group_data["638B-280OSX"]["part_groups"].push("95");
option_group_data["638B-280OSX"]["part_groups"].push("97");
option_group_data["638B-280OSX"]["available_with"].push("18");
option_group_data["638Y-280OSX"] = {}; option_group_data["638Y-280OSX"]["part_groups"] = new Array();
option_group_data["638Y-280OSX"]["part_groups"].push("27");
option_group_data["638Y-280OSX"]["part_groups"].push("95");
option_group_data["638Y-280OSX"]["part_groups"].push("97");
option_group_data["638M-280OSX"] = {}; option_group_data["638M-280OSX"]["part_groups"] = new Array();
option_group_data["638M-280OSX"]["part_groups"].push("27");
option_group_data["638M-280OSX"]["part_groups"].push("95");
option_group_data["638M-280OSX"]["part_groups"].push("97");
option_group_data["STANDARD_ARCH"] = {}; option_group_data["STANDARD_ARCH"]["part_groups"] = new Array();
option_group_data["STANDARD_ARCH"]["part_groups"].push("3");
option_group_data["731B-280OSX"] = {}; option_group_data["731B-280OSX"]["part_groups"] = new Array();
option_group_data["731B-280OSX"]["part_groups"].push("4");
option_group_data["642-280OSXBLK"] = {}; option_group_data["642-280OSXBLK"]["available_with"] = new Array();
option_group_data["642-280OSXBLK"]["available_with_compound"] = new Array();
option_group_data["642-280OSXBLK"]["available_with"].push("3");
option_group_data["642B-280OSXBLU"] = {}; option_group_data["642B-280OSXBLU"]["available_with"] = new Array();
option_group_data["642B-280OSXBLU"]["available_with_compound"] = new Array();
option_group_data["642B-280OSXBLU"]["available_with"].push("4");
option_group_data["642-280OSXBLU"] = {}; option_group_data["642-280OSXBLU"]["available_with"] = new Array();
option_group_data["642-280OSXBLU"]["available_with_compound"] = new Array();
option_group_data["642-280OSXBLU"]["available_with"].push("3");
option_group_data["642B-280OSXWHT"] = {}; option_group_data["642B-280OSXWHT"]["available_with"] = new Array();
option_group_data["642B-280OSXWHT"]["available_with_compound"] = new Array();
option_group_data["642B-280OSXWHT"]["available_with"].push("4");
option_group_data["642-280OSXSBL"] = {}; option_group_data["642-280OSXSBL"]["available_with"] = new Array();
option_group_data["642-280OSXSBL"]["available_with_compound"] = new Array();
option_group_data["642-280OSXSBL"]["available_with"].push("3");
option_group_data["642B-280OSXSBL"] = {}; option_group_data["642B-280OSXSBL"]["available_with"] = new Array();
option_group_data["642B-280OSXSBL"]["available_with_compound"] = new Array();
option_group_data["642B-280OSXSBL"]["available_with"].push("4");
option_group_data["642-280OSXALY"] = {}; option_group_data["642-280OSXALY"]["available_with"] = new Array();
option_group_data["642-280OSXALY"]["available_with_compound"] = new Array();
option_group_data["642-280OSXALY"]["available_with"].push("3");
option_group_data["642B-280OSXALY"] = {}; option_group_data["642B-280OSXALY"]["available_with"] = new Array();
option_group_data["642B-280OSXALY"]["available_with_compound"] = new Array();
option_group_data["642B-280OSXALY"]["available_with"].push("4");
option_group_data["642B-280OSXSTL"] = {}; option_group_data["642B-280OSXSTL"]["available_with"] = new Array();
option_group_data["642B-280OSXSTL"]["available_with_compound"] = new Array();
option_group_data["642B-280OSXSTL"]["available_with"].push("4");
option_group_data["642-280OSXSTL"] = {}; option_group_data["642-280OSXSTL"]["available_with"] = new Array();
option_group_data["642-280OSXSTL"]["available_with_compound"] = new Array();
option_group_data["642-280OSXSTL"]["available_with"].push("3");
option_group_data["685B-280OSX"] = {}; option_group_data["685B-280OSX"]["available_with"] = new Array();
option_group_data["685B-280OSX"]["available_with_compound"] = new Array();
option_group_data["685B-280OSX"]["available_with"].push("18");
option_group_data["512C-280OSX"] = {}; option_group_data["512C-280OSX"]["available_with"] = new Array();
option_group_data["512C-280OSX"]["available_with_compound"] = new Array();
option_group_data["512C-280OSX"]["available_with"].push("95");
option_group_data["592D-280OSX"] = {}; option_group_data["592D-280OSX"]["available_with"] = new Array();
option_group_data["592D-280OSX"]["available_with_compound"] = new Array();
option_group_data["592D-280OSX"]["available_with"].push("23");
option_group_data["592S-280OSX"] = {}; option_group_data["592S-280OSX"]["available_with"] = new Array();
option_group_data["592S-280OSX"]["available_with_compound"] = new Array();
option_group_data["592S-280OSX"]["available_with"].push("21");
option_group_data["592S-280OSX"]["available_with"].push("22");
option_group_data["592S-280OSX"]["available_with"].push("24");
option_group_data["592S-280OSX"]["available_with"].push("25");
option_group_data["592C-280OSX"] = {}; option_group_data["592C-280OSX"]["available_with"] = new Array();
option_group_data["592C-280OSX"]["available_with_compound"] = new Array();
option_group_data["592C-280OSX"]["available_with"].push("27");
option_group_data["592STS-280OSX"] = {}; option_group_data["592STS-280OSX"]["available_with"] = new Array();
option_group_data["592STS-280OSX"]["available_with_compound"] = new Array();
option_group_data["592STS-280OSX"]["available_with"].push("21");
option_group_data["592STS-280OSX"]["available_with"].push("22");
option_group_data["592STS-280OSX"]["available_with"].push("24");
option_group_data["592STS-280OSX"]["available_with"].push("25");
option_group_data["592STD-280OSX"] = {}; option_group_data["592STD-280OSX"]["available_with"] = new Array();
option_group_data["592STD-280OSX"]["available_with_compound"] = new Array();
option_group_data["592STD-280OSX"]["available_with"].push("23");
option_group_data["592STC-280OSX"] = {}; option_group_data["592STC-280OSX"]["available_with"] = new Array();
option_group_data["592STC-280OSX"]["available_with_compound"] = new Array();
option_group_data["592STC-280OSX"]["available_with"].push("27");
option_group_data["704D-280OSX"] = {}; option_group_data["704D-280OSX"]["available_with"] = new Array();
option_group_data["704D-280OSX"]["available_with_compound"] = new Array();
option_group_data["704D-280OSX"]["available_with"].push("23");
option_group_data["704S-280OSX"] = {}; option_group_data["704S-280OSX"]["available_with"] = new Array();
option_group_data["704S-280OSX"]["available_with_compound"] = new Array();
option_group_data["704S-280OSX"]["available_with"].push("21");
option_group_data["704S-280OSX"]["available_with"].push("22");
option_group_data["704S-280OSX"]["available_with"].push("24");
option_group_data["704S-280OSX"]["available_with"].push("25");
option_group_data["704C-280OSX"] = {}; option_group_data["704C-280OSX"]["available_with"] = new Array();
option_group_data["704C-280OSX"]["available_with_compound"] = new Array();
option_group_data["704C-280OSX"]["available_with"].push("27");
option_group_data["540-280OSX"] = {}; option_group_data["540-280OSX"]["available_with"] = new Array();
option_group_data["540-280OSX"]["available_with_compound"] = new Array();
option_group_data["540-280OSX"]["available_with"].push("96");
option_group_data["540C-280OSX"] = {}; option_group_data["540C-280OSX"]["available_with"] = new Array();
option_group_data["540C-280OSX"]["available_with_compound"] = new Array();
option_group_data["540C-280OSX"]["available_with"].push("97");
}); // 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()
});