<!--

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="'images/tate_logos/modern01.gif'"
myimages[2]="'images/tate_logos/modern02.gif'"
myimages[3]="'images/tate_logos/modern03.gif'"
myimages[4]="'images/tate_logos/modern04.gif'"

//specify corresponding links below
var imagelinks=new Array()
imagelinks[1]="/modern/"
imagelinks[2]="/modern/"
imagelinks[3]="/modern/"
imagelinks[4]="/modern/"

//alt text
var imagetext=new Array()
imagetext[1]="Tate Modern"
imagetext[2]="Tate Modern"
imagetext[3]="Tate Modern"
imagetext[4]="Tate Modern"

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1

document.write('<a href='+'"'+imagelinks[ry]+'"> <img src='+myimages[ry]+' alt="'+imagetext[ry]+'" id="tateOnline"></a>')
}
random_imglink()

//-->