var adblock=new Array()
adblock[0]='<a href="http://www.top-of-the-range.co.uk/carrying/snugpak/rocketpaksystem.html"><img src="http://www.top-of-the-range.co.uk/randomimages/0.jpg" class="imgBorder" alt="1"></a>'
adblock[1]='<a href="http://www.top-of-the-range.co.uk/footwear/lowa/lowamountainboots.html"><img src="http://www.top-of-the-range.co.uk/randomimages/1.jpg" class="imgBorder" alt="2"></a>'
adblock[2]='<a href="http://www.top-of-the-range.co.uk/footwear/lowa/lowadesertboots.html"><img src="http://www.top-of-the-range.co.uk/randomimages/2.jpg" class="imgBorder" alt="3"></a>'
adblock[3]='<a href="http://www.top-of-the-range.co.uk/clothing/underarmour/coldgearmock.html"><img src="http://www.top-of-the-range.co.uk/randomimages/3.jpg" class="imgBorder" alt="4"></a>'
adblock[4]='<a href="http://www.top-of-the-range.co.uk/carrying/bugout/3daypass.html"><img src="http://www.top-of-the-range.co.uk/randomimages/4.jpg" class="imgBorder" alt="5"></a>'
adblock[5]='<a href="http://www.top-of-the-range.co.uk/lighttime/gerber/recontorch.html"><img src="http://www.top-of-the-range.co.uk/randomimages/5.jpg" class="imgBorder" alt="1"></a>'
adblock[6]='<a href="http://www.top-of-the-range.co.uk/clothing/underarmour/heatgearcrew.html"><img src="http://www.top-of-the-range.co.uk/randomimages/6.jpg" class="imgBorder" alt="1"></a>'
adblock[7]='<a href="http://www.top-of-the-range.co.uk/sleeping/snugpak/softie9.html"><img src="http://www.top-of-the-range.co.uk/randomimages/7.jpg" class="imgBorder" alt="2"></a>'
adblock[8]='<a href="http://www.top-of-the-range.co.uk/clothing/smocks/SASsmock.html"><img src="http://www.top-of-the-range.co.uk/randomimages/8.jpg" class="imgBorder" alt="3"></a>'
adblock[9]='<a href="http://www.top-of-the-range.co.uk/clothing/gloves/ultrafitglove.html"><img src="http://www.top-of-the-range.co.uk/randomimages/9.jpg" class="imgBorder" alt="4"></a>'
adblock[10]='<a href="http://www.top-of-the-range.co.uk/carrying/bugout/bugoutbag.html"><img src="http://www.top-of-the-range.co.uk/randomimages/10.jpg" class="imgBorder" alt="5"></a>'
adblock[11]='<a href="http://www.top-of-the-range.co.uk/carrying/bugout/bugoutbag.html"><img src="http://www.top-of-the-range.co.uk/randomimages/11.jpg" class="imgBorder" alt="1"></a>'
adblock[12]='<a href="http://www.top-of-the-range.co.uk/lighttime/energizer/energizer.html"><img src="http://www.top-of-the-range.co.uk/randomimages/12.jpg" class="imgBorder" alt="4"></a>'
adblock[13]='<a href="http://www.top-of-the-range.co.uk/lighttime/nite/mx10-201.html"><img src="http://www.top-of-the-range.co.uk/randomimages/13.jpg" class="imgBorder" alt="5"></a>'
adblock[14]='<a href="http://www.top-of-the-range.co.uk/navtools/powertraveller/powermonkeyexplorer.html"><img src="http://www.top-of-the-range.co.uk/randomimages/14.jpg" class="imgBorder" alt="1"></a>'
adblock[15]='<a href="http://www.top-of-the-range.co.uk/navtools/powertraveller/powerchimp.html"><img src="http://www.top-of-the-range.co.uk/randomimages/15.jpg" class="imgBorder" alt="1"></a>'
adblock[16]='<a href="http://www.top-of-the-range.co.uk/navtools/gerber/legend.html"><img src="http://www.top-of-the-range.co.uk/randomimages/16.jpg" class="imgBorder" alt="2"></a>'
adblock[17]='<a href="http://www.top-of-the-range.co.uk/sleeping/snugpak/softie3.html"><img src="http://www.top-of-the-range.co.uk/randomimages/17.jpg" class="imgBorder" alt="3"></a>'
adblock[18]='<a href="http://www.top-of-the-range.co.uk/sleeping/snugpak/softie10.html"><img src="http://www.top-of-the-range.co.uk/randomimages/18.jpg" class="imgBorder" alt="4"></a>'
adblock[19]='<a href="http://www.top-of-the-range.co.uk/footwear/lowa/lowaeliteblack.html"><img src="http://www.top-of-the-range.co.uk/randomimages/19.jpg" class="imgBorder" alt="5"></a>'
adblock[20]='<a href="http://www.top-of-the-range.co.uk/navtools/gerber/evo.html"><img src="http://www.top-of-the-range.co.uk/randomimages/20.jpg" class="imgBorder" alt="1"></a>'


function randomorder(targetarray, spacing) {
  var randomorder=new Array()
  var the_one
  var z=17
  for (i=0;i<targetarray.length;i++)
  randomorder[i]=i

  while (z<targetarray.length) {
    the_one=Math.floor(Math.random()*targetarray.length)
    if (targetarray[the_one]!="_selected!"){
      document.write(targetarray[the_one]+spacing)
      targetarray[the_one]="_selected!"
      z++
    }
  }
}
