var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1857{';
wsContentVar += '        width:523px;';
wsContentVar += '        height:343px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1857-content-with-border{';
wsContentVar += '   height:343px;';
wsContentVar += '   width:523px;';
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 fadeimages1857=new Array()

fadeimages1857 [0]=["https://illinois.edu/lb/files/2009/02/02/7880.jpg", "", "_new", ""];

fadeimages1857 [1]=["https://illinois.edu/lb/files/2009/02/02/7879.jpg", "", "_new", ""];

fadeimages1857 [2]=["https://illinois.edu/lb/files/2009/02/02/7878.jpg", "", "_new", ""];

fadeimages1857 [3]=["https://illinois.edu/lb/files/2009/02/02/7877.jpg", "", "_new", ""];

fadeimages1857 [4]=["https://illinois.edu/lb/files/2009/02/02/7875.jpg", "", "_new", ""];
var fadebgcolor1857="white"

////NO need to edit beyond here/////////////

var fadearray1857=new Array() //array to cache fadeshow instances
var fadeclear1857=new Array() //array to cache corresponding clearinterval pointers

var dom1857=(document.getElementById) //modern dom browsers
var iebrowser1857=document.all

function fadeshow1857(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1857=pause
this.mouseovercheck1857=0
this.delay1857=delay
this.degree1857=10 //initial opacity degree (10%)
this.curimageindex1857=0
this.nextimageindex1857=1
fadearray1857[fadearray1857.length]=this
this.slideshowid1857=fadearray1857.length-1
this.canvasbase1857="canvas1857"+this.slideshowid1857
this.curcanvas1857=this.canvasbase1857+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1857=theimages
this.imageborder1857=parseInt(borderwidth)
this.postimages1857=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1857[p]=new Image()
this.postimages1857[p].src=theimages[p][0]
this.postimages1857[p].alt=theimages[p][3]
}

var fadewidth1857=fadewidth+this.imageborder1857*2
var fadeheight1857=fadeheight+this.imageborder1857*2

if (iebrowser1857&&dom1857||dom1857) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1857'+this.slideshowid1857+'" class="slide-show-wrapper-1857" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1857+'_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:'+fadebgcolor1857+'"></div><div id="'+this.canvasbase1857+'_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:'+fadebgcolor1857+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1857-content-with-border" name="defaultslide1857'+this.slideshowid1857+'" src="'+this.postimages1857[0].src+'" alt="'+this.postimages1857[0].alt+'"></div>')

if (iebrowser1857&&dom1857||dom1857) //if IE5+ or modern browsers such as Firefox
this.startit1857()
else{
this.curimageindex1857++
setInterval("fadearray1857["+this.slideshowid1857+"].rotateimage1857()", this.delay1857)
}
}





function fadepic1857(obj1857){
if (obj1857.degree1857<100){
obj1857.degree1857+=10
if (obj1857.tempobj1857.filters&&obj1857.tempobj1857.filters[0]){
if (typeof obj1857.tempobj1857.filters[0].opacity=="number") //if IE6+
obj1857.tempobj1857.filters[0].opacity=obj1857.degree1857
else //else if IE5.5-
obj1857.tempobj1857.style.filter="alpha(opacity="+obj1857.degree1857+")"
}
else if (obj1857.tempobj1857.style.MozOpacity)
obj1857.tempobj1857.style.MozOpacity=obj1857.degree1857/101
else if (obj1857.tempobj1857.style.KhtmlOpacity)
obj1857.tempobj1857.style.KhtmlOpacity=obj1857.degree1857/100
else if (obj1857.tempobj1857.style.opacity&&!obj1857.tempobj1857.filters)
obj1857.tempobj1857.style.opacity=obj1857.degree1857/101
}
else{
clearInterval(fadeclear1857[obj1857.slideshowid1857])
obj1857.nextcanvas1857=(obj1857.curcanvas1857==obj1857.canvasbase1857+"_0")? obj1857.canvasbase1857+"_0" : obj1857.canvasbase1857+"_1"
obj1857.tempobj1857=iebrowser1857? iebrowser1857[obj1857.nextcanvas1857] : document.getElementById(obj1857.nextcanvas1857)
obj1857.populateslide1857(obj1857.tempobj1857, obj1857.nextimageindex1857)
obj1857.nextimageindex1857=(obj1857.nextimageindex1857<obj1857.postimages1857.length-1)? obj1857.nextimageindex1857+1 : 0
setTimeout("fadearray1857["+obj1857.slideshowid1857+"].rotateimage1857()", obj1857.delay1857)
}
}


fadeshow1857.prototype.populateslide1857=function(picobj1857, picindex1857){
var slideHTML1857=""
if (this.theimages1857[picindex1857][1]!="") //if associated link exists for image
slideHTML1857='<a href="'+this.theimages1857[picindex1857][1]+'" target="'+this.theimages1857[picindex1857][2]+'">'
slideHTML1857+='<img class="edu-il-ws-1857-content-with-border" src="'+this.postimages1857[picindex1857].src+'" alt="'+this.postimages1857[picindex1857].alt+'" border="'+this.imageborder1857+'px">'
if (this.theimages1857[picindex1857][1]!="") //if associated link exists for image
slideHTML1857+='</a>'
picobj1857.innerHTML=slideHTML1857
}


fadeshow1857.prototype.rotateimage1857=function(){
if (this.pausecheck1857==1) //if pause onMouseover enabled, cache object
var cacheobj1857=this
if (this.mouseovercheck1857==1)
setTimeout(function(){cacheobj1857.rotateimage1857()}, 100)
else if (iebrowser1857&&dom1857||dom1857){
this.resetit1857()
var crossobj1857=this.tempobj1857=iebrowser1857? iebrowser1857[this.curcanvas1857] : document.getElementById(this.curcanvas1857)
crossobj1857.style.zIndex++
fadeclear1857[this.slideshowid1857]=setInterval("fadepic1857(fadearray1857["+this.slideshowid1857+"])",50)
this.curcanvas1857=(this.curcanvas1857==this.canvasbase1857+"_0")? this.canvasbase1857+"_1" : this.canvasbase1857+"_0"
}
else{
var ns4imgobj1857=document.images['defaultslide1857'+this.slideshowid1857]
ns4imgobj1857.src=this.postimages1857[this.curimageindex1857].src
ms4imgobj1857.alt=this.postimages1857[this.curimageindex1857].alt
}
this.curimageindex1857=(this.curimageindex1857<this.postimages1857.length-1)? this.curimageindex1857+1 : 0
}

fadeshow1857.prototype.resetit1857=function(){
this.degree1857=10
var crossobj1857=iebrowser1857? iebrowser1857[this.curcanvas1857] : document.getElementById(this.curcanvas1857)
if (crossobj1857.filters&&crossobj1857.filters[0]){
if (typeof crossobj1857.filters[0].opacity=="number") //if IE6+
crossobj1857.filters(0).opacity=this.degree1857
else //else if IE5.5-
crossobj1857.style.filter="alpha(opacity="+this.degree1857+")"
}
else if (crossobj1857.style.MozOpacity)
crossobj1857.style.MozOpacity=this.degree1857/101
else if (crossobj1857.style.KhtmlOpacity)
crossobj1857.style.KhtmlOpacity=this.degree1857/100
else if (crossobj1857.style.opacity&&!crossobj1857.filters)
crossobj1857.style.opacity=this.degree1857/101
}


fadeshow1857.prototype.startit1857=function(){
var crossobj1857=iebrowser1857? iebrowser1857[this.curcanvas1857] : document.getElementById(this.curcanvas1857)
this.populateslide1857(crossobj1857, this.curimageindex1857)
if (this.pausecheck1857==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1857=this
var crossobjcontainer1857=iebrowser1857? iebrowser1857["master1857"+this.slideshowid1857] : document.getElementById("master1857"+this.slideshowid1857)
crossobjcontainer1857.onmouseover=function(){cacheobj1857.mouseovercheck1857=1}
crossobjcontainer1857.onmouseout=function(){cacheobj1857.mouseovercheck1857=0}
}
this.rotateimage1857()
}
var delay = 4 * 1000;
new fadeshow1857 (fadeimages1857, 250, 250, 0, delay, 1, 'truefalse')

document.write("");
