img2 = new Image()
seconds = "6";
var crossFadeDuration = 25;

function imgOne()
{

setTimeout("imgTwo()", seconds * 2000);
}
function imgTwo()
{
document.myimg.src = 'rotatingGraphic2.jpg';
setTimeout("imgThree()", seconds * 2000);
}
function imgThree()
{
document.myimg.src = 'rotatingGraphic3.jpg';
setTimeout("imgFour()", seconds * 2000);
}
function imgFour()
{
document.myimg.src = 'rotatingGraphic4.jpg';
setTimeout("imgFive()", seconds * 2000);
}
function imgFive()
{
document.myimg.src = 'rotatingGraphic5.jpg';
setTimeout("imgOne()", seconds * 2000);
}




<!-- <body onload="imgOne();"> 
<!--<img src="rotatingGraphic1.jpg" name="Welcome">
<!--</body>
<!--</html>
-->