var rotate_delay = 5000; // delay in milliseconds (5000 = 5 secs)
current = 0;

function play() {
  obj = eval("document.images.show");
  obj.style.filter = "progid:DXImageTransform.Microsoft.Pixelate()";
  obj.filters.item(0).Apply();
  obj.filters.item(0).Play(duration=2);
}

function change() {
  current = document.slideform.slide.selectedIndex;
  document.images.show.src = document.slideform.slide[current].value;
  document.links.item("objhref").href = document.slideform.slide_href[current].value; 
  play();
}

function rotate() {
  document.images.show.src = document.slideform.slide[current].value;
  document.links.item("objhref").href = document.slideform.slide_href[current].value; 
  document.slideform.slide.selectedIndex = current;
  window.setTimeout("rotate()", rotate_delay);
  current = (current == document.slideform.slide.length-1) ? 0 : current+1;
  play();
}
