auto format code + add variable for second url so to be able to display 2 x 65 days worth of results
define all the result array variables globally at the top of the document so I can split out into separate functions. This is so I can add multiple results to the url i.e. 65 x 2