// JavaScript Document
window.onload = SetTimer;

var ShowDuration = 1000;
var ID = 0;
var oldID = null;

function SetTimer() {
  if(ID != null) oldID = ID;
  ID = getID();
	ShowLink(ID);
}
function getID() {
  if(ID < 3) {
    ID++;
    return ID;
  }
  else {
    ID = 0;
    return ID;
  }
}
function ShowLink(ID) {
  if(oldID != null) {
    soldID = oldID.toString();
    document.getElementById("c" + soldID).style.display = "none";
  }
  sID = ID.toString();
  document.getElementById("c" + sID).style.display = "";
	
  setTimeout("SetTimer()", 5500);
}

