var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1631{';
wsContentVar += '        width:210px;';
wsContentVar += '        height:67px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1631-content-with-border{';
wsContentVar += '   height:67px;';
wsContentVar += '   width:210px;';
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 fadeimages1631=new Array()

fadeimages1631 [0]=["https://illinois.edu/lb/files/2009/11/13/22976.gif", "http://www.odos.illinois.edu/tolerance/", "", "Report Acts of Intolerance"];

fadeimages1631 [1]=["https://illinois.edu/lb/files/2008/12/09/6991.jpg", "http://www.campusrec.illinois.edu/personaltraining/pft_packages.html", "", ""];

fadeimages1631 [2]=["https://illinois.edu/lb/files/2008/11/11/6532.jpg", "http://www.campusrec.illinois.edu/facilities/fac_rent.html", "", ""];

fadeimages1631 [3]=["https://illinois.edu/lb/files/2008/10/24/6260.jpg", "http://www.campusrec.illinois.edu/courtsideCafe.html", "", ""];

fadeimages1631 [4]=["https://illinois.edu/lb/files/2008/10/23/6228.jpg", "http://www.campusrec.illinois.edu/wellnesscenter/athletic_training.html", "", ""];

fadeimages1631 [5]=["https://illinois.edu/lb/files/2008/10/22/6188.jpg", "http://www.campusrec.illinois.edu/wellness/kitchen.html", "", ""];

fadeimages1631 [6]=["https://illinois.edu/lb/files/2008/10/22/6192.jpg", "http://www.campusrec.illinois.edu/massage.html", "", ""];

fadeimages1631 [7]=["https://illinois.edu/lb/files/2008/10/22/6210.jpg", "http://www.campusrec.illinois.edu/membership/", "", ""];
var fadebgcolor1631="white"

////NO need to edit beyond here/////////////

var fadearray1631=new Array() //array to cache fadeshow instances
var fadeclear1631=new Array() //array to cache corresponding clearinterval pointers

var dom1631=(document.getElementById) //modern dom browsers
var iebrowser1631=document.all

function fadeshow1631(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1631=pause
this.mouseovercheck1631=0
this.delay1631=delay
this.degree1631=10 //initial opacity degree (10%)
this.curimageindex1631=0
this.nextimageindex1631=1
fadearray1631[fadearray1631.length]=this
this.slideshowid1631=fadearray1631.length-1
this.canvasbase1631="canvas1631"+this.slideshowid1631
this.curcanvas1631=this.canvasbase1631+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1631=theimages
this.imageborder1631=parseInt(borderwidth)
this.postimages1631=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1631[p]=new Image()
this.postimages1631[p].src=theimages[p][0]
this.postimages1631[p].alt=theimages[p][3]
}

var fadewidth1631=fadewidth+this.imageborder1631*2
var fadeheight1631=fadeheight+this.imageborder1631*2

if (iebrowser1631&&dom1631||dom1631) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1631'+this.slideshowid1631+'" class="slide-show-wrapper-1631" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1631+'_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:'+fadebgcolor1631+'"></div><div id="'+this.canvasbase1631+'_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:'+fadebgcolor1631+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1631-content-with-border" name="defaultslide1631'+this.slideshowid1631+'" src="'+this.postimages1631[0].src+'" alt="'+this.postimages1631[0].alt+'"></div>')

if (iebrowser1631&&dom1631||dom1631) //if IE5+ or modern browsers such as Firefox
this.startit1631()
else{
this.curimageindex1631++
setInterval("fadearray1631["+this.slideshowid1631+"].rotateimage1631()", this.delay1631)
}
}





function fadepic1631(obj1631){
if (obj1631.degree1631<100){
obj1631.degree1631+=10
if (obj1631.tempobj1631.filters&&obj1631.tempobj1631.filters[0]){
if (typeof obj1631.tempobj1631.filters[0].opacity=="number") //if IE6+
obj1631.tempobj1631.filters[0].opacity=obj1631.degree1631
else //else if IE5.5-
obj1631.tempobj1631.style.filter="alpha(opacity="+obj1631.degree1631+")"
}
else if (obj1631.tempobj1631.style.MozOpacity)
obj1631.tempobj1631.style.MozOpacity=obj1631.degree1631/101
else if (obj1631.tempobj1631.style.KhtmlOpacity)
obj1631.tempobj1631.style.KhtmlOpacity=obj1631.degree1631/100
else if (obj1631.tempobj1631.style.opacity&&!obj1631.tempobj1631.filters)
obj1631.tempobj1631.style.opacity=obj1631.degree1631/101
}
else{
clearInterval(fadeclear1631[obj1631.slideshowid1631])
obj1631.nextcanvas1631=(obj1631.curcanvas1631==obj1631.canvasbase1631+"_0")? obj1631.canvasbase1631+"_0" : obj1631.canvasbase1631+"_1"
obj1631.tempobj1631=iebrowser1631? iebrowser1631[obj1631.nextcanvas1631] : document.getElementById(obj1631.nextcanvas1631)
obj1631.populateslide1631(obj1631.tempobj1631, obj1631.nextimageindex1631)
obj1631.nextimageindex1631=(obj1631.nextimageindex1631<obj1631.postimages1631.length-1)? obj1631.nextimageindex1631+1 : 0
setTimeout("fadearray1631["+obj1631.slideshowid1631+"].rotateimage1631()", obj1631.delay1631)
}
}


fadeshow1631.prototype.populateslide1631=function(picobj1631, picindex1631){
var slideHTML1631=""
if (this.theimages1631[picindex1631][1]!="") //if associated link exists for image
slideHTML1631='<a href="'+this.theimages1631[picindex1631][1]+'" target="'+this.theimages1631[picindex1631][2]+'">'
slideHTML1631+='<img class="edu-il-ws-1631-content-with-border" src="'+this.postimages1631[picindex1631].src+'" alt="'+this.postimages1631[picindex1631].alt+'" border="'+this.imageborder1631+'px">'
if (this.theimages1631[picindex1631][1]!="") //if associated link exists for image
slideHTML1631+='</a>'
picobj1631.innerHTML=slideHTML1631
}


fadeshow1631.prototype.rotateimage1631=function(){
if (this.pausecheck1631==1) //if pause onMouseover enabled, cache object
var cacheobj1631=this
if (this.mouseovercheck1631==1)
setTimeout(function(){cacheobj1631.rotateimage1631()}, 100)
else if (iebrowser1631&&dom1631||dom1631){
this.resetit1631()
var crossobj1631=this.tempobj1631=iebrowser1631? iebrowser1631[this.curcanvas1631] : document.getElementById(this.curcanvas1631)
crossobj1631.style.zIndex++
fadeclear1631[this.slideshowid1631]=setInterval("fadepic1631(fadearray1631["+this.slideshowid1631+"])",50)
this.curcanvas1631=(this.curcanvas1631==this.canvasbase1631+"_0")? this.canvasbase1631+"_1" : this.canvasbase1631+"_0"
}
else{
var ns4imgobj1631=document.images['defaultslide1631'+this.slideshowid1631]
ns4imgobj1631.src=this.postimages1631[this.curimageindex1631].src
ms4imgobj1631.alt=this.postimages1631[this.curimageindex1631].alt
}
this.curimageindex1631=(this.curimageindex1631<this.postimages1631.length-1)? this.curimageindex1631+1 : 0
}

fadeshow1631.prototype.resetit1631=function(){
this.degree1631=10
var crossobj1631=iebrowser1631? iebrowser1631[this.curcanvas1631] : document.getElementById(this.curcanvas1631)
if (crossobj1631.filters&&crossobj1631.filters[0]){
if (typeof crossobj1631.filters[0].opacity=="number") //if IE6+
crossobj1631.filters(0).opacity=this.degree1631
else //else if IE5.5-
crossobj1631.style.filter="alpha(opacity="+this.degree1631+")"
}
else if (crossobj1631.style.MozOpacity)
crossobj1631.style.MozOpacity=this.degree1631/101
else if (crossobj1631.style.KhtmlOpacity)
crossobj1631.style.KhtmlOpacity=this.degree1631/100
else if (crossobj1631.style.opacity&&!crossobj1631.filters)
crossobj1631.style.opacity=this.degree1631/101
}


fadeshow1631.prototype.startit1631=function(){
var crossobj1631=iebrowser1631? iebrowser1631[this.curcanvas1631] : document.getElementById(this.curcanvas1631)
this.populateslide1631(crossobj1631, this.curimageindex1631)
if (this.pausecheck1631==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1631=this
var crossobjcontainer1631=iebrowser1631? iebrowser1631["master1631"+this.slideshowid1631] : document.getElementById("master1631"+this.slideshowid1631)
crossobjcontainer1631.onmouseover=function(){cacheobj1631.mouseovercheck1631=1}
crossobjcontainer1631.onmouseout=function(){cacheobj1631.mouseovercheck1631=0}
}
this.rotateimage1631()
}
var delay = 5 * 1000;
new fadeshow1631 (fadeimages1631, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
