var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1326{';
wsContentVar += '        width:1000px;';
wsContentVar += '        height:176px;';
wsContentVar += '        xxxborder:1px solid black;';
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 fadeimages1326=new Array()

fadeimages1326 [0]=["https://illinois.edu/lb/files/2009/06/16/11191.jpg", "", "", "MLB Draftees"];

fadeimages1326 [1]=["https://illinois.edu/lb/files/2009/04/27/10058.jpg", "http://twitter.com/IlliniBaseball", "", "Baseball on Twitter"];

fadeimages1326 [2]=["https://illinois.edu/lb/files/2009/08/20/20876.jpg", "", "", "Fighting Illini Baseball"];
var fadebgcolor1326="white"

////NO need to edit beyond here/////////////

var fadearray1326=new Array() //array to cache fadeshow instances
var fadeclear1326=new Array() //array to cache corresponding clearinterval pointers

var dom1326=(document.getElementById) //modern dom browsers
var iebrowser1326=document.all

function fadeshow1326(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1326=pause
this.mouseovercheck1326=0
this.delay1326=delay
this.degree1326=10 //initial opacity degree (10%)
this.curimageindex1326=0
this.nextimageindex1326=1
fadearray1326[fadearray1326.length]=this
this.slideshowid1326=fadearray1326.length-1
this.canvasbase1326="canvas1326"+this.slideshowid1326
this.curcanvas1326=this.canvasbase1326+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1326=theimages
this.imageborder1326=parseInt(borderwidth)
this.postimages1326=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1326[p]=new Image()
this.postimages1326[p].src=theimages[p][0]
this.postimages1326[p].alt=theimages[p][3]
}

var fadewidth1326=fadewidth+this.imageborder1326*2
var fadeheight1326=fadeheight+this.imageborder1326*2

if (iebrowser1326&&dom1326||dom1326) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1326'+this.slideshowid1326+'" class="slide-show-wrapper-1326" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1326+'_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:'+fadebgcolor1326+'"></div><div id="'+this.canvasbase1326+'_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:'+fadebgcolor1326+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1326-content-with-border" name="defaultslide1326'+this.slideshowid1326+'" src="'+this.postimages1326[0].src+'" alt="'+this.postimages1326[0].alt+'"></div>')

if (iebrowser1326&&dom1326||dom1326) //if IE5+ or modern browsers such as Firefox
this.startit1326()
else{
this.curimageindex1326++
setInterval("fadearray1326["+this.slideshowid1326+"].rotateimage1326()", this.delay1326)
}
}





function fadepic1326(obj1326){
if (obj1326.degree1326<100){
obj1326.degree1326+=10
if (obj1326.tempobj1326.filters&&obj1326.tempobj1326.filters[0]){
if (typeof obj1326.tempobj1326.filters[0].opacity=="number") //if IE6+
obj1326.tempobj1326.filters[0].opacity=obj1326.degree1326
else //else if IE5.5-
obj1326.tempobj1326.style.filter="alpha(opacity="+obj1326.degree1326+")"
}
else if (obj1326.tempobj1326.style.MozOpacity)
obj1326.tempobj1326.style.MozOpacity=obj1326.degree1326/101
else if (obj1326.tempobj1326.style.KhtmlOpacity)
obj1326.tempobj1326.style.KhtmlOpacity=obj1326.degree1326/100
else if (obj1326.tempobj1326.style.opacity&&!obj1326.tempobj1326.filters)
obj1326.tempobj1326.style.opacity=obj1326.degree1326/101
}
else{
clearInterval(fadeclear1326[obj1326.slideshowid1326])
obj1326.nextcanvas1326=(obj1326.curcanvas1326==obj1326.canvasbase1326+"_0")? obj1326.canvasbase1326+"_0" : obj1326.canvasbase1326+"_1"
obj1326.tempobj1326=iebrowser1326? iebrowser1326[obj1326.nextcanvas1326] : document.getElementById(obj1326.nextcanvas1326)
obj1326.populateslide1326(obj1326.tempobj1326, obj1326.nextimageindex1326)
obj1326.nextimageindex1326=(obj1326.nextimageindex1326<obj1326.postimages1326.length-1)? obj1326.nextimageindex1326+1 : 0
setTimeout("fadearray1326["+obj1326.slideshowid1326+"].rotateimage1326()", obj1326.delay1326)
}
}


fadeshow1326.prototype.populateslide1326=function(picobj1326, picindex1326){
var slideHTML1326=""
if (this.theimages1326[picindex1326][1]!="") //if associated link exists for image
slideHTML1326='<a href="'+this.theimages1326[picindex1326][1]+'" target="'+this.theimages1326[picindex1326][2]+'">'
slideHTML1326+='<img class="edu-il-ws-1326-content-with-border" src="'+this.postimages1326[picindex1326].src+'" alt="'+this.postimages1326[picindex1326].alt+'" border="'+this.imageborder1326+'px">'
if (this.theimages1326[picindex1326][1]!="") //if associated link exists for image
slideHTML1326+='</a>'
picobj1326.innerHTML=slideHTML1326
}


fadeshow1326.prototype.rotateimage1326=function(){
if (this.pausecheck1326==1) //if pause onMouseover enabled, cache object
var cacheobj1326=this
if (this.mouseovercheck1326==1)
setTimeout(function(){cacheobj1326.rotateimage1326()}, 100)
else if (iebrowser1326&&dom1326||dom1326){
this.resetit1326()
var crossobj1326=this.tempobj1326=iebrowser1326? iebrowser1326[this.curcanvas1326] : document.getElementById(this.curcanvas1326)
crossobj1326.style.zIndex++
fadeclear1326[this.slideshowid1326]=setInterval("fadepic1326(fadearray1326["+this.slideshowid1326+"])",50)
this.curcanvas1326=(this.curcanvas1326==this.canvasbase1326+"_0")? this.canvasbase1326+"_1" : this.canvasbase1326+"_0"
}
else{
var ns4imgobj1326=document.images['defaultslide1326'+this.slideshowid1326]
ns4imgobj1326.src=this.postimages1326[this.curimageindex1326].src
ms4imgobj1326.alt=this.postimages1326[this.curimageindex1326].alt
}
this.curimageindex1326=(this.curimageindex1326<this.postimages1326.length-1)? this.curimageindex1326+1 : 0
}

fadeshow1326.prototype.resetit1326=function(){
this.degree1326=10
var crossobj1326=iebrowser1326? iebrowser1326[this.curcanvas1326] : document.getElementById(this.curcanvas1326)
if (crossobj1326.filters&&crossobj1326.filters[0]){
if (typeof crossobj1326.filters[0].opacity=="number") //if IE6+
crossobj1326.filters(0).opacity=this.degree1326
else //else if IE5.5-
crossobj1326.style.filter="alpha(opacity="+this.degree1326+")"
}
else if (crossobj1326.style.MozOpacity)
crossobj1326.style.MozOpacity=this.degree1326/101
else if (crossobj1326.style.KhtmlOpacity)
crossobj1326.style.KhtmlOpacity=this.degree1326/100
else if (crossobj1326.style.opacity&&!crossobj1326.filters)
crossobj1326.style.opacity=this.degree1326/101
}


fadeshow1326.prototype.startit1326=function(){
var crossobj1326=iebrowser1326? iebrowser1326[this.curcanvas1326] : document.getElementById(this.curcanvas1326)
this.populateslide1326(crossobj1326, this.curimageindex1326)
if (this.pausecheck1326==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1326=this
var crossobjcontainer1326=iebrowser1326? iebrowser1326["master1326"+this.slideshowid1326] : document.getElementById("master1326"+this.slideshowid1326)
crossobjcontainer1326.onmouseover=function(){cacheobj1326.mouseovercheck1326=1}
crossobjcontainer1326.onmouseout=function(){cacheobj1326.mouseovercheck1326=0}
}
this.rotateimage1326()
}
var delay = 7 * 1000;
new fadeshow1326 (fadeimages1326, 250, 250, 0, delay, 1, 'truefalse')

document.write("");
