var imagenumber = 33 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;

images = new Array
captions = new Array

images[1]="/rand_imgs/km.gif";
captions[1]="King's Manor, University of York - The home of the ADS.";
images[2]="/rand_imgs/cottam_comb.jpg";
captions[2]="Drawing of a bone comb found at Cottam, East Yorkshire";
images[3]="/rand_imgs/cottam_strapend.jpg";  
captions[3]="Drawing of a copper alloy strap end found at Cottam, East Yorkshire";
images[4]="/rand_imgs/dunadd.jpg";
captions[4]="The Dalriadic Hillfort at Dunnadd, Argyll";
images[5]="/rand_imgs/eynslide07.jpg";
captions[5]="Drains and garderobes from Eynsham Abbey, Oxfordshire";
images[6]="/rand_imgs/millett_fig32.jpg";
captions[6]="Structures within the Castro at Terroso, Ave Valley, Portugal";
images[7]="/rand_imgs/spit_coffin.jpg";
captions[7]="A coffin from Spitalfields, London";
images[8]="/rand_imgs/uorn11293.jpg";
captions[8]="COASTAL BATTERY (ID: S0011293), Portland, Dorset, England from the Defence of Britain Database";
images[9]="/rand_imgs/uorn12870.jpg";
captions[9]="PILLBOX (ID: S0012870), Lismore and Appin, Highland, Scotland from the Defence of Britain Database";
images[10]="/rand_imgs/uorn2946.jpg";
captions[10]="PILLBOX (TYPE FW3/24) (ID: S0002946), Kirkby Stephen, Cumbria, England from the Defence of Britain Database";
images[11]="/rand_imgs/av039.jpg";
captions[11]="A view of Avebury from the Avebury Walkabout";
images[12]="/rand_imgs/av056.jpg";
captions[12]="A view of Avebury from the Avebury Walkabout";
images[13]="/rand_imgs/be22.jpg";
captions[13]="A view of Beaghmore from the Beaghmore Walkabout";
images[14]="/rand_imgs/be36.jpg";
captions[14]="A view of Beaghmore from the Beaghmore Walkabout";
images[15]="/rand_imgs/31f.jpg";
captions[15]="A LINEAR FLINT HANDAXE from the Palaeolithic Handaxe collection";
images[16]="/rand_imgs/45f.jpg";
captions[16]="A LINEAR FLINT HANDAXE from the Palaeolithic Handaxe collection";
images[17]="/rand_imgs/738f.jpg";
captions[17]="A LINEAR CHERT HANDAXE from the Palaeolithic Handaxe collection";
images[18]="/rand_imgs/danebury09.jpg";
captions[18]="Iron Age pottery &copy Ashmolean Museum";
images[19]="/rand_imgs/danebury22.jpg";
captions[19]="Aerial photograph from the Danebury archive";
images[20]="/rand_imgs/ca8-2.jpg";
captions[20]="Society of Antiquaries of London Image Collection: Classical Antiquities 8.2 - Greek vase, discovered in Etruria";

images[21]="/rand_imgs/ca8-2.jpg";
captions[21]="Society of Antiquaries of London Image Collection: Classical Antiquities 8.2 - Greek vase, discovered in Etruria";
images[22]="/rand_imgs/aa35.jpg";
captions[22]="Society of Antiquaries of London Image Collection: Arms and Armour 35 - Etruscan helmet";
images[23]="/rand_imgs/pa21-4.jpg";
captions[23]="Society of Antiquaries of London Image Collection: Primeval Antiquities 21.4 - Flint axe from Hoxne, Suffolk";
images[24]="/rand_imgs/ca84.jpg";
captions[24]="Society of Antiquaries of London Image Collection: Classical Antiquities 84 - Wall painting from Cimitale near Naples";
images[25]="/rand_imgs/em47.jpg";
captions[25]="Society of Antiquaries of London Image Collection: Early Medieval Antiqs 47 - Anglo-Saxon square-headed brooch from Suffolk";
images[26]="/rand_imgs/em60-2.jpg";
captions[26]="Society of Antiquaries of London Image Collection: Early Medieval Antiqs 60.2 - The Witham Bowl";
images[27]="/rand_imgs/pa6-4.jpg";
captions[27]="Society of Antiquaries of London Image Collection: Primeval Antiquities 6.4 - Bronze Age palstave and Roman bow brooch";
images[28]="/rand_imgs/uf30-1.jpg";
captions[28]="Society of Antiquaries of London Image Collection: Utensils and Furniture 30.1 - The Pusey Horn";
images[29]="/rand_imgs/po8-1a.jpg";
captions[29]="Society of Antiquaries of London Image Collection: Personal Ornaments 8.1 - Gold and enamel ring of Mary, Queen of Scots";
images[30]="/rand_imgs/ie35-1a.jpg";
captions[30]="Society of Antiquaries of London Image Collection: Instrumenta Ecclesiastica 35.1 - Medieval reliquary in the shape of an arm";
images[31]="/rand_imgs/hz_0677p-_underwater_timbers.jpg";
captions[31]="Timbers from the Warship Hazardous";
images[32]="/rand_imgs/fig-41.jpg";
captions[32]="Reconstruction of the original 1790s Headquarters building at Higher Barracks, Exeter";
images[33]="/rand_imgs/fig-09.jpg";
captions[33]="Postcard view of the entrance to Higher Barracks, Exeter";


var image=images[rand1];
var caption=captions[rand1];

document.writeln('<img src="'+image+'" alt="'+caption+'" class="left">');


