﻿
var ix = 0;
var limit = 10;

function change() {
    var slide;
    slide = ix.toString();
    document.getElementById(slide).style.display = "none";
    ix = ix + 1;
    if (ix > limit) ix = 0;
    slide = ix.toString();
    document.getElementById(slide).style.display = "block";
    timerid = setTimeout("change()",3000);
}
function interupt() {
    clearTimeout(timerid);
}
function gohome() {
    window.history.go(-1);
}
