var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1521{';
wsContentVar += '        width:1000px;';
wsContentVar += '        height:176px;';
wsContentVar += '        xxxborder:1px solid black;';
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 fadeimages1521=new Array()

fadeimages1521 [0]=["https://illinois.edu/lb/files/2009/08/24/21032.jpg", "", "", "Illinois Swimming and Diving"];

fadeimages1521 [1]=["https://illinois.edu/lb/files/2009/08/24/21030.jpg", "", "", "Swimming and Diving"];
var fadebgcolor1521="white"

////NO need to edit beyond here/////////////

var fadearray1521=new Array() //array to cache fadeshow instances
var fadeclear1521=new Array() //array to cache corresponding clearinterval pointers

var dom1521=(document.getElementById) //modern dom browsers
var iebrowser1521=document.all

function fadeshow1521(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1521=pause
this.mouseovercheck1521=0
this.delay1521=delay
this.degree1521=10 //initial opacity degree (10%)
this.curimageindex1521=0
this.nextimageindex1521=1
fadearray1521[fadearray1521.length]=this
this.slideshowid1521=fadearray1521.length-1
this.canvasbase1521="canvas1521"+this.slideshowid1521
this.curcanvas1521=this.canvasbase1521+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1521=theimages
this.imageborder1521=parseInt(borderwidth)
this.postimages1521=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1521[p]=new Image()
this.postimages1521[p].src=theimages[p][0]
this.postimages1521[p].alt=theimages[p][3]
}

var fadewidth1521=fadewidth+this.imageborder1521*2
var fadeheight1521=fadeheight+this.imageborder1521*2

if (iebrowser1521&&dom1521||dom1521) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1521'+this.slideshowid1521+'" class="slide-show-wrapper-1521" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1521+'_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:'+fadebgcolor1521+'"></div><div id="'+this.canvasbase1521+'_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:'+fadebgcolor1521+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1521-content-with-border" name="defaultslide1521'+this.slideshowid1521+'" src="'+this.postimages1521[0].src+'" alt="'+this.postimages1521[0].alt+'"></div>')

if (iebrowser1521&&dom1521||dom1521) //if IE5+ or modern browsers such as Firefox
this.startit1521()
else{
this.curimageindex1521++
setInterval("fadearray1521["+this.slideshowid1521+"].rotateimage1521()", this.delay1521)
}
}





function fadepic1521(obj1521){
if (obj1521.degree1521<100){
obj1521.degree1521+=10
if (obj1521.tempobj1521.filters&&obj1521.tempobj1521.filters[0]){
if (typeof obj1521.tempobj1521.filters[0].opacity=="number") //if IE6+
obj1521.tempobj1521.filters[0].opacity=obj1521.degree1521
else //else if IE5.5-
obj1521.tempobj1521.style.filter="alpha(opacity="+obj1521.degree1521+")"
}
else if (obj1521.tempobj1521.style.MozOpacity)
obj1521.tempobj1521.style.MozOpacity=obj1521.degree1521/101
else if (obj1521.tempobj1521.style.KhtmlOpacity)
obj1521.tempobj1521.style.KhtmlOpacity=obj1521.degree1521/100
else if (obj1521.tempobj1521.style.opacity&&!obj1521.tempobj1521.filters)
obj1521.tempobj1521.style.opacity=obj1521.degree1521/101
}
else{
clearInterval(fadeclear1521[obj1521.slideshowid1521])
obj1521.nextcanvas1521=(obj1521.curcanvas1521==obj1521.canvasbase1521+"_0")? obj1521.canvasbase1521+"_0" : obj1521.canvasbase1521+"_1"
obj1521.tempobj1521=iebrowser1521? iebrowser1521[obj1521.nextcanvas1521] : document.getElementById(obj1521.nextcanvas1521)
obj1521.populateslide1521(obj1521.tempobj1521, obj1521.nextimageindex1521)
obj1521.nextimageindex1521=(obj1521.nextimageindex1521<obj1521.postimages1521.length-1)? obj1521.nextimageindex1521+1 : 0
setTimeout("fadearray1521["+obj1521.slideshowid1521+"].rotateimage1521()", obj1521.delay1521)
}
}


fadeshow1521.prototype.populateslide1521=function(picobj1521, picindex1521){
var slideHTML1521=""
if (this.theimages1521[picindex1521][1]!="") //if associated link exists for image
slideHTML1521='<a href="'+this.theimages1521[picindex1521][1]+'" target="'+this.theimages1521[picindex1521][2]+'">'
slideHTML1521+='<img class="edu-il-ws-1521-content-with-border" src="'+this.postimages1521[picindex1521].src+'" alt="'+this.postimages1521[picindex1521].alt+'" border="'+this.imageborder1521+'px">'
if (this.theimages1521[picindex1521][1]!="") //if associated link exists for image
slideHTML1521+='</a>'
picobj1521.innerHTML=slideHTML1521
}


fadeshow1521.prototype.rotateimage1521=function(){
if (this.pausecheck1521==1) //if pause onMouseover enabled, cache object
var cacheobj1521=this
if (this.mouseovercheck1521==1)
setTimeout(function(){cacheobj1521.rotateimage1521()}, 100)
else if (iebrowser1521&&dom1521||dom1521){
this.resetit1521()
var crossobj1521=this.tempobj1521=iebrowser1521? iebrowser1521[this.curcanvas1521] : document.getElementById(this.curcanvas1521)
crossobj1521.style.zIndex++
fadeclear1521[this.slideshowid1521]=setInterval("fadepic1521(fadearray1521["+this.slideshowid1521+"])",50)
this.curcanvas1521=(this.curcanvas1521==this.canvasbase1521+"_0")? this.canvasbase1521+"_1" : this.canvasbase1521+"_0"
}
else{
var ns4imgobj1521=document.images['defaultslide1521'+this.slideshowid1521]
ns4imgobj1521.src=this.postimages1521[this.curimageindex1521].src
ms4imgobj1521.alt=this.postimages1521[this.curimageindex1521].alt
}
this.curimageindex1521=(this.curimageindex1521<this.postimages1521.length-1)? this.curimageindex1521+1 : 0
}

fadeshow1521.prototype.resetit1521=function(){
this.degree1521=10
var crossobj1521=iebrowser1521? iebrowser1521[this.curcanvas1521] : document.getElementById(this.curcanvas1521)
if (crossobj1521.filters&&crossobj1521.filters[0]){
if (typeof crossobj1521.filters[0].opacity=="number") //if IE6+
crossobj1521.filters(0).opacity=this.degree1521
else //else if IE5.5-
crossobj1521.style.filter="alpha(opacity="+this.degree1521+")"
}
else if (crossobj1521.style.MozOpacity)
crossobj1521.style.MozOpacity=this.degree1521/101
else if (crossobj1521.style.KhtmlOpacity)
crossobj1521.style.KhtmlOpacity=this.degree1521/100
else if (crossobj1521.style.opacity&&!crossobj1521.filters)
crossobj1521.style.opacity=this.degree1521/101
}


fadeshow1521.prototype.startit1521=function(){
var crossobj1521=iebrowser1521? iebrowser1521[this.curcanvas1521] : document.getElementById(this.curcanvas1521)
this.populateslide1521(crossobj1521, this.curimageindex1521)
if (this.pausecheck1521==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1521=this
var crossobjcontainer1521=iebrowser1521? iebrowser1521["master1521"+this.slideshowid1521] : document.getElementById("master1521"+this.slideshowid1521)
crossobjcontainer1521.onmouseover=function(){cacheobj1521.mouseovercheck1521=1}
crossobjcontainer1521.onmouseout=function(){cacheobj1521.mouseovercheck1521=0}
}
this.rotateimage1521()
}
var delay = 8 * 1000;
new fadeshow1521 (fadeimages1521, 250, 250, 0, delay, 1, 'truefalse')

document.write("");
