<!--
/*
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/foley.jpg"><img src="/random/foley-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/crowsnest1.jpg"><img src="/random/crowsnest1-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/crowsnest2.jpg"><img src="/random/crowsnest2-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/h_foley.jpg"><img src="/random/h_foley-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/h_glebelands.jpg"><img src="/random/h_glebelands-tb.jpg" border=0></a>'
images[6]='<a href="/fimage.shtml?random/h_types.jpg"><img src="/random/h_types-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()

text[1]="Foley Tower<br>New housing"
text[2]="Newly completed<br>Housing Association development"
text[3]="New high-spec. energy-efficient<br>housing development"
text[4]="Foley Park<br>Housing Association housing scheme"
text[5]="Glebelands<br>Council Housing"
text[6]="Housing Association Development<br>contrasting types"
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/vicst.jpg"><img src="/random/vicst-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/trinity.jpg"><img src="/random/trinity-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/barone.jpg"><img src="/random/barone-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/ascogbay.jpg"><img src="/random/ascogbay-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/auchnacloich.jpg"><img src="/random/auchnacloich-tb.jpg" border=0></a>'
images[6]='<a href="/fimage.shtml?random/chandlers.jpg"><img src="/random/chandlers-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Newly built property<br>Victoria St, Rothesay"
text[2]="Trinity Court<br>New housing development<br>Bishop St, Rothesay"
text[3]="Barone<br>Council Housing Scheme"
text[4]="Homes fringing Ascog Bay"
text[5]="Privately owned housing<br>Barone Rd & Auchnacloich Rd"
text[6]="Recently refurbished property<br>Ascog"

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/h_craigmore.jpg"><img src="/random/h_craigmore-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/h_craignethan.jpg"><img src="/random/h_craignethan-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/h_ardbeg.jpg"><img src="/random/h_ardbeg-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/h_crichton.jpg"><img src="/random/h_crichton-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/h_crichton2.jpg"><img src="/random/h_crichton2-tb.jpg" border=0></a>'
images[6]='<a href="/fimage.shtml?random/h_mountstuart.jpg"><img src="/random/h_mountstuart-tb.jpg" border=0></a>'
images[7]='<a href="/fimage.shtml?random/h_pb.jpg"><img src="/random/h_pb-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Privately owned properties<br>Craigmore"
text[2]="Craignethan<br>recently completed<br>private housing development"
text[3]="Ardbeg<br>Privately owned homes"
text[4]="Crichton Road<br>splendid Victorian<br>architectural heritage"
text[5]="Victorian homes<br>Crichton Road"
text[6]="Homes on the waterfront<br>along Mountstuart Rd"
text[7]="Port Bannatyne<br>Semi-villa homes"

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/h_types2.jpg"><img src="/random/h_types2-tb.jpg" border=0></a>'
images[2]='<a href="/fimage.shtml?random/h_types3.jpg"><img src="/random/h_types3-tb.jpg" border=0></a>'
images[3]='<a href="/fimage.shtml?random/h_battery.jpg"><img src="/random/h_battery-tb.jpg" border=0></a>'
images[4]='<a href="/fimage.shtml?random/h_straad.jpg"><img src="/random/h_straad-tb.jpg" border=0></a>'
images[5]='<a href="/fimage.shtml?random/h_kerrycroy.jpg"><img src="/random/h_kerrycroy-tb.jpg" border=0></a>'
images[6]='<a href="/fimage.shtml?random/h_setting.jpg"><img src="/random/h_setting-tb.jpg" border=0></a>'
images[7]='<a href="/fimage.shtml?random/h_bay.jpg"><img src="/random/h_bay-tb.jpg" border=0></a>'
//specify corresponding text below
var text=new Array()
text[1]="Rothesay offers a<br>variety of residential<br>accommodation types"
text[2]="Rothesay's varied<br>housing provision"
text[3]="Victorian tenements<br>Battery Place"
text[4]="Village of Straad<br>with Arran beyond"
text[5]="Homes fringing<br>Kerrycroy Bay"
text[6]="Many homes enjoy<br>a rural setting"
text[7]="Properties fringing<br>Rothesay Bay"

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