function chgMainBoxImage(imprint, isFromRoundRobin){
   if(!isFromRoundRobin){
      clearTimeout(timeoutId);

      for(i=0; i < imprintType.length; i++)
         if(imprintType[i] == imprint)
            imprintIndex = i;
   }

   for(i=0; i< imprintType.length; i++){
      if(imprint == imprintType[i]){
         document.getElementById(imprintType[i] + "MainBox").style.display = "";
         document.getElementById(imprintType[i] + "FiveBox").style.backgroundImage = "url(" + js_ext_path + "images/mc_home_slices_70_hover.gif)";
         //document.getElementById(imprintType[i] + "FiveBox").className = "theFiveBoxBgImageHover";
         document.getElementById(imprintType[i] + "FiveBoxText").style.color = "#000000";
      }
      else{
         document.getElementById(imprintType[i] + "MainBox").style.display = "none";
         document.getElementById(imprintType[i] + "FiveBox").style.backgroundImage = "url(" + js_ext_path + "images/mc_home_slices_70.gif)";
         //document.getElementById(imprintType[i] + "FiveBox").className = "theFiveBoxBgImage";
         document.getElementById(imprintType[i] + "FiveBoxText").style.color = "#7a7a7a";
      }
   }

   if(!isFromRoundRobin)
      timeoutId = setTimeout("roundRobinImprint()", 8000);
}

var imprintIndex = 0;
var timeoutId;

var imprintType = new Array();

imprintType[0] = "benchmark";
imprintType[1] = "reference";
imprintType[2] = "children";
imprintType[3] = "trade";
imprintType[4] = "digital";

var firstTime = "true";

function roundRobinImprint(){
   chgMainBoxImage(imprintType[imprintIndex], true);

   if(imprintIndex == (imprintType.length - 1))
      imprintIndex = 0;
   else
      imprintIndex++;

   if(firstTime == "true"){
      timeoutId = setTimeout("roundRobinImprint()", 15000);
      firstTime = "false";
   }
   else
      timeoutId = setTimeout("roundRobinImprint()", 8000);
}

