var iarray = new Array();
iarray[0] = '<a href="http://www.discountschoolsupply.com/" target="_blank"><img src="http://www.caeyc.org/main/caeyc/images/conference/12Partners/discount.jpg" width="196" height="183" border="0">';
iarray[1] = '<a href="http://www.kaplanco.com/" target="_blank"><img src="http://www.caeyc.org/main/caeyc/images/conference/12Partners/kaplan.jpg" width="196" height="183" border="0">';
iarray[2] = '<a href="http://www.lakeshorelearning.com/home/home.jsp" target="_blank"><img src="http://www.caeyc.org/main/caeyc/images/conference/12Partners/lakeshore.jpg" width="196" height="183" border="0">';
iarray[3] = '<a href="http://www.kaplanco.com/" target="_blank"><img src="http://www.caeyc.org/main/caeyc/images/conference/12Partners/kaplan.jpg" width="196" height="183" border="0">';
iarray[4] = '<a href="http://www.lakeshorelearning.com/home/home.jsp" target="_blank"><img src="http://www.caeyc.org/main/caeyc/images/conference/12Partners/lakeshore.jpg" width="196" height="183" border="0">';

 
var maxImages = iarray.length-1;
var currentImage = 0;
var secondsBetweenRotation = 6;
 
function rotateDiv()
{
      if(currentImage > maxImages){currentImage = 0;}
      document.getElementById('rotatingImage').innerHTML = iarray[currentImage];
      currentImage+=1;
      
      setTimeout('rotateDiv()',(secondsBetweenRotation*1000));
}
