<!--
/*
Random Clickable Image + Text Script
April 2004
You can add new pictures and text by adding new lines that start with images[number]
and text[number]
*/
function random_imglinka(){
var images=new Array()
//specify random images below. You can have as many as you wish.
images[1]='<a href="/fimage.shtml?random/cinema2.jpg"><img src="/random/cinema2-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/library2.jpg"><img src="/random/library2-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/dispmus.jpg"><img src="/random/dispmus-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/libinternet.jpg"><img src="/random/libinternet-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/amusements.jpg"><img src="/random/amusements-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Rothesay's 90-seat<br>luxury Cinema<br>screens latest releases"
text[2]="Rothesay Library"
text[3]="Displays in Bute Museum"
text[4]="Public Internet Access<br>Rothesay Library"
text[5]="Amusement Arcade<br>Guildford Square"
var ry=Math.floor(Math.random()*images.length)
if (ry==0)
ry=1
document.write(images[ry]+'<BR>'+text[ry])
}

function random_imglinkb(){
var images=new Array()
//specify random images below. You can have as many as you wish.
images[1]='<a href="/fimage.shtml?random/allotments2.jpg"><img src="/random/allotments2-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/fundraiser.jpg"><img src="/random/fundraiser-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/kbcoffee.jpg"><img src="/random/kbcoffee-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/midgetsub.jpg"><img src="/random/midgetsub-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/poetryfest.jpg"><img src="/random/poetryfest-tb.jpg" border=0></a>'

//specify corresponding text below
var text=new Array()
text[1]="Garden Allotments<br>The Meadows, Rothesay"
text[2]="Community fund-raiser<br>for RNLI in Kilchattan Bay"
text[3]="Kilchattan Bay<br>Coffee Morning<br>for RNLI funds"
text[4]="Community project<br>Midget Submarine<br>memorial garden in<br>Port Bannatyne"
text[5]="Annual<br>Bute Poetry Festival<br>3 visiting poets"

var ry=Math.floor(Math.random()*images.length)
if (ry==0)
ry=1
document.write(images[ry]+'<BR>'+text[ry])
}

function random_imglinkc(){
var images=new Array()
//specify random images below. You can have as many as you wish.
images[1]='<a href="/fimage.shtml?random/rdpb1.jpg"><img src="/random/rdpb1-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/rdpb2.jpg"><img src="/random/rdpb2-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/rdpb3.jpg"><img src="/random/rdpb3-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Bute Highland Games<br>Rothesay & Dist Pipe Band"
text[2]="Bute Highland Games<br>Rothesay & Dist Pipe Band<br>Final Preparations"
text[3]="Bute Highland Games<br>Rothesay & Dist Pipe Band"
var ry=Math.floor(Math.random()*images.length)
if (ry==0)
ry=1
document.write(images[ry]+'<BR>'+text[ry])
}
//-->