How it works...

The Script reads the browser's date and translates it into a file name in the format 'yymmdd-x.jpg' and then displays the picture.

NOTE: You must save your picture files in the yymmdd-x.jpg format in the same directory as the script...