Well, without going back to check I think that you are adding the image as a comment. Is that correct?

Things to remember:

You need the ID of the image to always match the getElementById statement in the javascript.

Beyond that if the images always correspond to the same number then you have no problems. So if "72" is always font4 then that is not an issue.