<!--
/*
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/pool1.jpg"><img src="/random/pool1-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/pool2.jpg"><img src="/random/pool2-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/pool3.jpg"><img src="/random/pool3-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/pool4.jpg"><img src="/random/pool4-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/workout.jpg"><img src="/random/workout-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Rothesay Leisure Pool"
text[2]="Rothesay Leisure Pool"
text[3]="Rothesay Leisure Pool"
text[4]="Beach area for young children<br>Rothesay Leisure Pool"
text[5]="Workout Room<br>Rothesay Leisure Pool"
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/playingfields.jpg"><img src="/random/playingfields-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/playingfield2.jpg"><img src="/random/playingfield2-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/playingfields3.jpg"><img src="/random/playingfields3-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/meadows.jpg"><img src="/random/meadows-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/tennis.jpg"><img src="/random/tennis-tb.jpg" border=0></a>'
images[6]='<a href="/fimage.shtml?random/s_tennis.jpg"><img src="/random/s_tennis-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="King George V<br>Playing Fields & Stadium"
text[2]="King George V<br>Playing Fields & Stadium"
text[3]="Playing fields<br>Townhead, Rothesay"
text[4]="Quiet path in The Meadows<br>beside the playing fields"
text[5]="Tennis Courts<br>Townhead, Rothesay"
text[6]="Bute Tennis Courts"
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/harbour1.jpg"><img src="/random/harbour1-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/harbour2.jpg"><img src="/random/harbour2-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/harbour3.jpg"><img src="/random/harbour3-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/cycling.jpg"><img src="/random/cycling-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/cycling2.jpg"><img src="/random/cycling2-tb.jpg" border=0></a>'
images[6]='<a href="/fimage.shtml?random/kilchatbayponies.jpg"><img src="/random/kilchatbayponies-tb.jpg" border=0></a>'
images[7]='<a href="/fimage.shtml?random/s_fad.jpg"><img src="/random/s_fad-tb.jpg" border=0></a>'
images[8]='<a href="/fimage.shtml?random/s_fadshore.jpg"><img src="/random/s_fadshore-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Serviced Yacht Pontoons<br>Rothesay Harbour"
text[2]="Serviced Yacht Pontoons<br>Rothesay Harbour"
text[3]="Serviced Yacht Pontoons<br>Rothesay Harbour"
text[4]="Cycling in<br>Port Bannatyne"
text[5]="Cycling past the<br>Prince Leopold Gates<br>at Ascog Mansion"
text[6]="Riding, Kilchattan Bay<br>&copy; Gaie Brown"
text[7]="Loch Fad Clubhouse"
text[8]="Shore Fishing, Loch Fad"
var ry=Math.floor(Math.random()*images.length)
if (ry==0)
ry=1
document.write(images[ry]+'<BR>'+text[ry])
}
function random_imglinkd(){
var images=new Array()
//specify random images below. You can have as many as you wish.
images[1]='<a href="/fimage.shtml?random/rgolf1.jpg"><img src="/random/rgolf1-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/pbgolf1.jpg"><img src="/random/pbgolf1-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/rclubhouse.jpg"><img src="/random/rclubhouse-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/butegolfclubhouse.jpg"><img src="/random/butegolfclubhouse-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Rothesay Golf Course"
text[2]="Golf Course<br>Port Bannatyne"
text[3]="Club House<br>Rothesay Golf Course"
text[4]="Club House<br>Bute Golf Course<br>&copy; Gaie Brown"
var ry=Math.floor(Math.random()*images.length)
if (ry==0)
ry=1
document.write(images[ry]+'<BR>'+text[ry])
}
//-->