
var SlBox = new Array();

SlBox[1]='<div><table><tr><td width=400 height=300><a href="/ics/Depts/Institutional/PR/News/Home.jnz?portlet=AUC_Open_House"><img Src="/ics/imgs/Main/AUCslideshow/OpenHouse20100801.png"></a></td></tr></table></div>';
SlBox[2]='<div><table><tr><td width=400 height=300><a href="http://auc.edu/ics/Depts/Instructional/Summer_Ignition/" target="_blank"><img src="/ics/imgs/Main/AUCslideshow/SummerIgnition.png"></a></td></tr></table></div>';
SlBox[3]='<div><table><tr><td width=400 height=300><a href="http://auc.edu/ics/Depts/Instructional/Summer_Advantage/" target="_blank"><img src="/ics/imgs/Main/AUCslideshow/SummerAdvantage.JPG"></a></td></tr></table></div>';
SlBox[4]='<div><table><tr><td width=400 height=300><a href="http://www.telegram.com/article/20100129/COULTER01/1290344/1189/coulter02" target="_blank"><img src="/ics/imgs/Main/AUCslideshow/Hazen.jpg"></a></td></tr></table></div>';
SlBox[5]='<div><table><tr><td width=400 height=76 align=center><strong><span style="font-size: 12pt; font-family: Georgia"><a href="/ics/Depts/Institutional/PR/News/Home.jnz?portlet=AUC_Grads_Rank_Top_in_the_Nation" target="_self">AUC Nursing Grads Rank Top In the Nation</a></span></strong></td></tr><tr><td width=400 height=220 align=center valign=top><a href="/ics/Depts/Institutional/PR/News/Home.jnz?portlet=AUC_Grads_Rank_Top_in_the_Nation" target="_self"><img src="/ics/imgs/Main/AUCslideshow/2.JPG" alt="AUC Grads... Read More"></a></td></tr></table></div>';
SlBox[6]='<div><table><tr><td width=400 height=300><a href="/ics/Depts/Institutional/Business_Office/Projects.jnz?portlet=Founders_Transformation"><img src="/ics/imgs/Main/AUCslideshow/Founders.JPG" alt="Founders Hall Transformation Slideshow. Pictures by Lloyd Brown."></a></td></tr></table></div>';


var toggle = 'on';
var SlStatus, SlTimeout;
var SlCur = 0;
var SlSpd = 7000;
var SlCnt = SlBox.length-1;

function SlPrior()
{ document.getElementById("PriorBt").src="/ics/imgs/Main/priorC2.png";
  clearTimeout(SlTimeout);
  SlCur--;
  SlMove();
  if (SlStatus!= 'SlPause') SlTimeout = setTimeout("SlPlay()",SlSpd);}

function SlPlayPause()
{ if(toggle=='on')
{ SlPause();
  toggle='off';}
else 
{ SlPlay();
  toggle='on';}}

function SlPlay()
{ document.getElementById("PlayPauseBt").src="/ics/imgs/Main/pauseR2.png";
  SlCur++;
  SlMove();
  SlStatus = 'SlPlay';
  SlTimeout = setTimeout("SlPlay()",SlSpd);}

function SlPause()
{ document.getElementById("PlayPauseBt").src="/ics/imgs/Main/playR2.png";
  SlStatus = 'SlPause';
  clearTimeout(SlTimeout);}

function SlNext()
{ document.getElementById("NextBt").src="/ics/imgs/Main/nextC2.png";
  clearTimeout(SlTimeout);
  SlCur++;
  SlMove()
  if (SlStatus != 'SlPause') SlTimeout = setTimeout("SlPlay()",SlSpd);}

function SlMove()
{ if (SlCur > (SlCnt)) SlCur=1;
  if (SlCur < 1) SlCur = SlCnt; 
  if (document.getElementById) document.getElementById("SlBoxObj").innerHTML= SlBox[SlCur];}

function SlStart()
{ SlPlay();
  document.getElementById("SlBoxObj").innerHTML= SlBox[SlCur];}

if (document.all||document.getElementById)
window.onload=SlStart;