var breedte = 200;

var  clipX = 0;
var  stap = -breedte;
var  stapgrootte = 10;

var verschijndiv;
var id, waitId;
var t;

function goVerschijn()
{
  clipX = 0;
  stap = -breedte;
  stapgrootte = 10;

  if (t == 1)
  {
    stopVerschijn();
    t=0;
    return;
  }

  if (!verschijndiv) verschijndiv = document.getElementById("info_index");

  verschijndiv.style.left = '0px';

  if (id) window.clearTimeout(id);
  window.setTimeout("verschijn()",1);
}

function stopVerschijn()
{
  if (id) window.clearTimeout(id);
  verschijndiv.style.clip = 'rect(0px '+breedte+'px 200px '+breedte+'px)';
}

function verschijn()
{
  t = 0;
  verschijndiv.style.left = stap + 'px';

  verschijndiv.style.clip = 'rect(0px '+breedte+'px 200px '+(breedte-clipX)+'px)';
  stap+=stapgrootte;

  clipX += 10;
  if (stap<stapgrootte)
    id = window.setTimeout("verschijn()",1);

  else
  {
    verschijndiv.style.position = "";
    iD();
    t = 1;
  }
 }

function iD()
{
    if (waitId) window.clearTimeout(waitId);
    waitId = window.setTimeout("wait()",3000);
}

function wait()
{
  stopVerschijn();
  t = 0;
}

