var color = 1;

function changeColor() {
	if (color == 1) {
		document.getElementById('outer').style.backgroundColor = '#33CCCC';
	} else if (color == 2) {
		document.getElementById('outer').style.backgroundColor = '#CCCC33';
	} else if (color == 3) {
		document.getElementById('outer').style.backgroundColor = '#339933';
	} else if (color == 4) {
		document.getElementById('outer').style.backgroundColor = '#993399';
	} else if (color == 5) {
		document.getElementById('outer').style.backgroundColor = '#FF9933';
	}
}

function setColor() {
	if (color == 5) {
		color = 1;
	} else {
		color = color + 1;
	}
	changeColor();
	setTimeout("setColor()", 4000);
}

function init() {
	setTimeout("setColor()", 4000);
}