var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1408{';
wsContentVar += '        width:1000px;';
wsContentVar += '        height:176px;';
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 fadeimages1408=new Array()

fadeimages1408 [0]=["https://illinois.edu/lb/files/2011/06/10/33930.jpg", "", "", ""];

fadeimages1408 [1]=["https://illinois.edu/lb/files/2011/06/10/33931.jpg", "", "", ""];

fadeimages1408 [2]=["https://illinois.edu/lb/files/2009/08/24/21044.jpg", "http://twitter.com/IlliniVBHambly", "", "Twitter"];
var fadebgcolor1408="white"

////NO need to edit beyond here/////////////

var fadearray1408=new Array() //array to cache fadeshow instances
var fadeclear1408=new Array() //array to cache corresponding clearinterval pointers

var dom1408=(document.getElementById) //modern dom browsers
var iebrowser1408=document.all

function fadeshow1408(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1408=pause
this.mouseovercheck1408=0
this.delay1408=delay
this.degree1408=10 //initial opacity degree (10%)
this.curimageindex1408=0
this.nextimageindex1408=1
fadearray1408[fadearray1408.length]=this
this.slideshowid1408=fadearray1408.length-1
this.canvasbase1408="canvas1408"+this.slideshowid1408
this.curcanvas1408=this.canvasbase1408+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1408=theimages
this.imageborder1408=parseInt(borderwidth)
this.postimages1408=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1408[p]=new Image()
this.postimages1408[p].src=theimages[p][0]
this.postimages1408[p].alt=theimages[p][3]
}

var fadewidth1408=fadewidth+this.imageborder1408*2
var fadeheight1408=fadeheight+this.imageborder1408*2

if (iebrowser1408&&dom1408||dom1408) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1408'+this.slideshowid1408+'" class="slide-show-wrapper-1408" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1408+'_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:'+fadebgcolor1408+'"></div><div id="'+this.canvasbase1408+'_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:'+fadebgcolor1408+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1408-content-with-border" name="defaultslide1408'+this.slideshowid1408+'" src="'+this.postimages1408[0].src+'" alt="'+this.postimages1408[0].alt+'"></div>')

if (iebrowser1408&&dom1408||dom1408) //if IE5+ or modern browsers such as Firefox
this.startit1408()
else{
this.curimageindex1408++
setInterval("fadearray1408["+this.slideshowid1408+"].rotateimage1408()", this.delay1408)
}
}





function fadepic1408(obj1408){
if (obj1408.degree1408<100){
obj1408.degree1408+=10
if (obj1408.tempobj1408.filters&&obj1408.tempobj1408.filters[0]){
if (typeof obj1408.tempobj1408.filters[0].opacity=="number") //if IE6+
obj1408.tempobj1408.filters[0].opacity=obj1408.degree1408
else //else if IE5.5-
obj1408.tempobj1408.style.filter="alpha(opacity="+obj1408.degree1408+")"
}
else if (obj1408.tempobj1408.style.MozOpacity)
obj1408.tempobj1408.style.MozOpacity=obj1408.degree1408/101
else if (obj1408.tempobj1408.style.KhtmlOpacity)
obj1408.tempobj1408.style.KhtmlOpacity=obj1408.degree1408/100
else if (obj1408.tempobj1408.style.opacity&&!obj1408.tempobj1408.filters)
obj1408.tempobj1408.style.opacity=obj1408.degree1408/101
}
else{
clearInterval(fadeclear1408[obj1408.slideshowid1408])
obj1408.nextcanvas1408=(obj1408.curcanvas1408==obj1408.canvasbase1408+"_0")? obj1408.canvasbase1408+"_0" : obj1408.canvasbase1408+"_1"
obj1408.tempobj1408=iebrowser1408? iebrowser1408[obj1408.nextcanvas1408] : document.getElementById(obj1408.nextcanvas1408)
obj1408.populateslide1408(obj1408.tempobj1408, obj1408.nextimageindex1408)
obj1408.nextimageindex1408=(obj1408.nextimageindex1408<obj1408.postimages1408.length-1)? obj1408.nextimageindex1408+1 : 0
setTimeout("fadearray1408["+obj1408.slideshowid1408+"].rotateimage1408()", obj1408.delay1408)
}
}


fadeshow1408.prototype.populateslide1408=function(picobj1408, picindex1408){
var slideHTML1408=""
if (this.theimages1408[picindex1408][1]!="") //if associated link exists for image
slideHTML1408='<a href="'+this.theimages1408[picindex1408][1]+'" target="'+this.theimages1408[picindex1408][2]+'">'
slideHTML1408+='<img class="edu-il-ws-1408-content-with-border" src="'+this.postimages1408[picindex1408].src+'" alt="'+this.postimages1408[picindex1408].alt+'" border="'+this.imageborder1408+'px">'
if (this.theimages1408[picindex1408][1]!="") //if associated link exists for image
slideHTML1408+='</a>'
picobj1408.innerHTML=slideHTML1408
}


fadeshow1408.prototype.rotateimage1408=function(){
if (this.pausecheck1408==1) //if pause onMouseover enabled, cache object
var cacheobj1408=this
if (this.mouseovercheck1408==1)
setTimeout(function(){cacheobj1408.rotateimage1408()}, 100)
else if (iebrowser1408&&dom1408||dom1408){
this.resetit1408()
var crossobj1408=this.tempobj1408=iebrowser1408? iebrowser1408[this.curcanvas1408] : document.getElementById(this.curcanvas1408)
crossobj1408.style.zIndex++
fadeclear1408[this.slideshowid1408]=setInterval("fadepic1408(fadearray1408["+this.slideshowid1408+"])",50)
this.curcanvas1408=(this.curcanvas1408==this.canvasbase1408+"_0")? this.canvasbase1408+"_1" : this.canvasbase1408+"_0"
}
else{
var ns4imgobj1408=document.images['defaultslide1408'+this.slideshowid1408]
ns4imgobj1408.src=this.postimages1408[this.curimageindex1408].src
ms4imgobj1408.alt=this.postimages1408[this.curimageindex1408].alt
}
this.curimageindex1408=(this.curimageindex1408<this.postimages1408.length-1)? this.curimageindex1408+1 : 0
}

fadeshow1408.prototype.resetit1408=function(){
this.degree1408=10
var crossobj1408=iebrowser1408? iebrowser1408[this.curcanvas1408] : document.getElementById(this.curcanvas1408)
if (crossobj1408.filters&&crossobj1408.filters[0]){
if (typeof crossobj1408.filters[0].opacity=="number") //if IE6+
crossobj1408.filters(0).opacity=this.degree1408
else //else if IE5.5-
crossobj1408.style.filter="alpha(opacity="+this.degree1408+")"
}
else if (crossobj1408.style.MozOpacity)
crossobj1408.style.MozOpacity=this.degree1408/101
else if (crossobj1408.style.KhtmlOpacity)
crossobj1408.style.KhtmlOpacity=this.degree1408/100
else if (crossobj1408.style.opacity&&!crossobj1408.filters)
crossobj1408.style.opacity=this.degree1408/101
}


fadeshow1408.prototype.startit1408=function(){
var crossobj1408=iebrowser1408? iebrowser1408[this.curcanvas1408] : document.getElementById(this.curcanvas1408)
this.populateslide1408(crossobj1408, this.curimageindex1408)
if (this.pausecheck1408==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1408=this
var crossobjcontainer1408=iebrowser1408? iebrowser1408["master1408"+this.slideshowid1408] : document.getElementById("master1408"+this.slideshowid1408)
crossobjcontainer1408.onmouseover=function(){cacheobj1408.mouseovercheck1408=1}
crossobjcontainer1408.onmouseout=function(){cacheobj1408.mouseovercheck1408=0}
}
this.rotateimage1408()
}
var delay = 8 * 1000;
new fadeshow1408 (fadeimages1408, 250, 250, 0, delay, 1, 'truefalse')

document.write("");

