var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1598{';
wsContentVar += '        width:680px;';
wsContentVar += '        height:200px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1598-content-with-border{';
wsContentVar += '   height:200px;';
wsContentVar += '   width:680px;';
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 fadeimages1598=new Array()

fadeimages1598 [0]=["https://illinois.edu/lb/files/2009/11/09/22871.jpg", "http://odosdev.uiuc.edu/emergency/index.asp", "", "E-Dean"];

fadeimages1598 [1]=["https://illinois.edu/lb/files/2009/11/09/22877.jpg", "http://www.odos.uiuc.edu/sls/index.asp", "", "Student Legal Service"];

fadeimages1598 [2]=["https://illinois.edu/lb/files/2009/09/17/21661.jpg", "http://veterans.odosdev.illinois.edu/", "", "Veterans Website"];
var fadebgcolor1598="white"

////NO need to edit beyond here/////////////

var fadearray1598=new Array() //array to cache fadeshow instances
var fadeclear1598=new Array() //array to cache corresponding clearinterval pointers

var dom1598=(document.getElementById) //modern dom browsers
var iebrowser1598=document.all

function fadeshow1598(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1598=pause
this.mouseovercheck1598=0
this.delay1598=delay
this.degree1598=10 //initial opacity degree (10%)
this.curimageindex1598=0
this.nextimageindex1598=1
fadearray1598[fadearray1598.length]=this
this.slideshowid1598=fadearray1598.length-1
this.canvasbase1598="canvas1598"+this.slideshowid1598
this.curcanvas1598=this.canvasbase1598+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1598=theimages
this.imageborder1598=parseInt(borderwidth)
this.postimages1598=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1598[p]=new Image()
this.postimages1598[p].src=theimages[p][0]
this.postimages1598[p].alt=theimages[p][3]
}

var fadewidth1598=fadewidth+this.imageborder1598*2
var fadeheight1598=fadeheight+this.imageborder1598*2

if (iebrowser1598&&dom1598||dom1598) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1598'+this.slideshowid1598+'" class="slide-show-wrapper-1598" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1598+'_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:'+fadebgcolor1598+'"></div><div id="'+this.canvasbase1598+'_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:'+fadebgcolor1598+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1598-content-with-border" name="defaultslide1598'+this.slideshowid1598+'" src="'+this.postimages1598[0].src+'" alt="'+this.postimages1598[0].alt+'"></div>')

if (iebrowser1598&&dom1598||dom1598) //if IE5+ or modern browsers such as Firefox
this.startit1598()
else{
this.curimageindex1598++
setInterval("fadearray1598["+this.slideshowid1598+"].rotateimage1598()", this.delay1598)
}
}





function fadepic1598(obj1598){
if (obj1598.degree1598<100){
obj1598.degree1598+=10
if (obj1598.tempobj1598.filters&&obj1598.tempobj1598.filters[0]){
if (typeof obj1598.tempobj1598.filters[0].opacity=="number") //if IE6+
obj1598.tempobj1598.filters[0].opacity=obj1598.degree1598
else //else if IE5.5-
obj1598.tempobj1598.style.filter="alpha(opacity="+obj1598.degree1598+")"
}
else if (obj1598.tempobj1598.style.MozOpacity)
obj1598.tempobj1598.style.MozOpacity=obj1598.degree1598/101
else if (obj1598.tempobj1598.style.KhtmlOpacity)
obj1598.tempobj1598.style.KhtmlOpacity=obj1598.degree1598/100
else if (obj1598.tempobj1598.style.opacity&&!obj1598.tempobj1598.filters)
obj1598.tempobj1598.style.opacity=obj1598.degree1598/101
}
else{
clearInterval(fadeclear1598[obj1598.slideshowid1598])
obj1598.nextcanvas1598=(obj1598.curcanvas1598==obj1598.canvasbase1598+"_0")? obj1598.canvasbase1598+"_0" : obj1598.canvasbase1598+"_1"
obj1598.tempobj1598=iebrowser1598? iebrowser1598[obj1598.nextcanvas1598] : document.getElementById(obj1598.nextcanvas1598)
obj1598.populateslide1598(obj1598.tempobj1598, obj1598.nextimageindex1598)
obj1598.nextimageindex1598=(obj1598.nextimageindex1598<obj1598.postimages1598.length-1)? obj1598.nextimageindex1598+1 : 0
setTimeout("fadearray1598["+obj1598.slideshowid1598+"].rotateimage1598()", obj1598.delay1598)
}
}


fadeshow1598.prototype.populateslide1598=function(picobj1598, picindex1598){
var slideHTML1598=""
if (this.theimages1598[picindex1598][1]!="") //if associated link exists for image
slideHTML1598='<a href="'+this.theimages1598[picindex1598][1]+'" target="'+this.theimages1598[picindex1598][2]+'">'
slideHTML1598+='<img class="edu-il-ws-1598-content-with-border" src="'+this.postimages1598[picindex1598].src+'" alt="'+this.postimages1598[picindex1598].alt+'" border="'+this.imageborder1598+'px">'
if (this.theimages1598[picindex1598][1]!="") //if associated link exists for image
slideHTML1598+='</a>'
picobj1598.innerHTML=slideHTML1598
}


fadeshow1598.prototype.rotateimage1598=function(){
if (this.pausecheck1598==1) //if pause onMouseover enabled, cache object
var cacheobj1598=this
if (this.mouseovercheck1598==1)
setTimeout(function(){cacheobj1598.rotateimage1598()}, 100)
else if (iebrowser1598&&dom1598||dom1598){
this.resetit1598()
var crossobj1598=this.tempobj1598=iebrowser1598? iebrowser1598[this.curcanvas1598] : document.getElementById(this.curcanvas1598)
crossobj1598.style.zIndex++
fadeclear1598[this.slideshowid1598]=setInterval("fadepic1598(fadearray1598["+this.slideshowid1598+"])",50)
this.curcanvas1598=(this.curcanvas1598==this.canvasbase1598+"_0")? this.canvasbase1598+"_1" : this.canvasbase1598+"_0"
}
else{
var ns4imgobj1598=document.images['defaultslide1598'+this.slideshowid1598]
ns4imgobj1598.src=this.postimages1598[this.curimageindex1598].src
ms4imgobj1598.alt=this.postimages1598[this.curimageindex1598].alt
}
this.curimageindex1598=(this.curimageindex1598<this.postimages1598.length-1)? this.curimageindex1598+1 : 0
}

fadeshow1598.prototype.resetit1598=function(){
this.degree1598=10
var crossobj1598=iebrowser1598? iebrowser1598[this.curcanvas1598] : document.getElementById(this.curcanvas1598)
if (crossobj1598.filters&&crossobj1598.filters[0]){
if (typeof crossobj1598.filters[0].opacity=="number") //if IE6+
crossobj1598.filters(0).opacity=this.degree1598
else //else if IE5.5-
crossobj1598.style.filter="alpha(opacity="+this.degree1598+")"
}
else if (crossobj1598.style.MozOpacity)
crossobj1598.style.MozOpacity=this.degree1598/101
else if (crossobj1598.style.KhtmlOpacity)
crossobj1598.style.KhtmlOpacity=this.degree1598/100
else if (crossobj1598.style.opacity&&!crossobj1598.filters)
crossobj1598.style.opacity=this.degree1598/101
}


fadeshow1598.prototype.startit1598=function(){
var crossobj1598=iebrowser1598? iebrowser1598[this.curcanvas1598] : document.getElementById(this.curcanvas1598)
this.populateslide1598(crossobj1598, this.curimageindex1598)
if (this.pausecheck1598==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1598=this
var crossobjcontainer1598=iebrowser1598? iebrowser1598["master1598"+this.slideshowid1598] : document.getElementById("master1598"+this.slideshowid1598)
crossobjcontainer1598.onmouseover=function(){cacheobj1598.mouseovercheck1598=1}
crossobjcontainer1598.onmouseout=function(){cacheobj1598.mouseovercheck1598=0}
}
this.rotateimage1598()
}
var delay = 5 * 1000;
new fadeshow1598 (fadeimages1598, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
