
<!-- Begin

function hullChoice(customid) { $('.hull_select').removeClass('selected'); $(customid).addClass('selected'); /*$('.colorExamplesLink').removeClass('show'); $(customid+'-ex').addClass('show');*/ }
function toggleOptional(customid) { $(customid).toggleClass('selected'); }

function getFormData() {
$("form").append('<input type="hidden" name="hull_color" value="'+$('#hull_color div.selected').attr('name')+'" />'); // create a hidden field with the selected hull color name

$('#optional_features .selected').each( function() { // cycle through each selected option
$("form").append('<input type="hidden" name="optionals[]" value="'+$(this).attr('alt')+'" />'); // create a hidden field with the selected options spec
});
//$('[name=optionals[]]').val(spec);
}


// End -->
