// JavaScript Document

var timerid;

//Could be more elegant, but works for 3 images.
function Show1() {
   document.getElementById("informationinset").className = "insetconnect";
   document.getElementById("insettitle").innerHTML = "Connect...";
   timerid = setTimeout("Show2()", 5000); }
function Show2() {
   document.getElementById("informationinset").className = "insetbrowse";
   document.getElementById("insettitle").innerHTML = "Browse...";
   timerid = setTimeout("Show3()", 5000); }
function Show3() {
   document.getElementById("informationinset").className = "insetedit";
   document.getElementById("insettitle").innerHTML = "Edit!";
   timerid = setTimeout("Show1()", 10000); }
   
function stopShow1() {
   clearTimeout (timerid);
	document.getElementById("informationinset").className = "insetconnect";
	document.getElementById("insettitle").innerHTML = "Connect..."; }
function stopShow2() {
   clearTimeout (timerid);
   document.getElementById("informationinset").className = "insetbrowse";
   document.getElementById("insettitle").innerHTML = "Browse..."; }
function stopShow3() {
   clearTimeout (timerid);
   document.getElementById("informationinset").className = "insetedit";
   document.getElementById("insettitle").innerHTML = "Edit!"; }
  

//Clicking something that should stop them.
function StopTimer() {
   clearTimeout (timerid);
}

//Start it...
Show1();
