var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1287{';
wsContentVar += '        width:754px;';
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 fadeimages1287=new Array()

fadeimages1287 [0]=["https://illinois.edu/lb/files/2009/11/10/22905.png", "http://studentaffairs.illinois.edu/diversity/women/Scholarships.html", "_new", "Apply for an Illinois Club Scholarship Award!"];

fadeimages1287 [1]=["https://illinois.edu/lb/files/2009/11/10/22919.png", "http://studentaffairs.illinois.edu/students411/safety.html", "_new", "Be Safe on Campus"];

fadeimages1287 [2]=["https://illinois.edu/lb/files/2009/11/06/22847.jpg", "http://studentaffairs.illinois.edu/students411/facebook.html", "_new", "Join Student Affairs on Facebook!"];

fadeimages1287 [3]=["https://illinois.edu/lb/files/2009/10/05/21990.gif", "http://studentaffairs.illinois.edu/diversity/lfvd.html", "_new", "2009 Latino Family Visit Day"];

fadeimages1287 [4]=["https://illinois.edu/lb/files/2009/09/21/21750.jpg", "http://studentaffairs.illinois.edu/diversity/iunite.html", "_new", "iUnite 2009"];

fadeimages1287 [5]=["https://illinois.edu/lb/files/2009/08/20/20902.jpg", "http://studentaffairs.illinois.edu/map/index.html", "_new", "New Student Affairs Campus Map with Google!"];

fadeimages1287 [6]=["https://illinois.edu/lb/files/2009/08/18/20806.jpg", "http://www.union.illinois.edu/welcomeweek/", "_new", "Welcome Week and Quad Day at the Union"];

fadeimages1287 [7]=["https://illinois.edu/lb/files/2009/08/18/20817.png", "http://www.cumtd.com/routeschedules/Default.aspx", "_new", "Xtreme MTD Route Changes on Campus"];

fadeimages1287 [8]=["https://illinois.edu/lb/files/2009/07/15/11761.jpg", "http://studentaffairs.illinois.edu/greensa/index.html", "_new", ""];

fadeimages1287 [9]=["https://illinois.edu/lb/files/2009/06/11/11112.jpg", "http://www.facebook.com/home.php#/pages/University-of-Illinois-Fraternities-Sororities/18058737543", "_new", ""];

fadeimages1287 [10]=["https://illinois.edu/lb/files/2008/09/22/5448.jpg", "http://www.housing.uiuc.edu/dining/plans.htm", "_new", ""];

fadeimages1287 [11]=["https://illinois.edu/lb/files/2008/08/25/4955.jpg", "", "_new", ""];

fadeimages1287 [12]=["https://illinois.edu/lb/files/2008/07/22/4321.jpg", "", "_new", ""];

fadeimages1287 [13]=["https://illinois.edu/lb/files/2008/07/22/4318.jpg", "", "_new", ""];

fadeimages1287 [14]=["https://illinois.edu/lb/files/2008/07/22/4314.jpg", "", "_new", ""];

fadeimages1287 [15]=["https://illinois.edu/lb/files/2008/07/22/4312.jpg", "", "_new", ""];

fadeimages1287 [16]=["https://illinois.edu/lb/files/2008/07/22/4315.jpg", "", "_new", ""];
var fadebgcolor1287="white"

////NO need to edit beyond here/////////////

var fadearray1287=new Array() //array to cache fadeshow instances
var fadeclear1287=new Array() //array to cache corresponding clearinterval pointers

var dom1287=(document.getElementById) //modern dom browsers
var iebrowser1287=document.all

function fadeshow1287(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1287=pause
this.mouseovercheck1287=0
this.delay1287=delay
this.degree1287=10 //initial opacity degree (10%)
this.curimageindex1287=0
this.nextimageindex1287=1
fadearray1287[fadearray1287.length]=this
this.slideshowid1287=fadearray1287.length-1
this.canvasbase1287="canvas1287"+this.slideshowid1287
this.curcanvas1287=this.canvasbase1287+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1287=theimages
this.imageborder1287=parseInt(borderwidth)
this.postimages1287=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1287[p]=new Image()
this.postimages1287[p].src=theimages[p][0]
this.postimages1287[p].alt=theimages[p][3]
}

var fadewidth1287=fadewidth+this.imageborder1287*2
var fadeheight1287=fadeheight+this.imageborder1287*2

if (iebrowser1287&&dom1287||dom1287) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1287'+this.slideshowid1287+'" class="slide-show-wrapper-1287" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1287+'_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:'+fadebgcolor1287+'"></div><div id="'+this.canvasbase1287+'_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:'+fadebgcolor1287+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1287-content-with-border" name="defaultslide1287'+this.slideshowid1287+'" src="'+this.postimages1287[0].src+'" alt="'+this.postimages1287[0].alt+'"></div>')

if (iebrowser1287&&dom1287||dom1287) //if IE5+ or modern browsers such as Firefox
this.startit1287()
else{
this.curimageindex1287++
setInterval("fadearray1287["+this.slideshowid1287+"].rotateimage1287()", this.delay1287)
}
}





function fadepic1287(obj1287){
if (obj1287.degree1287<100){
obj1287.degree1287+=10
if (obj1287.tempobj1287.filters&&obj1287.tempobj1287.filters[0]){
if (typeof obj1287.tempobj1287.filters[0].opacity=="number") //if IE6+
obj1287.tempobj1287.filters[0].opacity=obj1287.degree1287
else //else if IE5.5-
obj1287.tempobj1287.style.filter="alpha(opacity="+obj1287.degree1287+")"
}
else if (obj1287.tempobj1287.style.MozOpacity)
obj1287.tempobj1287.style.MozOpacity=obj1287.degree1287/101
else if (obj1287.tempobj1287.style.KhtmlOpacity)
obj1287.tempobj1287.style.KhtmlOpacity=obj1287.degree1287/100
else if (obj1287.tempobj1287.style.opacity&&!obj1287.tempobj1287.filters)
obj1287.tempobj1287.style.opacity=obj1287.degree1287/101
}
else{
clearInterval(fadeclear1287[obj1287.slideshowid1287])
obj1287.nextcanvas1287=(obj1287.curcanvas1287==obj1287.canvasbase1287+"_0")? obj1287.canvasbase1287+"_0" : obj1287.canvasbase1287+"_1"
obj1287.tempobj1287=iebrowser1287? iebrowser1287[obj1287.nextcanvas1287] : document.getElementById(obj1287.nextcanvas1287)
obj1287.populateslide1287(obj1287.tempobj1287, obj1287.nextimageindex1287)
obj1287.nextimageindex1287=(obj1287.nextimageindex1287<obj1287.postimages1287.length-1)? obj1287.nextimageindex1287+1 : 0
setTimeout("fadearray1287["+obj1287.slideshowid1287+"].rotateimage1287()", obj1287.delay1287)
}
}


fadeshow1287.prototype.populateslide1287=function(picobj1287, picindex1287){
var slideHTML1287=""
if (this.theimages1287[picindex1287][1]!="") //if associated link exists for image
slideHTML1287='<a href="'+this.theimages1287[picindex1287][1]+'" target="'+this.theimages1287[picindex1287][2]+'">'
slideHTML1287+='<img class="edu-il-ws-1287-content-with-border" src="'+this.postimages1287[picindex1287].src+'" alt="'+this.postimages1287[picindex1287].alt+'" border="'+this.imageborder1287+'px">'
if (this.theimages1287[picindex1287][1]!="") //if associated link exists for image
slideHTML1287+='</a>'
picobj1287.innerHTML=slideHTML1287
}


fadeshow1287.prototype.rotateimage1287=function(){
if (this.pausecheck1287==1) //if pause onMouseover enabled, cache object
var cacheobj1287=this
if (this.mouseovercheck1287==1)
setTimeout(function(){cacheobj1287.rotateimage1287()}, 100)
else if (iebrowser1287&&dom1287||dom1287){
this.resetit1287()
var crossobj1287=this.tempobj1287=iebrowser1287? iebrowser1287[this.curcanvas1287] : document.getElementById(this.curcanvas1287)
crossobj1287.style.zIndex++
fadeclear1287[this.slideshowid1287]=setInterval("fadepic1287(fadearray1287["+this.slideshowid1287+"])",50)
this.curcanvas1287=(this.curcanvas1287==this.canvasbase1287+"_0")? this.canvasbase1287+"_1" : this.canvasbase1287+"_0"
}
else{
var ns4imgobj1287=document.images['defaultslide1287'+this.slideshowid1287]
ns4imgobj1287.src=this.postimages1287[this.curimageindex1287].src
ms4imgobj1287.alt=this.postimages1287[this.curimageindex1287].alt
}
this.curimageindex1287=(this.curimageindex1287<this.postimages1287.length-1)? this.curimageindex1287+1 : 0
}

fadeshow1287.prototype.resetit1287=function(){
this.degree1287=10
var crossobj1287=iebrowser1287? iebrowser1287[this.curcanvas1287] : document.getElementById(this.curcanvas1287)
if (crossobj1287.filters&&crossobj1287.filters[0]){
if (typeof crossobj1287.filters[0].opacity=="number") //if IE6+
crossobj1287.filters(0).opacity=this.degree1287
else //else if IE5.5-
crossobj1287.style.filter="alpha(opacity="+this.degree1287+")"
}
else if (crossobj1287.style.MozOpacity)
crossobj1287.style.MozOpacity=this.degree1287/101
else if (crossobj1287.style.KhtmlOpacity)
crossobj1287.style.KhtmlOpacity=this.degree1287/100
else if (crossobj1287.style.opacity&&!crossobj1287.filters)
crossobj1287.style.opacity=this.degree1287/101
}


fadeshow1287.prototype.startit1287=function(){
var crossobj1287=iebrowser1287? iebrowser1287[this.curcanvas1287] : document.getElementById(this.curcanvas1287)
this.populateslide1287(crossobj1287, this.curimageindex1287)
if (this.pausecheck1287==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1287=this
var crossobjcontainer1287=iebrowser1287? iebrowser1287["master1287"+this.slideshowid1287] : document.getElementById("master1287"+this.slideshowid1287)
crossobjcontainer1287.onmouseover=function(){cacheobj1287.mouseovercheck1287=1}
crossobjcontainer1287.onmouseout=function(){cacheobj1287.mouseovercheck1287=0}
}
this.rotateimage1287()
}
var delay = 3 * 1000;
new fadeshow1287 (fadeimages1287, 250, 250, 0, delay, 1, 'truefalse')

document.write("");
