

function changecolor(bob) {
  document.getElementById("menu_" + bob).bgColor="#FFFFFF";
  document.getElementById("menu_" + bob).className="black";
}

function changeback(bob) {
  document.getElementById("menu_" + bob).bgColor="#000000";
  document.getElementById("menu_" + bob).className="white";
}

function callNext(next) {
  setTimeout("swapFadeIn(" + next + ")", 5000);
}


// Anchor Start	
function swapFadeIn(next) { // sample if active ads are 1,3,4
if (next==3) {
box=1;
newnext=4;
}
if (next==4) {
box=3;
newnext=5;
}
if (next==5) {
box=4;
newnext=1;
}
if (next==1) {
box=5;
newnext=3;
}









// Anchor Stop

  Effect.Fade("box-" + box, { duration:1, from:1.0, to:0.0 });
  Effect.Appear("box-" + next, { duration:1, from:0.0, to:1.0 });
  callNext(newnext);
}


callNext("3");

