Using the File System Object to Display a Random Image:

Click here to test this script.

Code:

Place in the <BODY>:
Highlight