No no, Sunfighter. He wants multiple win/lose images.
Sonic: There's really no reason to preload images for this. Your images are so small that they wiill appear instantly even on slow connections.
All you need to do is create a set of win/lose imagss.
Say you have imagewin0.gif, imagewin1.gif, ..., imagewin5.gif
And also imagelose0.gif, imagelose1.gif, ..., imagelose5.gif.
All you need to do, then is replace two lines in your JS code:
document.Hang.hangimage.src="imagewin" + Math.floor(Math.random()*6) + ".gif";
... and ...
if (tries<8) document.Hang.hangimage.src="image"+tries+".gif"
document.Hang.hangimage.src="imagelose" + . + Math.floor(Math.random()*6) + ".gif";
Replace the number 6 in there with an integer one larger than your highest win/lose image number. Remember that you need to number them starting at zero.