var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1633{';
wsContentVar += '        margin-top: 5px;';
wsContentVar += '        width:210px;';
wsContentVar += '        height:67px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1633-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 fadeimages1633=new Array()

fadeimages1633 [0]=["https://illinois.edu/lb/files/2009/09/04/21344.jpg", "http://www.campusrec.illinois.edu/personaltraining/EXERsmart.html", "", "EXERsmart Metabolic Assessments"];

fadeimages1633 [1]=["https://illinois.edu/lb/files/2009/09/04/21338.jpg", "http://www.campusrec.illinois.edu/personaltraining/freeMotion.html", "", "Free Motion Class"];

fadeimages1633 [2]=["https://illinois.edu/lb/files/2009/09/04/21340.jpg", "http://www.campusrec.illinois.edu/personaltraining/taekwondo.html", "", "Tae Kwon Do Class"];

fadeimages1633 [3]=["https://illinois.edu/lb/files/2009/09/04/21336.jpg", "http://www.campusrec.illinois.edu/personaltraining/technogym.html", "", "Technogym Packages"];

fadeimages1633 [4]=["https://illinois.edu/lb/files/2009/09/03/21313.jpg", "http://www.campusrec.illinois.edu/wellness/kitchen.html", "", "Cookbook Club"];

fadeimages1633 [5]=["https://illinois.edu/lb/files/2009/09/03/21309.jpg", "http://www.campusrec.illinois.edu/membership/locker&amp;guest_fees.html", "", "Rent A Locker"];

fadeimages1633 [6]=["https://illinois.edu/lb/files/2009/09/03/21315.jpg", "http://www.student-valet.com", "", "Student Valet"];

fadeimages1633 [7]=["https://illinois.edu/lb/files/2009/09/03/21311.jpg", "http://www.campusrec.illinois.edu/wellnesscenter/", "", "UI Wellness Center"];

fadeimages1633 [8]=["https://illinois.edu/lb/files/2009/09/03/21317.jpg", "http://illinois.edu/calendar/Calendar?calId=2595", "", "Wellness Wednesdays"];
var fadebgcolor1633="white"

////NO need to edit beyond here/////////////

var fadearray1633=new Array() //array to cache fadeshow instances
var fadeclear1633=new Array() //array to cache corresponding clearinterval pointers

var dom1633=(document.getElementById) //modern dom browsers
var iebrowser1633=document.all

function fadeshow1633(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1633=pause
this.mouseovercheck1633=0
this.delay1633=delay
this.degree1633=10 //initial opacity degree (10%)
this.curimageindex1633=0
this.nextimageindex1633=1
fadearray1633[fadearray1633.length]=this
this.slideshowid1633=fadearray1633.length-1
this.canvasbase1633="canvas1633"+this.slideshowid1633
this.curcanvas1633=this.canvasbase1633+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1633=theimages
this.imageborder1633=parseInt(borderwidth)
this.postimages1633=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1633[p]=new Image()
this.postimages1633[p].src=theimages[p][0]
this.postimages1633[p].alt=theimages[p][3]
}

var fadewidth1633=fadewidth+this.imageborder1633*2
var fadeheight1633=fadeheight+this.imageborder1633*2

if (iebrowser1633&&dom1633||dom1633) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1633'+this.slideshowid1633+'" class="slide-show-wrapper-1633" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1633+'_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:'+fadebgcolor1633+'"></div><div id="'+this.canvasbase1633+'_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:'+fadebgcolor1633+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1633-content-with-border" name="defaultslide1633'+this.slideshowid1633+'" src="'+this.postimages1633[0].src+'" alt="'+this.postimages1633[0].alt+'"></div>')

if (iebrowser1633&&dom1633||dom1633) //if IE5+ or modern browsers such as Firefox
this.startit1633()
else{
this.curimageindex1633++
setInterval("fadearray1633["+this.slideshowid1633+"].rotateimage1633()", this.delay1633)
}
}





function fadepic1633(obj1633){
if (obj1633.degree1633<100){
obj1633.degree1633+=10
if (obj1633.tempobj1633.filters&&obj1633.tempobj1633.filters[0]){
if (typeof obj1633.tempobj1633.filters[0].opacity=="number") //if IE6+
obj1633.tempobj1633.filters[0].opacity=obj1633.degree1633
else //else if IE5.5-
obj1633.tempobj1633.style.filter="alpha(opacity="+obj1633.degree1633+")"
}
else if (obj1633.tempobj1633.style.MozOpacity)
obj1633.tempobj1633.style.MozOpacity=obj1633.degree1633/101
else if (obj1633.tempobj1633.style.KhtmlOpacity)
obj1633.tempobj1633.style.KhtmlOpacity=obj1633.degree1633/100
else if (obj1633.tempobj1633.style.opacity&&!obj1633.tempobj1633.filters)
obj1633.tempobj1633.style.opacity=obj1633.degree1633/101
}
else{
clearInterval(fadeclear1633[obj1633.slideshowid1633])
obj1633.nextcanvas1633=(obj1633.curcanvas1633==obj1633.canvasbase1633+"_0")? obj1633.canvasbase1633+"_0" : obj1633.canvasbase1633+"_1"
obj1633.tempobj1633=iebrowser1633? iebrowser1633[obj1633.nextcanvas1633] : document.getElementById(obj1633.nextcanvas1633)
obj1633.populateslide1633(obj1633.tempobj1633, obj1633.nextimageindex1633)
obj1633.nextimageindex1633=(obj1633.nextimageindex1633<obj1633.postimages1633.length-1)? obj1633.nextimageindex1633+1 : 0
setTimeout("fadearray1633["+obj1633.slideshowid1633+"].rotateimage1633()", obj1633.delay1633)
}
}


fadeshow1633.prototype.populateslide1633=function(picobj1633, picindex1633){
var slideHTML1633=""
if (this.theimages1633[picindex1633][1]!="") //if associated link exists for image
slideHTML1633='<a href="'+this.theimages1633[picindex1633][1]+'" target="'+this.theimages1633[picindex1633][2]+'">'
slideHTML1633+='<img class="edu-il-ws-1633-content-with-border" src="'+this.postimages1633[picindex1633].src+'" alt="'+this.postimages1633[picindex1633].alt+'" border="'+this.imageborder1633+'px">'
if (this.theimages1633[picindex1633][1]!="") //if associated link exists for image
slideHTML1633+='</a>'
picobj1633.innerHTML=slideHTML1633
}


fadeshow1633.prototype.rotateimage1633=function(){
if (this.pausecheck1633==1) //if pause onMouseover enabled, cache object
var cacheobj1633=this
if (this.mouseovercheck1633==1)
setTimeout(function(){cacheobj1633.rotateimage1633()}, 100)
else if (iebrowser1633&&dom1633||dom1633){
this.resetit1633()
var crossobj1633=this.tempobj1633=iebrowser1633? iebrowser1633[this.curcanvas1633] : document.getElementById(this.curcanvas1633)
crossobj1633.style.zIndex++
fadeclear1633[this.slideshowid1633]=setInterval("fadepic1633(fadearray1633["+this.slideshowid1633+"])",50)
this.curcanvas1633=(this.curcanvas1633==this.canvasbase1633+"_0")? this.canvasbase1633+"_1" : this.canvasbase1633+"_0"
}
else{
var ns4imgobj1633=document.images['defaultslide1633'+this.slideshowid1633]
ns4imgobj1633.src=this.postimages1633[this.curimageindex1633].src
ms4imgobj1633.alt=this.postimages1633[this.curimageindex1633].alt
}
this.curimageindex1633=(this.curimageindex1633<this.postimages1633.length-1)? this.curimageindex1633+1 : 0
}

fadeshow1633.prototype.resetit1633=function(){
this.degree1633=10
var crossobj1633=iebrowser1633? iebrowser1633[this.curcanvas1633] : document.getElementById(this.curcanvas1633)
if (crossobj1633.filters&&crossobj1633.filters[0]){
if (typeof crossobj1633.filters[0].opacity=="number") //if IE6+
crossobj1633.filters(0).opacity=this.degree1633
else //else if IE5.5-
crossobj1633.style.filter="alpha(opacity="+this.degree1633+")"
}
else if (crossobj1633.style.MozOpacity)
crossobj1633.style.MozOpacity=this.degree1633/101
else if (crossobj1633.style.KhtmlOpacity)
crossobj1633.style.KhtmlOpacity=this.degree1633/100
else if (crossobj1633.style.opacity&&!crossobj1633.filters)
crossobj1633.style.opacity=this.degree1633/101
}


fadeshow1633.prototype.startit1633=function(){
var crossobj1633=iebrowser1633? iebrowser1633[this.curcanvas1633] : document.getElementById(this.curcanvas1633)
this.populateslide1633(crossobj1633, this.curimageindex1633)
if (this.pausecheck1633==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1633=this
var crossobjcontainer1633=iebrowser1633? iebrowser1633["master1633"+this.slideshowid1633] : document.getElementById("master1633"+this.slideshowid1633)
crossobjcontainer1633.onmouseover=function(){cacheobj1633.mouseovercheck1633=1}
crossobjcontainer1633.onmouseout=function(){cacheobj1633.mouseovercheck1633=0}
}
this.rotateimage1633()
}
var delay = 5 * 1000;
new fadeshow1633 (fadeimages1633, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
