var indx = 1;
function ScrollText()
{
  document.getElementById('r'+indx).style.display = 'block';
  document.getElementById('c'+indx).className = 'selectedItem';
  for(j=1;j<5;j++)
  {
    if(j != indx) 
    {
      document.getElementById('r'+j).style.display = 'none';
      document.getElementById('c'+j).className = 'normalState';
    }
  }  
  indx++;
  if(indx > 4) indx = 1;
}
function SetIndx(i)
{
  indx = i;
  ScrollText();
}
setInterval('ScrollText()', 3500);
