var textnumber = 7 ; 
var randomnumber = Math.random() ; 
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ; 
text = new Array 
text[1] = "<img src=/images/marginphotos/cityhall/aerial-kamloops.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
text[2] = "<img src=/images/marginphotos/cityhall/cityhall-steps.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
text[3] = "<img src=/images/marginphotos/cityhall/moonshot.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
text[4] = "<img src=/images/marginphotos/cityhall/vk-front.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
text[5] = "<img src=/images/marginphotos/cityhall/mounted-patrol.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
text[6] = "<img src=/images/marginphotos/cityhall/overlander-closeup.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
text[7] = "<img src=/images/marginphotos/cityhall/sportmartplace.jpg width=230 height=344 vspace=20 border=0 alt=This is Kamloops/>"
var mymarginimages = text[rand1]


