<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ET Batavia Triathlon</title>
    <meta name="description" content="Et Batavia Triathlon">
    <link rel="stylesheet" media="all" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
    <link rel="stylesheet" media="all" href="https://cdn.datatables.net/1.10.11/css/dataTables.bootstrap.min.css" />
    <script src="https://code.jquery.com/jquery-1.12.1.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    <script src="https://cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.10.11/js/dataTables.bootstrap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
    <style>
      header img { margin: 0; }
      main { margin-top: 10px; }
      .results-search { margin-bottom: 10px; }
      .results-table { font-size: 0.8em; }
      .results-table tr.highlight { background-color: #eee; }
      .big-time { font-size: 3.0em; font-weight: bold; }
    </style>
  </head>
  <body class="public">
    <header>
      <div class="container">
        <div class="row">
          <div class="col-sm-12">
            <a href="http://www.bataviatriathlon.org"><img src="logo-large-2.jpeg" class="img-responsive" /></a>
            <p><a href="http://www.bataviatriathlon.org">Click here</a> to return to ET Batavia Home Page</p>
          </div>
        </div>
      </div>
    </header>
    <main role="main">
      <div class="container">
       <a href="index.html"><i class="fa fa-arrow-left"></i> Back</a>
<div class="row">
  <div class="col-sm-12">
    <h3>Youth Splash &amp; Dash (100m Swim/1km Run) Results</h3>
    <table class="table table-striped table-condensed datatable results-table">
</table>
<script type="text/javascript">
var data = [{"id":1682,"athlete_id":1488,"group_id":null,"place":1,"age_group":"M  9-10","age_group_place":1,"gender_place":1,"event_total":7,"age_group_total":3,"gender_total":3,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":1,"run_time":688.0,"total_time":688.0,"penalty":null,"created_at":"2016-06-12T21:33:33.000-05:00","updated_at":"2016-06-12T21:33:33.000-05:00","year":2016,"athlete":{"id":1488,"first_name":"Jonathan","middle_name":"","last_name":"Lyskawa","age":9,"date_of_birth":"2007-01-25","gender":"M","address1":"3013 Fairmont Ave","address2":"","zip":"60503","city":"Aurora","state":"IL","country":"US","email":"dlyskawa1@yahoo.com","daytime_phone":"3122130175","evening_phone":"3122130175","shirt_size":"","usat_member_id":"2100038256","signed":"Dennis Lyskawa","signer_age":18,"signed_when":"2016-02-08T07:59:26.000-06:00","relay_group_id":"","registration_id":"K62MUN4597A3","registration_date":"2016-02-08","paid_date":null,"event_id":10,"emergency_contact_name":"Dennis \u0026 Jenny Lyskawa","emergency_contact_phone":"6305495227","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-02T17:17:09.000-05:00","updated_at":"2016-06-02T17:18:17.000-05:00","bib_number":778,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"Lyskawa, Jonathan"}},{"id":1683,"athlete_id":1561,"group_id":null,"place":2,"age_group":"M  9-10","age_group_place":2,"gender_place":2,"event_total":7,"age_group_total":3,"gender_total":3,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":2,"run_time":761.0,"total_time":761.0,"penalty":null,"created_at":"2016-06-12T21:33:33.000-05:00","updated_at":"2016-06-12T21:33:33.000-05:00","year":2016,"athlete":{"id":1561,"first_name":"Dominic","middle_name":"","last_name":"Serio","age":9,"date_of_birth":"2006-10-25","gender":"M","address1":"684 Hamilton Lane","address2":"","zip":"60542","city":"North Aurora","state":"IL","country":"US","email":"tsparrow76@hotmail.com","daytime_phone":"630-631-2270","evening_phone":"630-452-2541","shirt_size":"","usat_member_id":"2100185662","signed":"Tina Serio","signer_age":39,"signed_when":"2016-06-10T17:01:58.000-05:00","relay_group_id":"","registration_id":"K62MUN4AF09A","registration_date":"2016-06-10","paid_date":null,"event_id":10,"emergency_contact_name":"Tina serio","emergency_contact_phone":"630-631-2270","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-10T21:35:43.000-05:00","updated_at":"2016-06-10T21:36:30.000-05:00","bib_number":787,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"Serio, Dominic"}},{"id":1684,"athlete_id":1489,"group_id":null,"place":3,"age_group":"M  9-10","age_group_place":3,"gender_place":3,"event_total":7,"age_group_total":3,"gender_total":3,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":3,"run_time":790.0,"total_time":790.0,"penalty":null,"created_at":"2016-06-12T21:33:33.000-05:00","updated_at":"2016-06-12T21:33:33.000-05:00","year":2016,"athlete":{"id":1489,"first_name":"Brady","middle_name":"","last_name":"Nightlinger","age":9,"date_of_birth":"2007-02-17","gender":"M","address1":"42W669 Whirlaway Drive","address2":"","zip":"60175","city":"St. Charles","state":"IL","country":"US","email":"klnightlinger@yahoo.com","daytime_phone":"8474096483","evening_phone":"8472599822","shirt_size":"","usat_member_id":"2100151556","signed":"Kate Nightlinger","signer_age":38,"signed_when":"2016-02-28T11:07:55.000-06:00","relay_group_id":"","registration_id":"K62MUN4656AC","registration_date":"2016-02-28","paid_date":null,"event_id":10,"emergency_contact_name":"Keith Nightlinger","emergency_contact_phone":"6302007039","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-02T17:17:09.000-05:00","updated_at":"2016-06-02T17:18:11.000-05:00","bib_number":777,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"Nightlinger, Brady"}},{"id":1685,"athlete_id":1543,"group_id":null,"place":4,"age_group":"F  9-10","age_group_place":1,"gender_place":1,"event_total":7,"age_group_total":3,"gender_total":4,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":4,"run_time":815.0,"total_time":815.0,"penalty":null,"created_at":"2016-06-12T21:33:33.000-05:00","updated_at":"2016-06-12T21:33:33.000-05:00","year":2016,"athlete":{"id":1543,"first_name":"Annabelle","middle_name":"","last_name":"MacAdams","age":10,"date_of_birth":"2006-04-18","gender":"F","address1":"711 N Wright St","address2":"","zip":"60563","city":"Naperville","state":"IL","country":"US","email":"nmac99@gmail.com","daytime_phone":"6307178487","evening_phone":"6305777696","shirt_size":"","usat_member_id":"2100184806","signed":"Nathaniel MacAdams","signer_age":38,"signed_when":"2016-06-07T06:15:56.000-05:00","relay_group_id":"","registration_id":"K62MUN4AD127","registration_date":"2016-06-07","paid_date":null,"event_id":10,"emergency_contact_name":"Kristen MacAdams","emergency_contact_phone":"6307790359","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-08T14:54:05.000-05:00","updated_at":"2016-06-08T14:55:55.000-05:00","bib_number":783,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"MacAdams, Annabelle"}},{"id":1686,"athlete_id":1541,"group_id":null,"place":5,"age_group":"F  9-10","age_group_place":2,"gender_place":2,"event_total":7,"age_group_total":3,"gender_total":4,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":5,"run_time":873.0,"total_time":873.0,"penalty":null,"created_at":"2016-06-12T21:33:34.000-05:00","updated_at":"2016-06-12T21:33:34.000-05:00","year":2016,"athlete":{"id":1541,"first_name":"Josephine","middle_name":"","last_name":"Royer","age":9,"date_of_birth":"2007-05-14","gender":"F","address1":"613 Winston Drive","address2":"","zip":"61873","city":"St. Joseph","state":"IL","country":"US","email":"royer44@yahoo.com","daytime_phone":"","evening_phone":"","shirt_size":"","usat_member_id":"2100184740","signed":"Tyson Royer","signer_age":39,"signed_when":"2016-06-06T18:26:15.000-05:00","relay_group_id":"","registration_id":"K62MUN4ACEBF","registration_date":"2016-06-06","paid_date":null,"event_id":10,"emergency_contact_name":"Tyson Royer","emergency_contact_phone":"217-799-1712","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-08T14:54:05.000-05:00","updated_at":"2016-06-08T14:56:38.000-05:00","bib_number":784,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"Royer, Josephine"}},{"id":1687,"athlete_id":1542,"group_id":null,"place":6,"age_group":"F  9-10","age_group_place":3,"gender_place":3,"event_total":7,"age_group_total":3,"gender_total":4,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":6,"run_time":894.0,"total_time":894.0,"penalty":null,"created_at":"2016-06-12T21:33:34.000-05:00","updated_at":"2016-06-12T21:33:34.000-05:00","year":2016,"athlete":{"id":1542,"first_name":"Ashley","middle_name":"","last_name":"Ward","age":8,"date_of_birth":"2007-10-27","gender":"F","address1":"1378 Burnett Drive","address2":"","zip":"60502","city":"Aurora","state":"IL","country":"US","email":"brward15@gmail.com","daytime_phone":"3129092279","evening_phone":"","shirt_size":"","usat_member_id":"2100180272","signed":"Brett Ward","signer_age":45,"signed_when":"2016-06-07T05:07:48.000-05:00","relay_group_id":"","registration_id":"K62MUN4AD091","registration_date":"2016-06-07","paid_date":null,"event_id":10,"emergency_contact_name":"Brett Ward","emergency_contact_phone":"3129092279","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-08T14:54:05.000-05:00","updated_at":"2016-06-08T14:57:05.000-05:00","bib_number":786,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"Ward, Ashley"}},{"id":1688,"athlete_id":1493,"group_id":null,"place":7,"age_group":"F  7- 8","age_group_place":1,"gender_place":4,"event_total":7,"age_group_total":1,"gender_total":4,"swim_rank":0,"swim_time":null,"du_run_1_rank":null,"du_run_1_time":null,"t1_rank":0,"t1_time":null,"bike_rank":0,"bike_time":null,"t2_rank":0,"t2_time":null,"run_rank":7,"run_time":1043.0,"total_time":1043.0,"penalty":null,"created_at":"2016-06-12T21:33:34.000-05:00","updated_at":"2016-06-12T21:33:34.000-05:00","year":2016,"athlete":{"id":1493,"first_name":"Dina","middle_name":"","last_name":"Sharon","age":7,"date_of_birth":"2008-07-01","gender":"F","address1":"1086 S. Naper Blvd","address2":"","zip":"60540","city":"Naperville","state":"IL","country":"US","email":"ishharon@yahoo.com","daytime_phone":"630-416-0556","evening_phone":"630-670-8532","shirt_size":"","usat_member_id":"2100182264","signed":"Kimberly J. Sharon","signer_age":41,"signed_when":"2016-05-28T03:44:50.000-05:00","relay_group_id":"","registration_id":"K62MUN4A7785","registration_date":"2016-05-28","paid_date":null,"event_id":10,"emergency_contact_name":"Kim and Isaac Sharon","emergency_contact_phone":"(630) 670-8532","estimated_swim_time":"","estimated_run_time":"","relay_group_events":null,"created_at":"2016-06-02T17:17:09.000-05:00","updated_at":"2016-06-02T17:18:01.000-05:00","bib_number":776,"checked_in_at":null,"estimated_swim_time_parsed":null,"kids_dash_event":"100m Swim/1km Run","wave":null,"estimated_run_time_parsed":null,"race_day_pickup":false,"team_name":null,"year":2016,"name":"Sharon, Dina"}}];

$(function() {
  var table = $('.datatable').DataTable({
    dom: 'lrtip',
    paging: false,
    searching: true,
    orderClasses: false,
    data: data,
    columns: [
      { data: 'place', title: 'Position' },
      { data: 'athlete.bib_number', title: 'Bib No' },
      { data: 'athlete.name', title: 'Name', render: name_link },
      { data: 'total_time', title: 'Time', render: format_time },
      { data: 'age_group', title: 'Age Gr', render: age_group_link },
      { data: 'age_group_place', title: 'Age Gr Pos' },
      { data: 'athlete.gender', title: 'Gender' },
      { data: 'gender_place', title: 'Gender Pos' },
      { data: 'athlete.city', title: 'City' },
      { data: 'athlete.state', title: 'State' },
      { data: 'athlete.country', title: 'Country' },
      { data: 'swim_time', title: 'Swim', render: format_time },
      { data: 'run_time', title: 'Run', render: format_time },
    ]
  });
  $('.datatable').on('mouseover', 'tr', function() {
    $(this).addClass('highlight');
  }).
  on('mouseout', 'tr', function() {
    $(this).removeClass('highlight');
  });

  $('#name').on( 'keyup', function () {
    table.draw();
  });

  $('#bib_number').on( 'keyup', function () {
    table.draw();
  });

  $('#age_group').on( 'change', function () {
    table.draw();
  });

  $('#gender').on( 'change', function () {
    table.draw();
  });

  $('#clear-search').on( 'click', function (event) {
    event.preventDefault();
    $('#name').val('');
    $('#bib_number').val('');
    $('#age_group').val('');
    $('#gender').val('');
    table.draw();
  });

  $(document).on( 'click', '.age-group-link', function (event) {
    event.preventDefault();
    $('#name').val('');
    $('#bib_number').val('');
    $('#age_group').val($(this).attr('data-age-group'));
    $('#gender').val('');
    table.draw();
  });

});

function format_time(time) {
  return moment().startOf('day').add(time, 's').format('H:mm:ss');
}

function name_link(name, type, full) {
  display_name = full.athlete.name;
  return '<a href="' + full.id + '.html">' + display_name + '</a>';
}

function age_group_link(age_group, type, full) {
  return age_group;
}

</script>

  </div>
</div>

      </div>
    </main>
  </body>
</html>
