var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1103{';
wsContentVar += '        width:720px;';
wsContentVar += '        height:300px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1103-content-with-border{';
wsContentVar += '   height:301px;';
wsContentVar += '   width:720px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#master11030 {';
wsContentVar += '   background-color: 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 fadeimages1103=new Array()

fadeimages1103 [0]=["https://illinois.edu/lb/files/2009/10/05/21983.jpg", "http://chemistry.illinois.edu/news/Dlott_Explosions100509.html", "_new", "Dlott Gives Town Talk on Explosions"];

fadeimages1103 [1]=["https://illinois.edu/lb/files/2009/09/23/21804.jpg", "http://chemistry.illinois.edu/news/Rogers_MacArthur092309.html", "_new", "Rogers Selected as 2009 MacArthur Fellow"];

fadeimages1103 [2]=["https://illinois.edu/lb/files/2009/09/21/21763.jpg", "http://chemistry.illinois.edu/news/White_Review09212009.html", "_new", "White Research into a C-H oxidative macrolactonization approach reviewed by multiple sources"];

fadeimages1103 [3]=["https://illinois.edu/lb/files/2009/09/18/21723.jpg", "http://chemistry.illinois.edu/news/Suslick_Nose09142009.html", "_new", "Suslick creates opto-electronic nose to sniff out toxic gases"];

fadeimages1103 [4]=["https://illinois.edu/lb/files/2009/09/09/21417.jpg", "http://chemistry.illinois.edu/news/Zimm_MDT090909.html", "_new", "Small molecule inhibits pathology associated with myotonic dystrophy type 1"];

fadeimages1103 [5]=["https://illinois.edu/lb/files/2009/09/09/21418.jpg", "http://chemistry.illinois.edu/news/Moore_FirstAid090909.html", "_new", "Moore and collaborators create 'first aid kit' for electrical systems"];

fadeimages1103 [6]=["https://illinois.edu/lb/files/2009/08/17/20763.jpg", "http://chemistry.illinois.edu/news/Silverman_DNA08172009.html", "_new", "Newly Found DNA Catalysts Cleave DNA with Water Molecule"];

fadeimages1103 [7]=["https://illinois.edu/lb/files/2009/08/03/12135.jpg", "http://chemistry.illinois.edu/news/Lu_Chemo08032009.html", "_new", ""];
var fadebgcolor1103="white"

////NO need to edit beyond here/////////////

var fadearray1103=new Array() //array to cache fadeshow instances
var fadeclear1103=new Array() //array to cache corresponding clearinterval pointers

var dom1103=(document.getElementById) //modern dom browsers
var iebrowser1103=document.all

function fadeshow1103(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1103=pause
this.mouseovercheck1103=0
this.delay1103=delay
this.degree1103=10 //initial opacity degree (10%)
this.curimageindex1103=0
this.nextimageindex1103=1
fadearray1103[fadearray1103.length]=this
this.slideshowid1103=fadearray1103.length-1
this.canvasbase1103="canvas1103"+this.slideshowid1103
this.curcanvas1103=this.canvasbase1103+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1103=theimages
this.imageborder1103=parseInt(borderwidth)
this.postimages1103=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1103[p]=new Image()
this.postimages1103[p].src=theimages[p][0]
this.postimages1103[p].alt=theimages[p][3]
}

var fadewidth1103=fadewidth+this.imageborder1103*2
var fadeheight1103=fadeheight+this.imageborder1103*2

if (iebrowser1103&&dom1103||dom1103) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1103'+this.slideshowid1103+'" class="slide-show-wrapper-1103" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1103+'_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:'+fadebgcolor1103+'"></div><div id="'+this.canvasbase1103+'_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:'+fadebgcolor1103+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1103-content-with-border" name="defaultslide1103'+this.slideshowid1103+'" src="'+this.postimages1103[0].src+'" alt="'+this.postimages1103[0].alt+'"></div>')

if (iebrowser1103&&dom1103||dom1103) //if IE5+ or modern browsers such as Firefox
this.startit1103()
else{
this.curimageindex1103++
setInterval("fadearray1103["+this.slideshowid1103+"].rotateimage1103()", this.delay1103)
}
}





function fadepic1103(obj1103){
if (obj1103.degree1103<100){
obj1103.degree1103+=10
if (obj1103.tempobj1103.filters&&obj1103.tempobj1103.filters[0]){
if (typeof obj1103.tempobj1103.filters[0].opacity=="number") //if IE6+
obj1103.tempobj1103.filters[0].opacity=obj1103.degree1103
else //else if IE5.5-
obj1103.tempobj1103.style.filter="alpha(opacity="+obj1103.degree1103+")"
}
else if (obj1103.tempobj1103.style.MozOpacity)
obj1103.tempobj1103.style.MozOpacity=obj1103.degree1103/101
else if (obj1103.tempobj1103.style.KhtmlOpacity)
obj1103.tempobj1103.style.KhtmlOpacity=obj1103.degree1103/100
else if (obj1103.tempobj1103.style.opacity&&!obj1103.tempobj1103.filters)
obj1103.tempobj1103.style.opacity=obj1103.degree1103/101
}
else{
clearInterval(fadeclear1103[obj1103.slideshowid1103])
obj1103.nextcanvas1103=(obj1103.curcanvas1103==obj1103.canvasbase1103+"_0")? obj1103.canvasbase1103+"_0" : obj1103.canvasbase1103+"_1"
obj1103.tempobj1103=iebrowser1103? iebrowser1103[obj1103.nextcanvas1103] : document.getElementById(obj1103.nextcanvas1103)
obj1103.populateslide1103(obj1103.tempobj1103, obj1103.nextimageindex1103)
obj1103.nextimageindex1103=(obj1103.nextimageindex1103<obj1103.postimages1103.length-1)? obj1103.nextimageindex1103+1 : 0
setTimeout("fadearray1103["+obj1103.slideshowid1103+"].rotateimage1103()", obj1103.delay1103)
}
}


fadeshow1103.prototype.populateslide1103=function(picobj1103, picindex1103){
var slideHTML1103=""
if (this.theimages1103[picindex1103][1]!="") //if associated link exists for image
slideHTML1103='<a href="'+this.theimages1103[picindex1103][1]+'" target="'+this.theimages1103[picindex1103][2]+'">'
slideHTML1103+='<img class="edu-il-ws-1103-content-with-border" src="'+this.postimages1103[picindex1103].src+'" alt="'+this.postimages1103[picindex1103].alt+'" border="'+this.imageborder1103+'px">'
if (this.theimages1103[picindex1103][1]!="") //if associated link exists for image
slideHTML1103+='</a>'
picobj1103.innerHTML=slideHTML1103
}


fadeshow1103.prototype.rotateimage1103=function(){
if (this.pausecheck1103==1) //if pause onMouseover enabled, cache object
var cacheobj1103=this
if (this.mouseovercheck1103==1)
setTimeout(function(){cacheobj1103.rotateimage1103()}, 100)
else if (iebrowser1103&&dom1103||dom1103){
this.resetit1103()
var crossobj1103=this.tempobj1103=iebrowser1103? iebrowser1103[this.curcanvas1103] : document.getElementById(this.curcanvas1103)
crossobj1103.style.zIndex++
fadeclear1103[this.slideshowid1103]=setInterval("fadepic1103(fadearray1103["+this.slideshowid1103+"])",50)
this.curcanvas1103=(this.curcanvas1103==this.canvasbase1103+"_0")? this.canvasbase1103+"_1" : this.canvasbase1103+"_0"
}
else{
var ns4imgobj1103=document.images['defaultslide1103'+this.slideshowid1103]
ns4imgobj1103.src=this.postimages1103[this.curimageindex1103].src
ms4imgobj1103.alt=this.postimages1103[this.curimageindex1103].alt
}
this.curimageindex1103=(this.curimageindex1103<this.postimages1103.length-1)? this.curimageindex1103+1 : 0
}

fadeshow1103.prototype.resetit1103=function(){
this.degree1103=10
var crossobj1103=iebrowser1103? iebrowser1103[this.curcanvas1103] : document.getElementById(this.curcanvas1103)
if (crossobj1103.filters&&crossobj1103.filters[0]){
if (typeof crossobj1103.filters[0].opacity=="number") //if IE6+
crossobj1103.filters(0).opacity=this.degree1103
else //else if IE5.5-
crossobj1103.style.filter="alpha(opacity="+this.degree1103+")"
}
else if (crossobj1103.style.MozOpacity)
crossobj1103.style.MozOpacity=this.degree1103/101
else if (crossobj1103.style.KhtmlOpacity)
crossobj1103.style.KhtmlOpacity=this.degree1103/100
else if (crossobj1103.style.opacity&&!crossobj1103.filters)
crossobj1103.style.opacity=this.degree1103/101
}


fadeshow1103.prototype.startit1103=function(){
var crossobj1103=iebrowser1103? iebrowser1103[this.curcanvas1103] : document.getElementById(this.curcanvas1103)
this.populateslide1103(crossobj1103, this.curimageindex1103)
if (this.pausecheck1103==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1103=this
var crossobjcontainer1103=iebrowser1103? iebrowser1103["master1103"+this.slideshowid1103] : document.getElementById("master1103"+this.slideshowid1103)
crossobjcontainer1103.onmouseover=function(){cacheobj1103.mouseovercheck1103=1}
crossobjcontainer1103.onmouseout=function(){cacheobj1103.mouseovercheck1103=0}
}
this.rotateimage1103()
}
var delay = 10 * 1000;
new fadeshow1103 (fadeimages1103, 250, 250, 0, delay, 1, 'truefalse')

document.write("");
