var current = 1;

function scroll()
{
$("#rotator").hide();
	if(current == 4)
	{
		current = 1;
	}
	else
	{
		current = current + 1;
	}

document.getElementById("rotator").src = "images/welcomeaccord" + current + ".png";
$("#rotator").fadeIn();

if(current != 1)
{
document.getElementById(current - 1).src = "images/1.png";
}
else
{
document.getElementById("4").src = "images/1.png";
}

document.getElementById(current).src = "images/2.png";

var timer = setTimeout("scroll()", 4000);
}
