      function randomize(min, max) {
      if (!min)
      min = 0;
      if (!max)
      max = 1;
      return Math.floor(Math.random()*(max+1)+min);
      }
      function randomBg() {
      var bgs = new Array();
      // I took these images from a site with a similar script already only to get example images
      // I wrote this script myself
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-001-default.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-002-dandy.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-003-dots.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-004-retro.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-005-swirl.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-006-lines.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-007-flower.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-008-fabric.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-009-granny.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-010-hibisc.gif");
	  //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-011-town.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-012-blossoms.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-013-paisli.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-014-paislii.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-015-paisliii.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-016-blomst.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-017-micdot.gif");
      //bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-018-diff.gif");
      bgs.push("http://www.brendanwestbury.com/dev/thaa/img/PAT-019.gif");

		document.body.style.backgroundImage = "url(" + bgs[randomize(0, bgs.length-1)] + ")";
      }
