var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1760{';
wsContentVar += '        width:780px;';
wsContentVar += '        height:288px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1760-content-with-border{';
wsContentVar += '   height:288px;';
wsContentVar += '   width:780px;';
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 fadeimages1760=new Array()

fadeimages1760 [0]=["https://illinois.edu/lb/files/2009/06/03/10895.jpg", "http://tec.illinois.edu/courses/eng491.php", "_new", ""];

fadeimages1760 [1]=["https://illinois.edu/lb/files/2009/05/05/10272.jpg", "http://tec.illinois.edu/certs/", "_new", ""];

fadeimages1760 [2]=["https://illinois.edu/lb/files/2009/05/05/10267.jpg", "http://www.tec.illinois.edu/courses/", "_new", ""];

fadeimages1760 [3]=["https://illinois.edu/lb/files/2009/05/04/10246.jpg", "", "_new", ""];

fadeimages1760 [4]=["https://illinois.edu/lb/files/2009/05/04/10245.jpg", "http://tec.illinois.edu/entrepreneurs/resource_center.php", "_new", ""];
var fadebgcolor1760="white"

////NO need to edit beyond here/////////////

var fadearray1760=new Array() //array to cache fadeshow instances
var fadeclear1760=new Array() //array to cache corresponding clearinterval pointers

var dom1760=(document.getElementById) //modern dom browsers
var iebrowser1760=document.all

function fadeshow1760(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1760=pause
this.mouseovercheck1760=0
this.delay1760=delay
this.degree1760=10 //initial opacity degree (10%)
this.curimageindex1760=0
this.nextimageindex1760=1
fadearray1760[fadearray1760.length]=this
this.slideshowid1760=fadearray1760.length-1
this.canvasbase1760="canvas1760"+this.slideshowid1760
this.curcanvas1760=this.canvasbase1760+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1760=theimages
this.imageborder1760=parseInt(borderwidth)
this.postimages1760=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1760[p]=new Image()
this.postimages1760[p].src=theimages[p][0]
this.postimages1760[p].alt=theimages[p][3]
}

var fadewidth1760=fadewidth+this.imageborder1760*2
var fadeheight1760=fadeheight+this.imageborder1760*2

if (iebrowser1760&&dom1760||dom1760) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1760'+this.slideshowid1760+'" class="slide-show-wrapper-1760" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1760+'_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:'+fadebgcolor1760+'"></div><div id="'+this.canvasbase1760+'_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:'+fadebgcolor1760+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1760-content-with-border" name="defaultslide1760'+this.slideshowid1760+'" src="'+this.postimages1760[0].src+'" alt="'+this.postimages1760[0].alt+'"></div>')

if (iebrowser1760&&dom1760||dom1760) //if IE5+ or modern browsers such as Firefox
this.startit1760()
else{
this.curimageindex1760++
setInterval("fadearray1760["+this.slideshowid1760+"].rotateimage1760()", this.delay1760)
}
}





function fadepic1760(obj1760){
if (obj1760.degree1760<100){
obj1760.degree1760+=10
if (obj1760.tempobj1760.filters&&obj1760.tempobj1760.filters[0]){
if (typeof obj1760.tempobj1760.filters[0].opacity=="number") //if IE6+
obj1760.tempobj1760.filters[0].opacity=obj1760.degree1760
else //else if IE5.5-
obj1760.tempobj1760.style.filter="alpha(opacity="+obj1760.degree1760+")"
}
else if (obj1760.tempobj1760.style.MozOpacity)
obj1760.tempobj1760.style.MozOpacity=obj1760.degree1760/101
else if (obj1760.tempobj1760.style.KhtmlOpacity)
obj1760.tempobj1760.style.KhtmlOpacity=obj1760.degree1760/100
else if (obj1760.tempobj1760.style.opacity&&!obj1760.tempobj1760.filters)
obj1760.tempobj1760.style.opacity=obj1760.degree1760/101
}
else{
clearInterval(fadeclear1760[obj1760.slideshowid1760])
obj1760.nextcanvas1760=(obj1760.curcanvas1760==obj1760.canvasbase1760+"_0")? obj1760.canvasbase1760+"_0" : obj1760.canvasbase1760+"_1"
obj1760.tempobj1760=iebrowser1760? iebrowser1760[obj1760.nextcanvas1760] : document.getElementById(obj1760.nextcanvas1760)
obj1760.populateslide1760(obj1760.tempobj1760, obj1760.nextimageindex1760)
obj1760.nextimageindex1760=(obj1760.nextimageindex1760<obj1760.postimages1760.length-1)? obj1760.nextimageindex1760+1 : 0
setTimeout("fadearray1760["+obj1760.slideshowid1760+"].rotateimage1760()", obj1760.delay1760)
}
}


fadeshow1760.prototype.populateslide1760=function(picobj1760, picindex1760){
var slideHTML1760=""
if (this.theimages1760[picindex1760][1]!="") //if associated link exists for image
slideHTML1760='<a href="'+this.theimages1760[picindex1760][1]+'" target="'+this.theimages1760[picindex1760][2]+'">'
slideHTML1760+='<img class="edu-il-ws-1760-content-with-border" src="'+this.postimages1760[picindex1760].src+'" alt="'+this.postimages1760[picindex1760].alt+'" border="'+this.imageborder1760+'px">'
if (this.theimages1760[picindex1760][1]!="") //if associated link exists for image
slideHTML1760+='</a>'
picobj1760.innerHTML=slideHTML1760
}


fadeshow1760.prototype.rotateimage1760=function(){
if (this.pausecheck1760==1) //if pause onMouseover enabled, cache object
var cacheobj1760=this
if (this.mouseovercheck1760==1)
setTimeout(function(){cacheobj1760.rotateimage1760()}, 100)
else if (iebrowser1760&&dom1760||dom1760){
this.resetit1760()
var crossobj1760=this.tempobj1760=iebrowser1760? iebrowser1760[this.curcanvas1760] : document.getElementById(this.curcanvas1760)
crossobj1760.style.zIndex++
fadeclear1760[this.slideshowid1760]=setInterval("fadepic1760(fadearray1760["+this.slideshowid1760+"])",50)
this.curcanvas1760=(this.curcanvas1760==this.canvasbase1760+"_0")? this.canvasbase1760+"_1" : this.canvasbase1760+"_0"
}
else{
var ns4imgobj1760=document.images['defaultslide1760'+this.slideshowid1760]
ns4imgobj1760.src=this.postimages1760[this.curimageindex1760].src
ms4imgobj1760.alt=this.postimages1760[this.curimageindex1760].alt
}
this.curimageindex1760=(this.curimageindex1760<this.postimages1760.length-1)? this.curimageindex1760+1 : 0
}

fadeshow1760.prototype.resetit1760=function(){
this.degree1760=10
var crossobj1760=iebrowser1760? iebrowser1760[this.curcanvas1760] : document.getElementById(this.curcanvas1760)
if (crossobj1760.filters&&crossobj1760.filters[0]){
if (typeof crossobj1760.filters[0].opacity=="number") //if IE6+
crossobj1760.filters(0).opacity=this.degree1760
else //else if IE5.5-
crossobj1760.style.filter="alpha(opacity="+this.degree1760+")"
}
else if (crossobj1760.style.MozOpacity)
crossobj1760.style.MozOpacity=this.degree1760/101
else if (crossobj1760.style.KhtmlOpacity)
crossobj1760.style.KhtmlOpacity=this.degree1760/100
else if (crossobj1760.style.opacity&&!crossobj1760.filters)
crossobj1760.style.opacity=this.degree1760/101
}


fadeshow1760.prototype.startit1760=function(){
var crossobj1760=iebrowser1760? iebrowser1760[this.curcanvas1760] : document.getElementById(this.curcanvas1760)
this.populateslide1760(crossobj1760, this.curimageindex1760)
if (this.pausecheck1760==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1760=this
var crossobjcontainer1760=iebrowser1760? iebrowser1760["master1760"+this.slideshowid1760] : document.getElementById("master1760"+this.slideshowid1760)
crossobjcontainer1760.onmouseover=function(){cacheobj1760.mouseovercheck1760=1}
crossobjcontainer1760.onmouseout=function(){cacheobj1760.mouseovercheck1760=0}
}
this.rotateimage1760()
}
var delay = 5 * 1000;
new fadeshow1760 (fadeimages1760, 250, 250, 0, delay, 1, 'truetrue')

document.write("");
