
jQuery(function () {

  jQuery('#allClear').click(function () {
    jQuery(":input").each(function () {
      var type =jQuery(this).attr('type');
      if ( type == 'text' || type == 'select-one' || type == 'textarea' ) jQuery(this).val('') ;
    });
    jQuery(":radio").attr(   {'checked':false});
    jQuery(":checkbox").attr({'checked':false});
    return false;
  });

}); // end loadevent


