// JavaScript for the rotating graphics on the prospective landing page.
function timedCount()
{
nextPic('firstpic', 'secondpic', 'forward');
t=setTimeout("timedCount()",18000);
}

/* Create array for images */
var fbpic = new Array();

/* Load graphics */
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/rotatingbsupported.jpg' width='551' height='537' />");
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/prospective-box2.jpg' width='551' height='537' />");
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/prospective-box3.jpg' width='551' height='537' />");
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/prospective-box4.jpg' width='551' height='537' />");
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/prospective-box5.jpg' width='551' height='537' />");
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/prospective-box6.jpg' width='551' height='537' />");
fbpic.push("<img src='http://www.bu.edu/law/graphics/hp-templates/prospective-box7.jpg' width='551' height='537' />");
/* Randomize Array of images */

fisherYates(fbpic);

/* Standard Flipbook function */
initFade("firstpic","secondpic");

/* gets rid of background image once first and second images are set */
/* the background image is there in case of no javascript or some other failure */
document.getElementById("main").style.background = "url(http://www.bu.edu/law/graphics/hp-templates/bg-white.jpg)";

/* Continuously changes the graphic */
timedCount();
