<!-- 
// ---Randomiser---------------------------------------------
// please keep these lines on when you copy the source
// Modified from a script at http://www.javascript-page.com

var core = 0
var currentdate = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

pic = new StringArray(9)
pic[0] = "img/horsewoman.jpg"
pic[1] = "img/cow2.jpg"
pic[2] = "img/twitcher.jpg"
pic[3] = "img/fisherman4.jpg"
pic[4] = "img/webdesigner.jpg"
pic[5] = "img/basket.jpg"
pic[6] = "img/sailor.jpg"
pic[7] = "img/angler2.jpg"
pic[8] = "img/sheepdog.jpg"


text = new StringArray(9)
text[0] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Carolyn Morgan, Riding School Mistress, Crosswell Horse Agency, on her point-to-pointer in the Preseli hills. Wearing a Quiltknit <a href=\"javascript:window.open('bcy.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Brenin</strong></a> Waistcoat.</p>"

text[1] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Gwynfor Adams, Farmer and Cheesemaker, with his cow Pearl, at <a href=\"http://www.cawscenarth.co.uk/\" target=\"new\">Caws Cenarth</a>. Wearing a Quiltknit <a href=\"javascript:window.open('bco.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Pembroke</strong></a> Pullover.</p>"

text[2] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Chris Laurence, Wildlife Park Warden, searching for Canada Geese at the <a href=\"http://members.aol.com/skokholm/wwc.htm\" target=\"new\">Welsh Wildlife Center</a>, Cilgerran. Wearing a Quiltknit <a href=\"javascript:window.open('bcb.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Skomer</strong></a> Pullover.</p>"

text[3] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">John Brass, Shrimp Fisherman, Lower Town Fishguard Harbour. Wearing a Quiltknit <a href=\"javascript:window.open('bca.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Harlech</strong></a> Pullover.</p>"

text[4] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Liam McGee, Web Designer, looking out to sea over a snowy Cemaes Head, Pembs. Wearing a Quiltknit <a href=\"javascript:window.open('bcp.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Brecon</strong></a> Pullover.</p>"

text[5] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Susie Vaughan, <a href=\"http://www.amazon.co.uk/exec/obidos/ASIN/0855327553/qid%3D987068244/026-4807353-1102052\" target=\"new\">Hedgerow Basket Weaver</a>, gathering dogwood in the Usk valley. Wearing a Quiltknit <a href=\"javascript:window.open('bcv.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Dinas</strong></a> Waistcoat.</p>"

text[6] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Nicho Yorke, Sailor, on his dinghy in Lower Fishguard Harbour. Wearing a Quiltknit <a href=\"javascript:window.open('bcp.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Brecon</strong></a> Pullover.</p>"

text[7] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">James Souter, Hotelier, casting into the River Usk at the <a href=\"http://gliffaeshotel.com\" target=\"new\">Gliffaes Country House Hotel</a> near Brecon. Wearing a Quiltknit <a href=\"javascript:window.open('bcw.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Nevern</strong></a> Waistcoat.</p>"

text[8] = "<p class=\"submenu\" align=\"right\" style=\"width:100px\;margin-left:20px\">Caroline Holt-Wilson, Organic Turkey Farmer, with her sheepdog, Kate. Cefn Maen Organic Farm, Raglan. Wearing a Quiltknit <a href=\"javascript:window.open('bcz.html', 'popup', 'width=520, height=480, location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes'); self.location=(self.location);\"><strong>Corris</strong></a> Waistcoat.</p>"

var ran = 60/pic.length

currentdate = new Date()
core = currentdate.getSeconds()
adcore = Math.floor(core/ran)
core = adcore

var thepic = pic[core]
var thetext = text[core]

//-->


