var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1157{';
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 fadeimages1157=new Array()

fadeimages1157 [0]=["https://illinois.edu/lb/files/2011/04/28/33170.jpg", "http://www.fightingillini.com/sports/m-gym/recaps/040211aab.html", "", ""];

fadeimages1157 [1]=["https://illinois.edu/lb/files/2011/04/28/33169.jpg", "", "", ""];

fadeimages1157 [2]=["https://illinois.edu/lb/files/2011/04/28/33166.jpg", "", "", ""];

fadeimages1157 [3]=["https://illinois.edu/lb/files/2011/04/28/33167.jpg", "", "", ""];
var fadebgcolor1157="white"

////NO need to edit beyond here/////////////

var fadearray1157=new Array() //array to cache fadeshow instances
var fadeclear1157=new Array() //array to cache corresponding clearinterval pointers

var dom1157=(document.getElementById) //modern dom browsers
var iebrowser1157=document.all

function fadeshow1157(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1157=pause
this.mouseovercheck1157=0
this.delay1157=delay
this.degree1157=10 //initial opacity degree (10%)
this.curimageindex1157=0
this.nextimageindex1157=1
fadearray1157[fadearray1157.length]=this
this.slideshowid1157=fadearray1157.length-1
this.canvasbase1157="canvas1157"+this.slideshowid1157
this.curcanvas1157=this.canvasbase1157+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1157=theimages
this.imageborder1157=parseInt(borderwidth)
this.postimages1157=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1157[p]=new Image()
this.postimages1157[p].src=theimages[p][0]
this.postimages1157[p].alt=theimages[p][3]
}

var fadewidth1157=fadewidth+this.imageborder1157*2
var fadeheight1157=fadeheight+this.imageborder1157*2

if (iebrowser1157&&dom1157||dom1157) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1157'+this.slideshowid1157+'" class="slide-show-wrapper-1157" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1157+'_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:'+fadebgcolor1157+'"></div><div id="'+this.canvasbase1157+'_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:'+fadebgcolor1157+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1157-content-with-border" name="defaultslide1157'+this.slideshowid1157+'" src="'+this.postimages1157[0].src+'" alt="'+this.postimages1157[0].alt+'"></div>')

if (iebrowser1157&&dom1157||dom1157) //if IE5+ or modern browsers such as Firefox
this.startit1157()
else{
this.curimageindex1157++
setInterval("fadearray1157["+this.slideshowid1157+"].rotateimage1157()", this.delay1157)
}
}





function fadepic1157(obj1157){
if (obj1157.degree1157<100){
obj1157.degree1157+=10
if (obj1157.tempobj1157.filters&&obj1157.tempobj1157.filters[0]){
if (typeof obj1157.tempobj1157.filters[0].opacity=="number") //if IE6+
obj1157.tempobj1157.filters[0].opacity=obj1157.degree1157
else //else if IE5.5-
obj1157.tempobj1157.style.filter="alpha(opacity="+obj1157.degree1157+")"
}
else if (obj1157.tempobj1157.style.MozOpacity)
obj1157.tempobj1157.style.MozOpacity=obj1157.degree1157/101
else if (obj1157.tempobj1157.style.KhtmlOpacity)
obj1157.tempobj1157.style.KhtmlOpacity=obj1157.degree1157/100
else if (obj1157.tempobj1157.style.opacity&&!obj1157.tempobj1157.filters)
obj1157.tempobj1157.style.opacity=obj1157.degree1157/101
}
else{
clearInterval(fadeclear1157[obj1157.slideshowid1157])
obj1157.nextcanvas1157=(obj1157.curcanvas1157==obj1157.canvasbase1157+"_0")? obj1157.canvasbase1157+"_0" : obj1157.canvasbase1157+"_1"
obj1157.tempobj1157=iebrowser1157? iebrowser1157[obj1157.nextcanvas1157] : document.getElementById(obj1157.nextcanvas1157)
obj1157.populateslide1157(obj1157.tempobj1157, obj1157.nextimageindex1157)
obj1157.nextimageindex1157=(obj1157.nextimageindex1157<obj1157.postimages1157.length-1)? obj1157.nextimageindex1157+1 : 0
setTimeout("fadearray1157["+obj1157.slideshowid1157+"].rotateimage1157()", obj1157.delay1157)
}
}


fadeshow1157.prototype.populateslide1157=function(picobj1157, picindex1157){
var slideHTML1157=""
if (this.theimages1157[picindex1157][1]!="") //if associated link exists for image
slideHTML1157='<a href="'+this.theimages1157[picindex1157][1]+'" target="'+this.theimages1157[picindex1157][2]+'">'
slideHTML1157+='<img class="edu-il-ws-1157-content-with-border" src="'+this.postimages1157[picindex1157].src+'" alt="'+this.postimages1157[picindex1157].alt+'" border="'+this.imageborder1157+'px">'
if (this.theimages1157[picindex1157][1]!="") //if associated link exists for image
slideHTML1157+='</a>'
picobj1157.innerHTML=slideHTML1157
}


fadeshow1157.prototype.rotateimage1157=function(){
if (this.pausecheck1157==1) //if pause onMouseover enabled, cache object
var cacheobj1157=this
if (this.mouseovercheck1157==1)
setTimeout(function(){cacheobj1157.rotateimage1157()}, 100)
else if (iebrowser1157&&dom1157||dom1157){
this.resetit1157()
var crossobj1157=this.tempobj1157=iebrowser1157? iebrowser1157[this.curcanvas1157] : document.getElementById(this.curcanvas1157)
crossobj1157.style.zIndex++
fadeclear1157[this.slideshowid1157]=setInterval("fadepic1157(fadearray1157["+this.slideshowid1157+"])",50)
this.curcanvas1157=(this.curcanvas1157==this.canvasbase1157+"_0")? this.canvasbase1157+"_1" : this.canvasbase1157+"_0"
}
else{
var ns4imgobj1157=document.images['defaultslide1157'+this.slideshowid1157]
ns4imgobj1157.src=this.postimages1157[this.curimageindex1157].src
ms4imgobj1157.alt=this.postimages1157[this.curimageindex1157].alt
}
this.curimageindex1157=(this.curimageindex1157<this.postimages1157.length-1)? this.curimageindex1157+1 : 0
}

fadeshow1157.prototype.resetit1157=function(){
this.degree1157=10
var crossobj1157=iebrowser1157? iebrowser1157[this.curcanvas1157] : document.getElementById(this.curcanvas1157)
if (crossobj1157.filters&&crossobj1157.filters[0]){
if (typeof crossobj1157.filters[0].opacity=="number") //if IE6+
crossobj1157.filters(0).opacity=this.degree1157
else //else if IE5.5-
crossobj1157.style.filter="alpha(opacity="+this.degree1157+")"
}
else if (crossobj1157.style.MozOpacity)
crossobj1157.style.MozOpacity=this.degree1157/101
else if (crossobj1157.style.KhtmlOpacity)
crossobj1157.style.KhtmlOpacity=this.degree1157/100
else if (crossobj1157.style.opacity&&!crossobj1157.filters)
crossobj1157.style.opacity=this.degree1157/101
}


fadeshow1157.prototype.startit1157=function(){
var crossobj1157=iebrowser1157? iebrowser1157[this.curcanvas1157] : document.getElementById(this.curcanvas1157)
this.populateslide1157(crossobj1157, this.curimageindex1157)
if (this.pausecheck1157==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1157=this
var crossobjcontainer1157=iebrowser1157? iebrowser1157["master1157"+this.slideshowid1157] : document.getElementById("master1157"+this.slideshowid1157)
crossobjcontainer1157.onmouseover=function(){cacheobj1157.mouseovercheck1157=1}
crossobjcontainer1157.onmouseout=function(){cacheobj1157.mouseovercheck1157=0}
}
this.rotateimage1157()
}
var delay = 7 * 1000;
new fadeshow1157 (fadeimages1157, 250, 250, 0, delay, 1, 'truefalse')

document.write("");

