var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-2299{';
wsContentVar += '        width:975px;';
wsContentVar += '        height:310px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-2299-content-with-border{';
wsContentVar += '   height:310px;';
wsContentVar += '   width:975px;';
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 fadeimages2299=new Array()

fadeimages2299 [0]=["https://illinois.edu/lb/files/2009/09/30/21918.jpg", "", "", "Foellinger Auditorium from the Quad"];

fadeimages2299 [1]=["https://illinois.edu/lb/files/2009/06/23/11430.jpg", "", "", ""];

fadeimages2299 [2]=["https://illinois.edu/lb/files/2009/06/23/11431.jpg", "", "", ""];
var fadebgcolor2299="white"

////NO need to edit beyond here/////////////

var fadearray2299=new Array() //array to cache fadeshow instances
var fadeclear2299=new Array() //array to cache corresponding clearinterval pointers

var dom2299=(document.getElementById) //modern dom browsers
var iebrowser2299=document.all

function fadeshow2299(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck2299=pause
this.mouseovercheck2299=0
this.delay2299=delay
this.degree2299=10 //initial opacity degree (10%)
this.curimageindex2299=0
this.nextimageindex2299=1
fadearray2299[fadearray2299.length]=this
this.slideshowid2299=fadearray2299.length-1
this.canvasbase2299="canvas2299"+this.slideshowid2299
this.curcanvas2299=this.canvasbase2299+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages2299=theimages
this.imageborder2299=parseInt(borderwidth)
this.postimages2299=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages2299[p]=new Image()
this.postimages2299[p].src=theimages[p][0]
this.postimages2299[p].alt=theimages[p][3]
}

var fadewidth2299=fadewidth+this.imageborder2299*2
var fadeheight2299=fadeheight+this.imageborder2299*2

if (iebrowser2299&&dom2299||dom2299) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master2299'+this.slideshowid2299+'" class="slide-show-wrapper-2299" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase2299+'_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:'+fadebgcolor2299+'"></div><div id="'+this.canvasbase2299+'_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:'+fadebgcolor2299+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-2299-content-with-border" name="defaultslide2299'+this.slideshowid2299+'" src="'+this.postimages2299[0].src+'" alt="'+this.postimages2299[0].alt+'"></div>')

if (iebrowser2299&&dom2299||dom2299) //if IE5+ or modern browsers such as Firefox
this.startit2299()
else{
this.curimageindex2299++
setInterval("fadearray2299["+this.slideshowid2299+"].rotateimage2299()", this.delay2299)
}
}





function fadepic2299(obj2299){
if (obj2299.degree2299<100){
obj2299.degree2299+=10
if (obj2299.tempobj2299.filters&&obj2299.tempobj2299.filters[0]){
if (typeof obj2299.tempobj2299.filters[0].opacity=="number") //if IE6+
obj2299.tempobj2299.filters[0].opacity=obj2299.degree2299
else //else if IE5.5-
obj2299.tempobj2299.style.filter="alpha(opacity="+obj2299.degree2299+")"
}
else if (obj2299.tempobj2299.style.MozOpacity)
obj2299.tempobj2299.style.MozOpacity=obj2299.degree2299/101
else if (obj2299.tempobj2299.style.KhtmlOpacity)
obj2299.tempobj2299.style.KhtmlOpacity=obj2299.degree2299/100
else if (obj2299.tempobj2299.style.opacity&&!obj2299.tempobj2299.filters)
obj2299.tempobj2299.style.opacity=obj2299.degree2299/101
}
else{
clearInterval(fadeclear2299[obj2299.slideshowid2299])
obj2299.nextcanvas2299=(obj2299.curcanvas2299==obj2299.canvasbase2299+"_0")? obj2299.canvasbase2299+"_0" : obj2299.canvasbase2299+"_1"
obj2299.tempobj2299=iebrowser2299? iebrowser2299[obj2299.nextcanvas2299] : document.getElementById(obj2299.nextcanvas2299)
obj2299.populateslide2299(obj2299.tempobj2299, obj2299.nextimageindex2299)
obj2299.nextimageindex2299=(obj2299.nextimageindex2299<obj2299.postimages2299.length-1)? obj2299.nextimageindex2299+1 : 0
setTimeout("fadearray2299["+obj2299.slideshowid2299+"].rotateimage2299()", obj2299.delay2299)
}
}


fadeshow2299.prototype.populateslide2299=function(picobj2299, picindex2299){
var slideHTML2299=""
if (this.theimages2299[picindex2299][1]!="") //if associated link exists for image
slideHTML2299='<a href="'+this.theimages2299[picindex2299][1]+'" target="'+this.theimages2299[picindex2299][2]+'">'
slideHTML2299+='<img class="edu-il-ws-2299-content-with-border" src="'+this.postimages2299[picindex2299].src+'" alt="'+this.postimages2299[picindex2299].alt+'" border="'+this.imageborder2299+'px">'
if (this.theimages2299[picindex2299][1]!="") //if associated link exists for image
slideHTML2299+='</a>'
picobj2299.innerHTML=slideHTML2299
}


fadeshow2299.prototype.rotateimage2299=function(){
if (this.pausecheck2299==1) //if pause onMouseover enabled, cache object
var cacheobj2299=this
if (this.mouseovercheck2299==1)
setTimeout(function(){cacheobj2299.rotateimage2299()}, 100)
else if (iebrowser2299&&dom2299||dom2299){
this.resetit2299()
var crossobj2299=this.tempobj2299=iebrowser2299? iebrowser2299[this.curcanvas2299] : document.getElementById(this.curcanvas2299)
crossobj2299.style.zIndex++
fadeclear2299[this.slideshowid2299]=setInterval("fadepic2299(fadearray2299["+this.slideshowid2299+"])",50)
this.curcanvas2299=(this.curcanvas2299==this.canvasbase2299+"_0")? this.canvasbase2299+"_1" : this.canvasbase2299+"_0"
}
else{
var ns4imgobj2299=document.images['defaultslide2299'+this.slideshowid2299]
ns4imgobj2299.src=this.postimages2299[this.curimageindex2299].src
ms4imgobj2299.alt=this.postimages2299[this.curimageindex2299].alt
}
this.curimageindex2299=(this.curimageindex2299<this.postimages2299.length-1)? this.curimageindex2299+1 : 0
}

fadeshow2299.prototype.resetit2299=function(){
this.degree2299=10
var crossobj2299=iebrowser2299? iebrowser2299[this.curcanvas2299] : document.getElementById(this.curcanvas2299)
if (crossobj2299.filters&&crossobj2299.filters[0]){
if (typeof crossobj2299.filters[0].opacity=="number") //if IE6+
crossobj2299.filters(0).opacity=this.degree2299
else //else if IE5.5-
crossobj2299.style.filter="alpha(opacity="+this.degree2299+")"
}
else if (crossobj2299.style.MozOpacity)
crossobj2299.style.MozOpacity=this.degree2299/101
else if (crossobj2299.style.KhtmlOpacity)
crossobj2299.style.KhtmlOpacity=this.degree2299/100
else if (crossobj2299.style.opacity&&!crossobj2299.filters)
crossobj2299.style.opacity=this.degree2299/101
}


fadeshow2299.prototype.startit2299=function(){
var crossobj2299=iebrowser2299? iebrowser2299[this.curcanvas2299] : document.getElementById(this.curcanvas2299)
this.populateslide2299(crossobj2299, this.curimageindex2299)
if (this.pausecheck2299==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj2299=this
var crossobjcontainer2299=iebrowser2299? iebrowser2299["master2299"+this.slideshowid2299] : document.getElementById("master2299"+this.slideshowid2299)
crossobjcontainer2299.onmouseover=function(){cacheobj2299.mouseovercheck2299=1}
crossobjcontainer2299.onmouseout=function(){cacheobj2299.mouseovercheck2299=0}
}
this.rotateimage2299()
}
var delay = 15 * 1000;
new fadeshow2299 (fadeimages2299, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
