// exactly the same as rotatePoster but we preload different images
// I separated so we didn't uneccesarily preload images we aren't
// using on the pages this file is included on

// header image rotation (Content Pages)
var maximages = 9;

// header image rotation (Contant Pages)
var currentimage = 0;

function startRotation()
{
	setInterval("rotateBanner()",3500);
}

function rotateBanner()
{
	currentimage += 1;
	if(currentimage > maximages)
		currentimage = 1;
	try{
		document.getElementById('rotatingimage').src = 'images/headerImages/header' + currentimage + '.jpg';
	}
	catch(e){
	
	}
}
