// Copyright 2003 Internetics (www.internetics.be)

function go(what) {
  value = what.options[what.selectedIndex].value;
  if (value == "") return;
  window.location.href = value;
}

var SecondsLeft = 11;
var Running = true;
var ShowStatus = true;
var OldStatus = "";

function Stat(StatusText) {
  if ((OldStatus == "") && (ShowStatus == true)){
    window.status = StatusText;
  }
  else {
    OldStatus = StatusText;
  }
}

function startstop() {
  if (Running == false) {
    Running = true;
  }
  else {
    Running = false;
    Stat("Slideshow stopped");
  }
}

function CountDown() {
  if (Running == true) {

    if (SecondsLeft > 0) {
      SecondsLeft--;
    }
    else {
      document.location = "image18.html";
    }

    if (SecondsLeft == 0) {
      Stat("Next image will automatically load in " + (SecondsLeft + 1) + " second");
    }
    else {
      Stat("Next image will automatically load in " + (SecondsLeft + 1) + " seconds");
    }
  }

  setTimeout("CountDown()",1000);
}

function PageLoaded() {
  CountDown();
}

window.onload=PageLoaded;
//-->

