var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-2158{';
wsContentVar += '        width:515px;';
wsContentVar += '        height:200px;';
wsContentVar += '        margin:0;';
wsContentVar += '        padding:0;';
wsContentVar += '}';
wsStyleVar.setAttribute('type', 'text/css');
if (wsStyleVar.styleSheet)
{   // IE
    wsStyleVar.styleSheet.cssText = wsContentVar;
}
else
{                // the world
    var tt1 = document.createTextNode(wsContentVar);
    wsStyleVar.appendChild(tt1);
}
var wsHeadVar = document.getElementsByTagName('head')[0];
wsHeadVar.appendChild(wsStyleVar);
document.write("");

var fadeimages2158=new Array()

fadeimages2158 [0]=["https://illinois.edu/lb/files/2009/04/16/9818.jpg", "", "", ""];

fadeimages2158 [1]=["https://illinois.edu/lb/files/2009/04/16/9827.jpg", "", "", ""];

fadeimages2158 [2]=["https://illinois.edu/lb/files/2009/04/16/9819.jpg", "", "", ""];

fadeimages2158 [3]=["https://illinois.edu/lb/files/2009/04/16/9820.jpg", "", "", ""];

fadeimages2158 [4]=["https://illinois.edu/lb/files/2009/04/16/9821.jpg", "", "", ""];

fadeimages2158 [5]=["https://illinois.edu/lb/files/2009/04/16/9822.jpg", "", "", ""];

fadeimages2158 [6]=["https://illinois.edu/lb/files/2009/04/16/9823.jpg", "", "", ""];

fadeimages2158 [7]=["https://illinois.edu/lb/files/2009/04/16/9824.jpg", "", "", ""];

fadeimages2158 [8]=["https://illinois.edu/lb/files/2009/04/16/9825.jpg", "", "", ""];

fadeimages2158 [9]=["https://illinois.edu/lb/files/2009/04/16/9826.jpg", "", "", ""];
var fadebgcolor2158="white"

////NO need to edit beyond here/////////////

var fadearray2158=new Array() //array to cache fadeshow instances
var fadeclear2158=new Array() //array to cache corresponding clearinterval pointers

var dom2158=(document.getElementById) //modern dom browsers
var iebrowser2158=document.all

function fadeshow2158(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck2158=pause
this.mouseovercheck2158=0
this.delay2158=delay
this.degree2158=10 //initial opacity degree (10%)
this.curimageindex2158=0
this.nextimageindex2158=1
fadearray2158[fadearray2158.length]=this
this.slideshowid2158=fadearray2158.length-1
this.canvasbase2158="canvas2158"+this.slideshowid2158
this.curcanvas2158=this.canvasbase2158+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages2158=theimages
this.imageborder2158=parseInt(borderwidth)
this.postimages2158=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages2158[p]=new Image()
this.postimages2158[p].src=theimages[p][0]
this.postimages2158[p].alt=theimages[p][3]
}

var fadewidth2158=fadewidth+this.imageborder2158*2
var fadeheight2158=fadeheight+this.imageborder2158*2

if (iebrowser2158&&dom2158||dom2158) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master2158'+this.slideshowid2158+'" class="slide-show-wrapper-2158" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase2158+'_0" style="position:absolute;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor2158+'"></div><div id="'+this.canvasbase2158+'_1" style="position:absolute;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor2158+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-2158-content-with-border" name="defaultslide2158'+this.slideshowid2158+'" src="'+this.postimages2158[0].src+'" alt="'+this.postimages2158[0].alt+'"></div>')

if (iebrowser2158&&dom2158||dom2158) //if IE5+ or modern browsers such as Firefox
this.startit2158()
else{
this.curimageindex2158++
setInterval("fadearray2158["+this.slideshowid2158+"].rotateimage2158()", this.delay2158)
}
}





function fadepic2158(obj2158){
if (obj2158.degree2158<100){
obj2158.degree2158+=10
if (obj2158.tempobj2158.filters&&obj2158.tempobj2158.filters[0]){
if (typeof obj2158.tempobj2158.filters[0].opacity=="number") //if IE6+
obj2158.tempobj2158.filters[0].opacity=obj2158.degree2158
else //else if IE5.5-
obj2158.tempobj2158.style.filter="alpha(opacity="+obj2158.degree2158+")"
}
else if (obj2158.tempobj2158.style.MozOpacity)
obj2158.tempobj2158.style.MozOpacity=obj2158.degree2158/101
else if (obj2158.tempobj2158.style.KhtmlOpacity)
obj2158.tempobj2158.style.KhtmlOpacity=obj2158.degree2158/100
else if (obj2158.tempobj2158.style.opacity&&!obj2158.tempobj2158.filters)
obj2158.tempobj2158.style.opacity=obj2158.degree2158/101
}
else{
clearInterval(fadeclear2158[obj2158.slideshowid2158])
obj2158.nextcanvas2158=(obj2158.curcanvas2158==obj2158.canvasbase2158+"_0")? obj2158.canvasbase2158+"_0" : obj2158.canvasbase2158+"_1"
obj2158.tempobj2158=iebrowser2158? iebrowser2158[obj2158.nextcanvas2158] : document.getElementById(obj2158.nextcanvas2158)
obj2158.populateslide2158(obj2158.tempobj2158, obj2158.nextimageindex2158)
obj2158.nextimageindex2158=(obj2158.nextimageindex2158<obj2158.postimages2158.length-1)? obj2158.nextimageindex2158+1 : 0
setTimeout("fadearray2158["+obj2158.slideshowid2158+"].rotateimage2158()", obj2158.delay2158)
}
}


fadeshow2158.prototype.populateslide2158=function(picobj2158, picindex2158){
var slideHTML2158=""
if (this.theimages2158[picindex2158][1]!="") //if associated link exists for image
slideHTML2158='<a href="'+this.theimages2158[picindex2158][1]+'" target="'+this.theimages2158[picindex2158][2]+'">'
slideHTML2158+='<img class="edu-il-ws-2158-content-with-border" src="'+this.postimages2158[picindex2158].src+'" alt="'+this.postimages2158[picindex2158].alt+'" border="'+this.imageborder2158+'px">'
if (this.theimages2158[picindex2158][1]!="") //if associated link exists for image
slideHTML2158+='</a>'
picobj2158.innerHTML=slideHTML2158
}


fadeshow2158.prototype.rotateimage2158=function(){
if (this.pausecheck2158==1) //if pause onMouseover enabled, cache object
var cacheobj2158=this
if (this.mouseovercheck2158==1)
setTimeout(function(){cacheobj2158.rotateimage2158()}, 100)
else if (iebrowser2158&&dom2158||dom2158){
this.resetit2158()
var crossobj2158=this.tempobj2158=iebrowser2158? iebrowser2158[this.curcanvas2158] : document.getElementById(this.curcanvas2158)
crossobj2158.style.zIndex++
fadeclear2158[this.slideshowid2158]=setInterval("fadepic2158(fadearray2158["+this.slideshowid2158+"])",50)
this.curcanvas2158=(this.curcanvas2158==this.canvasbase2158+"_0")? this.canvasbase2158+"_1" : this.canvasbase2158+"_0"
}
else{
var ns4imgobj2158=document.images['defaultslide2158'+this.slideshowid2158]
ns4imgobj2158.src=this.postimages2158[this.curimageindex2158].src
ms4imgobj2158.alt=this.postimages2158[this.curimageindex2158].alt
}
this.curimageindex2158=(this.curimageindex2158<this.postimages2158.length-1)? this.curimageindex2158+1 : 0
}

fadeshow2158.prototype.resetit2158=function(){
this.degree2158=10
var crossobj2158=iebrowser2158? iebrowser2158[this.curcanvas2158] : document.getElementById(this.curcanvas2158)
if (crossobj2158.filters&&crossobj2158.filters[0]){
if (typeof crossobj2158.filters[0].opacity=="number") //if IE6+
crossobj2158.filters(0).opacity=this.degree2158
else //else if IE5.5-
crossobj2158.style.filter="alpha(opacity="+this.degree2158+")"
}
else if (crossobj2158.style.MozOpacity)
crossobj2158.style.MozOpacity=this.degree2158/101
else if (crossobj2158.style.KhtmlOpacity)
crossobj2158.style.KhtmlOpacity=this.degree2158/100
else if (crossobj2158.style.opacity&&!crossobj2158.filters)
crossobj2158.style.opacity=this.degree2158/101
}


fadeshow2158.prototype.startit2158=function(){
var crossobj2158=iebrowser2158? iebrowser2158[this.curcanvas2158] : document.getElementById(this.curcanvas2158)
this.populateslide2158(crossobj2158, this.curimageindex2158)
if (this.pausecheck2158==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj2158=this
var crossobjcontainer2158=iebrowser2158? iebrowser2158["master2158"+this.slideshowid2158] : document.getElementById("master2158"+this.slideshowid2158)
crossobjcontainer2158.onmouseover=function(){cacheobj2158.mouseovercheck2158=1}
crossobjcontainer2158.onmouseout=function(){cacheobj2158.mouseovercheck2158=0}
}
this.rotateimage2158()
}
var delay = 5 * 1000;
new fadeshow2158 (fadeimages2158, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
