var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1285{';
wsContentVar += '        width:748px;';
wsContentVar += '        height:250px;';
wsContentVar += ' z-index:0;';
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 fadeimages1285=new Array()

fadeimages1285 [0]=["https://illinois.edu/lb/files/2009/10/19/22376.jpg", "", "_new", "Cavenaugh Resource Library Dedication"];

fadeimages1285 [1]=["https://illinois.edu/lb/files/2009/10/19/22379.jpg", "", "_new", "OIIR 2009 Student Leadership Retreat"];

fadeimages1285 [2]=["https://illinois.edu/lb/files/2009/10/19/22380.jpg", "", "_new", "OIIR 2009 Student Leadership Retreat"];

fadeimages1285 [3]=["https://illinois.edu/lb/files/2009/05/09/10391.jpg", "http://studentaffairs.illinois.edu/diversity/studentCompetition.html", "_new", ""];

fadeimages1285 [4]=["https://illinois.edu/lb/files/2009/08/18/20789.jpg", "http://illinois.edu/pc/article/987/24488", "_new", "Student of the Year: Sarah Blatti"];

fadeimages1285 [5]=["https://illinois.edu/lb/files/2008/07/10/4158.jpg", "", "_new", ""];

fadeimages1285 [6]=["https://illinois.edu/lb/files/2008/07/10/4159.jpg", "", "_new", ""];
var fadebgcolor1285="white"

////NO need to edit beyond here/////////////

var fadearray1285=new Array() //array to cache fadeshow instances
var fadeclear1285=new Array() //array to cache corresponding clearinterval pointers

var dom1285=(document.getElementById) //modern dom browsers
var iebrowser1285=document.all

function fadeshow1285(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1285=pause
this.mouseovercheck1285=0
this.delay1285=delay
this.degree1285=10 //initial opacity degree (10%)
this.curimageindex1285=0
this.nextimageindex1285=1
fadearray1285[fadearray1285.length]=this
this.slideshowid1285=fadearray1285.length-1
this.canvasbase1285="canvas1285"+this.slideshowid1285
this.curcanvas1285=this.canvasbase1285+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1285=theimages
this.imageborder1285=parseInt(borderwidth)
this.postimages1285=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1285[p]=new Image()
this.postimages1285[p].src=theimages[p][0]
this.postimages1285[p].alt=theimages[p][3]
}

var fadewidth1285=fadewidth+this.imageborder1285*2
var fadeheight1285=fadeheight+this.imageborder1285*2

if (iebrowser1285&&dom1285||dom1285) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1285'+this.slideshowid1285+'" class="slide-show-wrapper-1285" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1285+'_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:'+fadebgcolor1285+'"></div><div id="'+this.canvasbase1285+'_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:'+fadebgcolor1285+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1285-content-with-border" name="defaultslide1285'+this.slideshowid1285+'" src="'+this.postimages1285[0].src+'" alt="'+this.postimages1285[0].alt+'"></div>')

if (iebrowser1285&&dom1285||dom1285) //if IE5+ or modern browsers such as Firefox
this.startit1285()
else{
this.curimageindex1285++
setInterval("fadearray1285["+this.slideshowid1285+"].rotateimage1285()", this.delay1285)
}
}





function fadepic1285(obj1285){
if (obj1285.degree1285<100){
obj1285.degree1285+=10
if (obj1285.tempobj1285.filters&&obj1285.tempobj1285.filters[0]){
if (typeof obj1285.tempobj1285.filters[0].opacity=="number") //if IE6+
obj1285.tempobj1285.filters[0].opacity=obj1285.degree1285
else //else if IE5.5-
obj1285.tempobj1285.style.filter="alpha(opacity="+obj1285.degree1285+")"
}
else if (obj1285.tempobj1285.style.MozOpacity)
obj1285.tempobj1285.style.MozOpacity=obj1285.degree1285/101
else if (obj1285.tempobj1285.style.KhtmlOpacity)
obj1285.tempobj1285.style.KhtmlOpacity=obj1285.degree1285/100
else if (obj1285.tempobj1285.style.opacity&&!obj1285.tempobj1285.filters)
obj1285.tempobj1285.style.opacity=obj1285.degree1285/101
}
else{
clearInterval(fadeclear1285[obj1285.slideshowid1285])
obj1285.nextcanvas1285=(obj1285.curcanvas1285==obj1285.canvasbase1285+"_0")? obj1285.canvasbase1285+"_0" : obj1285.canvasbase1285+"_1"
obj1285.tempobj1285=iebrowser1285? iebrowser1285[obj1285.nextcanvas1285] : document.getElementById(obj1285.nextcanvas1285)
obj1285.populateslide1285(obj1285.tempobj1285, obj1285.nextimageindex1285)
obj1285.nextimageindex1285=(obj1285.nextimageindex1285<obj1285.postimages1285.length-1)? obj1285.nextimageindex1285+1 : 0
setTimeout("fadearray1285["+obj1285.slideshowid1285+"].rotateimage1285()", obj1285.delay1285)
}
}


fadeshow1285.prototype.populateslide1285=function(picobj1285, picindex1285){
var slideHTML1285=""
if (this.theimages1285[picindex1285][1]!="") //if associated link exists for image
slideHTML1285='<a href="'+this.theimages1285[picindex1285][1]+'" target="'+this.theimages1285[picindex1285][2]+'">'
slideHTML1285+='<img class="edu-il-ws-1285-content-with-border" src="'+this.postimages1285[picindex1285].src+'" alt="'+this.postimages1285[picindex1285].alt+'" border="'+this.imageborder1285+'px">'
if (this.theimages1285[picindex1285][1]!="") //if associated link exists for image
slideHTML1285+='</a>'
picobj1285.innerHTML=slideHTML1285
}


fadeshow1285.prototype.rotateimage1285=function(){
if (this.pausecheck1285==1) //if pause onMouseover enabled, cache object
var cacheobj1285=this
if (this.mouseovercheck1285==1)
setTimeout(function(){cacheobj1285.rotateimage1285()}, 100)
else if (iebrowser1285&&dom1285||dom1285){
this.resetit1285()
var crossobj1285=this.tempobj1285=iebrowser1285? iebrowser1285[this.curcanvas1285] : document.getElementById(this.curcanvas1285)
crossobj1285.style.zIndex++
fadeclear1285[this.slideshowid1285]=setInterval("fadepic1285(fadearray1285["+this.slideshowid1285+"])",50)
this.curcanvas1285=(this.curcanvas1285==this.canvasbase1285+"_0")? this.canvasbase1285+"_1" : this.canvasbase1285+"_0"
}
else{
var ns4imgobj1285=document.images['defaultslide1285'+this.slideshowid1285]
ns4imgobj1285.src=this.postimages1285[this.curimageindex1285].src
ms4imgobj1285.alt=this.postimages1285[this.curimageindex1285].alt
}
this.curimageindex1285=(this.curimageindex1285<this.postimages1285.length-1)? this.curimageindex1285+1 : 0
}

fadeshow1285.prototype.resetit1285=function(){
this.degree1285=10
var crossobj1285=iebrowser1285? iebrowser1285[this.curcanvas1285] : document.getElementById(this.curcanvas1285)
if (crossobj1285.filters&&crossobj1285.filters[0]){
if (typeof crossobj1285.filters[0].opacity=="number") //if IE6+
crossobj1285.filters(0).opacity=this.degree1285
else //else if IE5.5-
crossobj1285.style.filter="alpha(opacity="+this.degree1285+")"
}
else if (crossobj1285.style.MozOpacity)
crossobj1285.style.MozOpacity=this.degree1285/101
else if (crossobj1285.style.KhtmlOpacity)
crossobj1285.style.KhtmlOpacity=this.degree1285/100
else if (crossobj1285.style.opacity&&!crossobj1285.filters)
crossobj1285.style.opacity=this.degree1285/101
}


fadeshow1285.prototype.startit1285=function(){
var crossobj1285=iebrowser1285? iebrowser1285[this.curcanvas1285] : document.getElementById(this.curcanvas1285)
this.populateslide1285(crossobj1285, this.curimageindex1285)
if (this.pausecheck1285==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1285=this
var crossobjcontainer1285=iebrowser1285? iebrowser1285["master1285"+this.slideshowid1285] : document.getElementById("master1285"+this.slideshowid1285)
crossobjcontainer1285.onmouseover=function(){cacheobj1285.mouseovercheck1285=1}
crossobjcontainer1285.onmouseout=function(){cacheobj1285.mouseovercheck1285=0}
}
this.rotateimage1285()
}
var delay = 3 * 1000;
new fadeshow1285 (fadeimages1285, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
