hier ein bissel mehr als man brauch:
<script language="JavaScript">
<!--
//Countdown script by Mike Thompson
//http://www.members.tripod.com/webdesign123now/
//Based on script by Website Abstraction (http://wsabstract.com)
function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="yahoo.gif"
myimages[2]="iecool.gif"
myimages[3]="netscapecool.gif"
myimages[4]="flag3.gif"
//specify corresponding links below
var imagelinks=new Array()
imagelinks[1]="http://www.yahoo.com"
imagelinks[2]="http://www.microsoft.com"
imagelinks[3]="http://www.netscape.com"
imagelinks[4]="http://www.firstgov.gov"
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}
random_imglink()
//-->
</script>