<html>
<head>
<title>Single Random Image</title>
<script language="javascript">
<!-- // begin
random.m=714025; random.a=4096; random.c=150889;
random.seed = (new Date()).getTime()%random.m;
function random()
{random.seed = (random.seed*random.a + random.c) % random.m;
return random.seed / random.m;
}
function randomizeimages()
{randomizeimage('image1', 4, '', '.jpg');
}
function randomizeimage(img, count, base, type)
{whichone = Math.round(random() * (count - 1)) + 1;
document.images[img].src = base + whichone + type;
}
// end hiding -->
</script>
</head>
<body bgcolor="#ffffff" onload="randomizeimages()">
<p align="center">
<img name="image1" src="pixel.gif" height="90" width="120">
</p>
</body>
</html>
|