<!-- Apanacea Software Solutions... -->
<!-- hide script from old browsers

var aryImages = new Array(8);
aryImages[0] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01blank.gif";
aryImages[1] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01crypto.gif";
aryImages[2] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01treasure.gif";
aryImages[3] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01geocache.gif";
aryImages[4] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01bookx.gif";
aryImages[5] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01flashmob.gif";
aryImages[6] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01arg.gif";
aryImages[7] = "http://homepages.tesco.net/~jane.childs/crypto/images/title01letterbox.gif";

for (i=0; i < aryImages.length; i++)
{
  var preload = new Image();
  preload.src = aryImages[i];
}

function swap(imgIndex)
{
  document['imgMain'].src = aryImages[imgIndex];
}

function turnOn() 
{
	what = window.event.srcElement;
	if (what.tagName == "IMG") 
	{
		what.src = what.src.substring(0, (what.src.indexOf("off.gif"))) + "on.gif";
	}
}

function turnOff () 
{
	what = window.event.srcElement
	if (what.tagName == "IMG") 
	{
		what.src = what.src.substring(0,(what.src.indexOf("on.gif"))) + "off.gif";
	}
}

function showImage(n)
{
  if (n>0)
  {
    for (i=1;i<=6;i++)
    {
      document.getElementById('image' + i).style.display='none';
    }
    document.getElementById('image' + n).style.display='block';
  }
}

function playSound(soundname) {
 var sound = eval("document." + soundname);

 try {
  sound.Stop();
  sound.Rewind();
 } catch (e) {
 }

 try {
  sound.DoPlay();
 } catch (e) {
  sound.Play();
 }
}

// end script hiding -->

