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