var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-4420{';
wsContentVar += '  width:736px;';
wsContentVar += '  height:313px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-4420-content-with-border{';
wsContentVar += '  width:736px;';
wsContentVar += '  height:314px;';
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 fadeimages4420=new Array()

fadeimages4420 [0]=["https://illinois.edu/lb/files/2012/02/16/37963.jpg", "http://www.exploraces.org/", "_new", "ExplorACES image"];

fadeimages4420 [1]=["https://illinois.edu/lb/files/2012/02/15/37956.jpg", "http://news.illinois.edu/news/12/0215insect_fear_film_fest_MayBerenbaum.html", "_new", "Insect Fear Film Festival"];

fadeimages4420 [2]=["https://illinois.edu/lb/files/2012/02/13/37795.jpg", "http://engineering.illinois.edu/news/2012/02/03/dream-design-and-discover-engineering-open-house-march-9-10", "_new", ""];

fadeimages4420 [3]=["https://illinois.edu/lb/files/2012/02/03/37652.jpg", "http://illinois.edu/lb/article/1303/59439", "_new", "Illini Prosthetics Image"];

fadeimages4420 [4]=["https://illinois.edu/lb/files/2011/12/19/36826.jpg", "http://www.campusrec.illinois.edu/facilities/arc/", "_new", "exterior night image of recreation center"];

fadeimages4420 [5]=["https://illinois.edu/lb/files/2012/01/06/36988.jpg", "http://illinois.edu/here_now/videos.html?destinationID=mbPAkSfY5U6szjNeqq6ZFw&amp;contentID=RTVVD9csDEq38xgh1PdVGg", "_new", "image of title screen for documentary, 'march to homecoming'"];

fadeimages4420 [6]=["https://illinois.edu/lb/files/2011/12/23/36912.jpg", "http://www.nature.com/news/365-days-nature-s-10-1.9678", "_new", "Dr. John Rogers Chosen as one of Nature's 10 scientists who mattered in 2011"];

fadeimages4420 [7]=["https://illinois.edu/lb/files/2011/12/21/36862.png", "http://news.illinois.edu/news/11/1220self-healing_ScottWhite_NancySottos_JeffreyMoore.html", "_new", "illustration of microcapsule-based healing for electronics"];

fadeimages4420 [8]=["https://illinois.edu/lb/files/2011/12/16/36794.jpg", "http://search.grainger.uiuc.edu/top/", "_new", "Students study at tables in the Grainger Engineering Library"];

fadeimages4420 [9]=["https://illinois.edu/lb/files/2011/10/18/35698.jpg", "http://illinois.edu/lb/iList/4420", "_new", "Orange Glasses"];
var fadebgcolor4420="white"

////NO need to edit beyond here/////////////

var fadearray4420=new Array() //array to cache fadeshow instances
var fadeclear4420=new Array() //array to cache corresponding clearinterval pointers

var dom4420=(document.getElementById) //modern dom browsers
var iebrowser4420=document.all

function fadeshow4420(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck4420=pause
this.mouseovercheck4420=0
this.delay4420=delay
this.degree4420=10 //initial opacity degree (10%)
this.curimageindex4420=0
this.nextimageindex4420=1
fadearray4420[fadearray4420.length]=this
this.slideshowid4420=fadearray4420.length-1
this.canvasbase4420="canvas4420"+this.slideshowid4420
this.curcanvas4420=this.canvasbase4420+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages4420=theimages
this.imageborder4420=parseInt(borderwidth)
this.postimages4420=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages4420[p]=new Image()
this.postimages4420[p].src=theimages[p][0]
this.postimages4420[p].alt=theimages[p][3]
}

var fadewidth4420=fadewidth+this.imageborder4420*2
var fadeheight4420=fadeheight+this.imageborder4420*2

if (iebrowser4420&&dom4420||dom4420) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master4420'+this.slideshowid4420+'" class="slide-show-wrapper-4420" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase4420+'_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:'+fadebgcolor4420+'"></div><div id="'+this.canvasbase4420+'_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:'+fadebgcolor4420+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-4420-content-with-border" name="defaultslide4420'+this.slideshowid4420+'" src="'+this.postimages4420[0].src+'" alt="'+this.postimages4420[0].alt+'"></div>')

if (iebrowser4420&&dom4420||dom4420) //if IE5+ or modern browsers such as Firefox
this.startit4420()
else{
this.curimageindex4420++
setInterval("fadearray4420["+this.slideshowid4420+"].rotateimage4420()", this.delay4420)
}
}





function fadepic4420(obj4420){
if (obj4420.degree4420<100){
obj4420.degree4420+=4
if (obj4420.tempobj4420.filters&&obj4420.tempobj4420.filters[0]){
if (typeof obj4420.tempobj4420.filters[0].opacity=="number") //if IE6+
obj4420.tempobj4420.filters[0].opacity=obj4420.degree4420
else //else if IE5.5-
obj4420.tempobj4420.style.filter="alpha(opacity="+obj4420.degree4420+")"
}
else if (obj4420.tempobj4420.style.MozOpacity)
obj4420.tempobj4420.style.MozOpacity=obj4420.degree4420/101
else if (obj4420.tempobj4420.style.KhtmlOpacity)
obj4420.tempobj4420.style.KhtmlOpacity=obj4420.degree4420/100
else if (obj4420.tempobj4420.style.opacity&&!obj4420.tempobj4420.filters)
obj4420.tempobj4420.style.opacity=obj4420.degree4420/101
}
else{
clearInterval(fadeclear4420[obj4420.slideshowid4420])
obj4420.nextcanvas4420=(obj4420.curcanvas4420==obj4420.canvasbase4420+"_0")? obj4420.canvasbase4420+"_0" : obj4420.canvasbase4420+"_1"
obj4420.tempobj4420=iebrowser4420? iebrowser4420[obj4420.nextcanvas4420] : document.getElementById(obj4420.nextcanvas4420)
obj4420.populateslide4420(obj4420.tempobj4420, obj4420.nextimageindex4420)
obj4420.nextimageindex4420=(obj4420.nextimageindex4420<obj4420.postimages4420.length-1)? obj4420.nextimageindex4420+1 : 0
setTimeout("fadearray4420["+obj4420.slideshowid4420+"].rotateimage4420()", obj4420.delay4420)
}
}


fadeshow4420.prototype.populateslide4420=function(picobj4420, picindex4420){
var slideHTML4420=""
if (this.theimages4420[picindex4420][1]!="") //if associated link exists for image
slideHTML4420='<a href="'+this.theimages4420[picindex4420][1]+'" target="'+this.theimages4420[picindex4420][2]+'">'
slideHTML4420+='<img class="edu-il-ws-4420-content-with-border" src="'+this.postimages4420[picindex4420].src+'" alt="'+this.postimages4420[picindex4420].alt+'" border="'+this.imageborder4420+'px">'
if (this.theimages4420[picindex4420][1]!="") //if associated link exists for image
slideHTML4420+='</a>'
picobj4420.innerHTML=slideHTML4420
}


fadeshow4420.prototype.rotateimage4420=function(){
if (this.pausecheck4420==1) //if pause onMouseover enabled, cache object
var cacheobj4420=this
if (this.mouseovercheck4420==1)
setTimeout(function(){cacheobj4420.rotateimage4420()}, 100)
else if (iebrowser4420&&dom4420||dom4420){
this.resetit4420()
var crossobj4420=this.tempobj4420=iebrowser4420? iebrowser4420[this.curcanvas4420] : document.getElementById(this.curcanvas4420)
crossobj4420.style.zIndex++
fadeclear4420[this.slideshowid4420]=setInterval("fadepic4420(fadearray4420["+this.slideshowid4420+"])",50)
this.curcanvas4420=(this.curcanvas4420==this.canvasbase4420+"_0")? this.canvasbase4420+"_1" : this.canvasbase4420+"_0"
}
else{
var ns4imgobj4420=document.images['defaultslide4420'+this.slideshowid4420]
ns4imgobj4420.src=this.postimages4420[this.curimageindex4420].src
ms4imgobj4420.alt=this.postimages4420[this.curimageindex4420].alt
}
this.curimageindex4420=(this.curimageindex4420<this.postimages4420.length-1)? this.curimageindex4420+1 : 0
}

fadeshow4420.prototype.resetit4420=function(){
this.degree4420=10
var crossobj4420=iebrowser4420? iebrowser4420[this.curcanvas4420] : document.getElementById(this.curcanvas4420)
if (crossobj4420.filters&&crossobj4420.filters[0]){
if (typeof crossobj4420.filters[0].opacity=="number") //if IE6+
crossobj4420.filters(0).opacity=this.degree4420
else //else if IE5.5-
crossobj4420.style.filter="alpha(opacity="+this.degree4420+")"
}
else if (crossobj4420.style.MozOpacity)
crossobj4420.style.MozOpacity=this.degree4420/101
else if (crossobj4420.style.KhtmlOpacity)
crossobj4420.style.KhtmlOpacity=this.degree4420/100
else if (crossobj4420.style.opacity&&!crossobj4420.filters)
crossobj4420.style.opacity=this.degree4420/101
}


fadeshow4420.prototype.startit4420=function(){
var crossobj4420=iebrowser4420? iebrowser4420[this.curcanvas4420] : document.getElementById(this.curcanvas4420)
this.populateslide4420(crossobj4420, this.curimageindex4420)
if (this.pausecheck4420==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj4420=this
var crossobjcontainer4420=iebrowser4420? iebrowser4420["master4420"+this.slideshowid4420] : document.getElementById("master4420"+this.slideshowid4420)
crossobjcontainer4420.onmouseover=function(){cacheobj4420.mouseovercheck4420=1}
crossobjcontainer4420.onmouseout=function(){cacheobj4420.mouseovercheck4420=0}
}
this.rotateimage4420()
}
var delay = 7 * 1000;
new fadeshow4420 (fadeimages4420, 250, 250, 0, delay, 1, 'truefalse')

document.write("");

