/*	Random Features
	Arrays should be in the order of:
	"ID", "Name", "Text", "URL"
	(The ID is used in the CSS to send the background image.)
*/

var howOften = 10; //number often in seconds to rotate
var current = 0; //start the counter at 0

// rotated items
var items = new Array();
    //items[0]="<div id='highlight-a'><a href='People.aspx#/george-p'>George, Campus President</a><p>&ldquo;One thing you can always say about the President of an Art Institute is that no day will ever be boring.&rdquo;</p></div>";
    items[0]="<div id='highlight-c'><a href='People.aspx#/karina-c'>Karina, Student Affairs</a><p>&ldquo;We always put students first, and I&rsquo;m proud of the commitment we all share to their success..&rdquo;</p></div>";
    items[1]="<div id='highlight-b'><a href='People.aspx#/victor-m'>Victor, Associate Director of Admission</a><p>&ldquo;One thing you can always say about the President of an Art Institute is that no day will ever be boring.&rdquo;</p></div>"; 

function rotater() {
    document.getElementById("rotater").innerHTML = items[current];
    current = (current==items.length-1) ? 0 : current + 1;
    setTimeout("rotater()",howOften*1000);}
 
 
