// change this to true or false to show or hide the shaft tracker.
show_the_shaft_tracker = true;

// change the values below to update the tracker. be sure to have each value surrounded by single quotes.
tournament_name = 'Northern Trust Open';
aldila_score = '93';
first_competitor_label = 'Competitor 2nd Place:';
first_competitor_score = '76';
second_competitor_label = 'Competitor 3rd Place:';
second_comeptitor_score = '69';


// DO NOT EDIT BELOW THIS LINE

function doTracker(){
 if(show_the_shaft_tracker){
  document.getElementById('shafttracker').innerHTML =
  '<div id="shaft_tracker_title">Aldila Shaft Tracker</div>' +  
  '<div id="shaft_tracker_shaft">' +
  ' <table style="width:100%;"><tbody><tr>' +
  '  <td id="shaft_tracker_shaftname">' + tournament_name + '</td>' +
  '  <td class="shaft_tracker_aldila">Aldila:</td>' +
  '  <td class="shaft_tracker_number">' + aldila_score + '</td>' +
  '  <td class="shaft_tracker_title">' + first_competitor_label + '</td>' +
  '  <td class="shaft_tracker_number">' + first_competitor_score + '</td>' +
  '  <td class="shaft_tracker_title">' + second_competitor_label + '</td>' +
  '  <td class="shaft_tracker_number">' + second_comeptitor_score + '</td>' +
  ' </tr></tbody></table>';
  '</div>';
 }
}
doTracker()
