I have been toying with the idea of building a 15 puzzle just for fun and have been looking at some source code from David Harrison but i wish to add a shuffle images and a reset button into the content. I have been trying to use onClick events within a form button but cant get the blasted thing to work! any help would be much appreciated!!!!

here is the source code: