var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1280{';
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 fadeimages1280=new Array()

fadeimages1280 [0]=["https://illinois.edu/lb/files/2012/02/01/37617.jpg", "http://studentaffairs.illinois.edu/diversity/bnaacc/index.html", "_new", ""];

fadeimages1280 [1]=["https://illinois.edu/lb/files/2012/02/01/37615.JPG", "http://www.uofibookstore.uiuc.edu/", "_new", ""];

fadeimages1280 [2]=["https://illinois.edu/lb/files/2012/02/01/37611.jpg", "http://studentaffairs.illinois.edu/facstaff/awards.html", "_new", ""];

fadeimages1280 [3]=["https://illinois.edu/lb/files/2012/02/01/37609.jpg", "", "_new", ""];

fadeimages1280 [4]=["https://illinois.edu/lb/files/2012/01/24/37343.JPG", "", "_new", ""];

fadeimages1280 [5]=["https://illinois.edu/lb/files/2012/01/17/37200.jpg", "http://studentaffairs.illinois.edu/diversity/lunch.html", "_new", ""];

fadeimages1280 [6]=["https://illinois.edu/lb/files/2011/11/15/36313.jpg", "", "_new", ""];

fadeimages1280 [7]=["https://illinois.edu/lb/files/2011/11/03/36097.jpg", "", "_new", ""];

fadeimages1280 [8]=["https://illinois.edu/lb/files/2011/11/03/36090.jpg", "", "_new", ""];
var fadebgcolor1280="white"

////NO need to edit beyond here/////////////

var fadearray1280=new Array() //array to cache fadeshow instances
var fadeclear1280=new Array() //array to cache corresponding clearinterval pointers

var dom1280=(document.getElementById) //modern dom browsers
var iebrowser1280=document.all

function fadeshow1280(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1280=pause
this.mouseovercheck1280=0
this.delay1280=delay
this.degree1280=10 //initial opacity degree (10%)
this.curimageindex1280=0
this.nextimageindex1280=1
fadearray1280[fadearray1280.length]=this
this.slideshowid1280=fadearray1280.length-1
this.canvasbase1280="canvas1280"+this.slideshowid1280
this.curcanvas1280=this.canvasbase1280+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1280=theimages
this.imageborder1280=parseInt(borderwidth)
this.postimages1280=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1280[p]=new Image()
this.postimages1280[p].src=theimages[p][0]
this.postimages1280[p].alt=theimages[p][3]
}

var fadewidth1280=fadewidth+this.imageborder1280*2
var fadeheight1280=fadeheight+this.imageborder1280*2

if (iebrowser1280&&dom1280||dom1280) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1280'+this.slideshowid1280+'" class="slide-show-wrapper-1280" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1280+'_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:'+fadebgcolor1280+'"></div><div id="'+this.canvasbase1280+'_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:'+fadebgcolor1280+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1280-content-with-border" name="defaultslide1280'+this.slideshowid1280+'" src="'+this.postimages1280[0].src+'" alt="'+this.postimages1280[0].alt+'"></div>')

if (iebrowser1280&&dom1280||dom1280) //if IE5+ or modern browsers such as Firefox
this.startit1280()
else{
this.curimageindex1280++
setInterval("fadearray1280["+this.slideshowid1280+"].rotateimage1280()", this.delay1280)
}
}





function fadepic1280(obj1280){
if (obj1280.degree1280<100){
obj1280.degree1280+=10
if (obj1280.tempobj1280.filters&&obj1280.tempobj1280.filters[0]){
if (typeof obj1280.tempobj1280.filters[0].opacity=="number") //if IE6+
obj1280.tempobj1280.filters[0].opacity=obj1280.degree1280
else //else if IE5.5-
obj1280.tempobj1280.style.filter="alpha(opacity="+obj1280.degree1280+")"
}
else if (obj1280.tempobj1280.style.MozOpacity)
obj1280.tempobj1280.style.MozOpacity=obj1280.degree1280/101
else if (obj1280.tempobj1280.style.KhtmlOpacity)
obj1280.tempobj1280.style.KhtmlOpacity=obj1280.degree1280/100
else if (obj1280.tempobj1280.style.opacity&&!obj1280.tempobj1280.filters)
obj1280.tempobj1280.style.opacity=obj1280.degree1280/101
}
else{
clearInterval(fadeclear1280[obj1280.slideshowid1280])
obj1280.nextcanvas1280=(obj1280.curcanvas1280==obj1280.canvasbase1280+"_0")? obj1280.canvasbase1280+"_0" : obj1280.canvasbase1280+"_1"
obj1280.tempobj1280=iebrowser1280? iebrowser1280[obj1280.nextcanvas1280] : document.getElementById(obj1280.nextcanvas1280)
obj1280.populateslide1280(obj1280.tempobj1280, obj1280.nextimageindex1280)
obj1280.nextimageindex1280=(obj1280.nextimageindex1280<obj1280.postimages1280.length-1)? obj1280.nextimageindex1280+1 : 0
setTimeout("fadearray1280["+obj1280.slideshowid1280+"].rotateimage1280()", obj1280.delay1280)
}
}


fadeshow1280.prototype.populateslide1280=function(picobj1280, picindex1280){
var slideHTML1280=""
if (this.theimages1280[picindex1280][1]!="") //if associated link exists for image
slideHTML1280='<a href="'+this.theimages1280[picindex1280][1]+'" target="'+this.theimages1280[picindex1280][2]+'">'
slideHTML1280+='<img class="edu-il-ws-1280-content-with-border" src="'+this.postimages1280[picindex1280].src+'" alt="'+this.postimages1280[picindex1280].alt+'" border="'+this.imageborder1280+'px">'
if (this.theimages1280[picindex1280][1]!="") //if associated link exists for image
slideHTML1280+='</a>'
picobj1280.innerHTML=slideHTML1280
}


fadeshow1280.prototype.rotateimage1280=function(){
if (this.pausecheck1280==1) //if pause onMouseover enabled, cache object
var cacheobj1280=this
if (this.mouseovercheck1280==1)
setTimeout(function(){cacheobj1280.rotateimage1280()}, 100)
else if (iebrowser1280&&dom1280||dom1280){
this.resetit1280()
var crossobj1280=this.tempobj1280=iebrowser1280? iebrowser1280[this.curcanvas1280] : document.getElementById(this.curcanvas1280)
crossobj1280.style.zIndex++
fadeclear1280[this.slideshowid1280]=setInterval("fadepic1280(fadearray1280["+this.slideshowid1280+"])",50)
this.curcanvas1280=(this.curcanvas1280==this.canvasbase1280+"_0")? this.canvasbase1280+"_1" : this.canvasbase1280+"_0"
}
else{
var ns4imgobj1280=document.images['defaultslide1280'+this.slideshowid1280]
ns4imgobj1280.src=this.postimages1280[this.curimageindex1280].src
ms4imgobj1280.alt=this.postimages1280[this.curimageindex1280].alt
}
this.curimageindex1280=(this.curimageindex1280<this.postimages1280.length-1)? this.curimageindex1280+1 : 0
}

fadeshow1280.prototype.resetit1280=function(){
this.degree1280=10
var crossobj1280=iebrowser1280? iebrowser1280[this.curcanvas1280] : document.getElementById(this.curcanvas1280)
if (crossobj1280.filters&&crossobj1280.filters[0]){
if (typeof crossobj1280.filters[0].opacity=="number") //if IE6+
crossobj1280.filters(0).opacity=this.degree1280
else //else if IE5.5-
crossobj1280.style.filter="alpha(opacity="+this.degree1280+")"
}
else if (crossobj1280.style.MozOpacity)
crossobj1280.style.MozOpacity=this.degree1280/101
else if (crossobj1280.style.KhtmlOpacity)
crossobj1280.style.KhtmlOpacity=this.degree1280/100
else if (crossobj1280.style.opacity&&!crossobj1280.filters)
crossobj1280.style.opacity=this.degree1280/101
}


fadeshow1280.prototype.startit1280=function(){
var crossobj1280=iebrowser1280? iebrowser1280[this.curcanvas1280] : document.getElementById(this.curcanvas1280)
this.populateslide1280(crossobj1280, this.curimageindex1280)
if (this.pausecheck1280==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1280=this
var crossobjcontainer1280=iebrowser1280? iebrowser1280["master1280"+this.slideshowid1280] : document.getElementById("master1280"+this.slideshowid1280)
crossobjcontainer1280.onmouseover=function(){cacheobj1280.mouseovercheck1280=1}
crossobjcontainer1280.onmouseout=function(){cacheobj1280.mouseovercheck1280=0}
}
this.rotateimage1280()
}
var delay = 3 * 1000;
new fadeshow1280 (fadeimages1280, 250, 250, 0, delay, 1, 'truefalse')

document.write("");

