var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.slide-show-wrapper-1272{';
wsContentVar += '        width:754px;';
wsContentVar += '        height:250px;';
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 fadeimages1272=new Array()

fadeimages1272 [0]=["https://illinois.edu/lb/files/2009/11/10/22903.png", "http://studentaffairs.illinois.edu/diversity/women/scholarships.html", "_new", "Apply for an Illinois Club Scholarship Award!"];

fadeimages1272 [1]=["https://illinois.edu/lb/files/2009/11/10/22918.png", "http://studentaffairs.illinois.edu/students411/safety.html", "_new", "Be Safe on Campus"];

fadeimages1272 [2]=["https://illinois.edu/lb/files/2009/11/06/22846.jpg", "http://studentaffairs.illinois.edu/students411/facebook.html", "_new", "Join Student Affairs on Facebook!"];

fadeimages1272 [3]=["https://illinois.edu/lb/files/2009/09/07/21370.jpg", "http://studentaffairs.illinois.edu/students411/gallery_welcomeWeek09.html", "_new", "Student Affairs Welcome Week Photo Galleries"];

fadeimages1272 [4]=["https://illinois.edu/lb/files/2009/08/20/20901.jpg", "http://studentaffairs.illinois.edu/map/index.html", "_new", "New Student Affairs Campus Map with Google!"];

fadeimages1272 [5]=["https://illinois.edu/lb/files/2009/08/16/20756.png", "http://www.cumtd.com/routeschedules/Default.aspx", "_new", "Xtreme MTD Route Changes on Route"];

fadeimages1272 [6]=["https://illinois.edu/lb/files/2009/07/15/11759.jpg", "http://studentaffairs.illinois.edu/greensa/index.html", "_new", ""];

fadeimages1272 [7]=["https://illinois.edu/lb/files/2009/06/25/11453.jpg", "http://studentaffairs.illinois.edu/sagallery.html", "_new", ""];

fadeimages1272 [8]=["https://illinois.edu/lb/files/2009/06/11/11113.jpg", "http://www.facebook.com/home.php#/pages/University-of-Illinois-Fraternities-Sororities/18058737543", "_new", ""];

fadeimages1272 [9]=["https://illinois.edu/lb/files/2009/05/09/10390.jpg", "http://studentaffairs.illinois.edu/diversity/studentCompetition.html", "_new", ""];
var fadebgcolor1272="white"

////NO need to edit beyond here/////////////

var fadearray1272=new Array() //array to cache fadeshow instances
var fadeclear1272=new Array() //array to cache corresponding clearinterval pointers

var dom1272=(document.getElementById) //modern dom browsers
var iebrowser1272=document.all

function fadeshow1272(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck1272=pause
this.mouseovercheck1272=0
this.delay1272=delay
this.degree1272=10 //initial opacity degree (10%)
this.curimageindex1272=0
this.nextimageindex1272=1
fadearray1272[fadearray1272.length]=this
this.slideshowid1272=fadearray1272.length-1
this.canvasbase1272="canvas1272"+this.slideshowid1272
this.curcanvas1272=this.canvasbase1272+"_0"
if (displayorder=="truetrue")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages1272=theimages
this.imageborder1272=parseInt(borderwidth)
this.postimages1272=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages1272[p]=new Image()
this.postimages1272[p].src=theimages[p][0]
this.postimages1272[p].alt=theimages[p][3]
}

var fadewidth1272=fadewidth+this.imageborder1272*2
var fadeheight1272=fadeheight+this.imageborder1272*2

if (iebrowser1272&&dom1272||dom1272) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master1272'+this.slideshowid1272+'" class="slide-show-wrapper-1272" style="position:relative;overflow:hidden;"><div class="test" id="'+this.canvasbase1272+'_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:'+fadebgcolor1272+'"></div><div id="'+this.canvasbase1272+'_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:'+fadebgcolor1272+'"></div></div>')
else
document.write('<div><img class="edu-il-ws-1272-content-with-border" name="defaultslide1272'+this.slideshowid1272+'" src="'+this.postimages1272[0].src+'" alt="'+this.postimages1272[0].alt+'"></div>')

if (iebrowser1272&&dom1272||dom1272) //if IE5+ or modern browsers such as Firefox
this.startit1272()
else{
this.curimageindex1272++
setInterval("fadearray1272["+this.slideshowid1272+"].rotateimage1272()", this.delay1272)
}
}





function fadepic1272(obj1272){
if (obj1272.degree1272<100){
obj1272.degree1272+=10
if (obj1272.tempobj1272.filters&&obj1272.tempobj1272.filters[0]){
if (typeof obj1272.tempobj1272.filters[0].opacity=="number") //if IE6+
obj1272.tempobj1272.filters[0].opacity=obj1272.degree1272
else //else if IE5.5-
obj1272.tempobj1272.style.filter="alpha(opacity="+obj1272.degree1272+")"
}
else if (obj1272.tempobj1272.style.MozOpacity)
obj1272.tempobj1272.style.MozOpacity=obj1272.degree1272/101
else if (obj1272.tempobj1272.style.KhtmlOpacity)
obj1272.tempobj1272.style.KhtmlOpacity=obj1272.degree1272/100
else if (obj1272.tempobj1272.style.opacity&&!obj1272.tempobj1272.filters)
obj1272.tempobj1272.style.opacity=obj1272.degree1272/101
}
else{
clearInterval(fadeclear1272[obj1272.slideshowid1272])
obj1272.nextcanvas1272=(obj1272.curcanvas1272==obj1272.canvasbase1272+"_0")? obj1272.canvasbase1272+"_0" : obj1272.canvasbase1272+"_1"
obj1272.tempobj1272=iebrowser1272? iebrowser1272[obj1272.nextcanvas1272] : document.getElementById(obj1272.nextcanvas1272)
obj1272.populateslide1272(obj1272.tempobj1272, obj1272.nextimageindex1272)
obj1272.nextimageindex1272=(obj1272.nextimageindex1272<obj1272.postimages1272.length-1)? obj1272.nextimageindex1272+1 : 0
setTimeout("fadearray1272["+obj1272.slideshowid1272+"].rotateimage1272()", obj1272.delay1272)
}
}


fadeshow1272.prototype.populateslide1272=function(picobj1272, picindex1272){
var slideHTML1272=""
if (this.theimages1272[picindex1272][1]!="") //if associated link exists for image
slideHTML1272='<a href="'+this.theimages1272[picindex1272][1]+'" target="'+this.theimages1272[picindex1272][2]+'">'
slideHTML1272+='<img class="edu-il-ws-1272-content-with-border" src="'+this.postimages1272[picindex1272].src+'" alt="'+this.postimages1272[picindex1272].alt+'" border="'+this.imageborder1272+'px">'
if (this.theimages1272[picindex1272][1]!="") //if associated link exists for image
slideHTML1272+='</a>'
picobj1272.innerHTML=slideHTML1272
}


fadeshow1272.prototype.rotateimage1272=function(){
if (this.pausecheck1272==1) //if pause onMouseover enabled, cache object
var cacheobj1272=this
if (this.mouseovercheck1272==1)
setTimeout(function(){cacheobj1272.rotateimage1272()}, 100)
else if (iebrowser1272&&dom1272||dom1272){
this.resetit1272()
var crossobj1272=this.tempobj1272=iebrowser1272? iebrowser1272[this.curcanvas1272] : document.getElementById(this.curcanvas1272)
crossobj1272.style.zIndex++
fadeclear1272[this.slideshowid1272]=setInterval("fadepic1272(fadearray1272["+this.slideshowid1272+"])",50)
this.curcanvas1272=(this.curcanvas1272==this.canvasbase1272+"_0")? this.canvasbase1272+"_1" : this.canvasbase1272+"_0"
}
else{
var ns4imgobj1272=document.images['defaultslide1272'+this.slideshowid1272]
ns4imgobj1272.src=this.postimages1272[this.curimageindex1272].src
ms4imgobj1272.alt=this.postimages1272[this.curimageindex1272].alt
}
this.curimageindex1272=(this.curimageindex1272<this.postimages1272.length-1)? this.curimageindex1272+1 : 0
}

fadeshow1272.prototype.resetit1272=function(){
this.degree1272=10
var crossobj1272=iebrowser1272? iebrowser1272[this.curcanvas1272] : document.getElementById(this.curcanvas1272)
if (crossobj1272.filters&&crossobj1272.filters[0]){
if (typeof crossobj1272.filters[0].opacity=="number") //if IE6+
crossobj1272.filters(0).opacity=this.degree1272
else //else if IE5.5-
crossobj1272.style.filter="alpha(opacity="+this.degree1272+")"
}
else if (crossobj1272.style.MozOpacity)
crossobj1272.style.MozOpacity=this.degree1272/101
else if (crossobj1272.style.KhtmlOpacity)
crossobj1272.style.KhtmlOpacity=this.degree1272/100
else if (crossobj1272.style.opacity&&!crossobj1272.filters)
crossobj1272.style.opacity=this.degree1272/101
}


fadeshow1272.prototype.startit1272=function(){
var crossobj1272=iebrowser1272? iebrowser1272[this.curcanvas1272] : document.getElementById(this.curcanvas1272)
this.populateslide1272(crossobj1272, this.curimageindex1272)
if (this.pausecheck1272==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj1272=this
var crossobjcontainer1272=iebrowser1272? iebrowser1272["master1272"+this.slideshowid1272] : document.getElementById("master1272"+this.slideshowid1272)
crossobjcontainer1272.onmouseover=function(){cacheobj1272.mouseovercheck1272=1}
crossobjcontainer1272.onmouseout=function(){cacheobj1272.mouseovercheck1272=0}
}
this.rotateimage1272()
}
var delay = 3 * 1000;
new fadeshow1272 (fadeimages1272, 250, 250, 0, delay, 1, 'truefalse')

document.write("");
