JavaScript - Random Image Sample #2 Creating/Changing an IMG tag in the document. Refresh the page to see a different image ( seems to work in all browsers ) Also see Sample #1