/*****************************************\
||       Rotate Script Version 4.0       ||
||   					 ||
||                                       ||
||                                       ||
\*****************************************/






img2 = new Image()


seconds = "4";

function imgOne()
{
document.myimg.src = 'hdr_rotate/before1.png';
setTimeout("imgTwo()", seconds * 1000);
}
function imgTwo()
{
document.myimg.src = 'hdr_rotate/after1.png';
setTimeout("imgThree()", seconds * 1000);
}
function imgThree()
{
document.myimg.src = 'hdr_rotate/before.png';
setTimeout("imgFour()", seconds * 1000);
}
function imgFour()
{
document.myimg.src = 'hdr_rotate/after.png';
setTimeout("imgFive()", seconds * 1000);
}
function imgFive()
{
document.myimg.src = 'hdr_rotate/before2.png';
setTimeout("imgSix()", seconds * 1000);
}
function imgSix()
{
document.myimg.src = 'hdr_rotate/after2.png';
setTimeout("imgSeven()", seconds * 1000);
}
function imgSeven()
{
document.myimg.src = 'hdr_rotate/before3.png';
setTimeout("imgEight()", seconds * 1000);
}
function imgEight()
{
document.myimg.src = 'hdr_rotate/after3.png';
setTimeout("imgNine()", seconds * 1000);
}
function imgNine()
{
document.myimg.src = 'hdr_rotate/before4.png';
setTimeout("imgTen()", seconds * 1000);
}
function imgTen()
{
document.myimg.src = 'hdr_rotate/after4.png';
setTimeout("imgEleven()", seconds * 1000);
}
function imgEleven()
{
document.myimg.src = 'hdr_rotate/before5.png';
setTimeout("imgTwelve()", seconds * 1000);
}
function imgTwelve()
{
document.myimg.src = 'hdr_rotate/after5.png';
setTimeout("imgThirteen()", seconds * 1000);
}
function imgThirteen()
{
document.myimg.src = 'hdr_rotate/before6.png';
setTimeout("imgFourteen()", seconds * 1000);
}
function imgFourteen()
{
document.myimg.src = 'hdr_rotate/after6.png';
setTimeout("imgOne()", seconds * 1000);
}