//Set up images
img1 = new Image() img1 = "SDNcalendar970test01.gif"; // same as image in the
img2 = new Image() img2 = "SDNcalendar970test02.gif";
img3 = new Image() img3 = "SDNcalendar970test03.gif";
img5 = new Image() img4 = "SDNcalendar970test04.gif";
img5 = new Image() img5 = "SDNcalendar970test05.gif";
//Number of seconds before images rotate
seconds = "2";
function imgOne()
{
document.getElementById("img1") = '';
setTimeout("imgTwo()", seconds * 1000);
}
function imgTwo()
{
document.getElementById("img2") = '
';
setTimeout("imgThree()", seconds * 1000);
}
function imgThree()
{
document.getElementById("img3") = '
';
setTimeout("imgFour()", seconds * 1000);
}
function imgFour()
{
document.getElementById("img4") = '
';
setTimeout("imgFive()", seconds * 1000);
}
function imgFive()
{
document.getElementById("img5") = '
';
setTimeout("imgOne()", seconds * 1000);
}