var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '/*';
wsContentVar += 'In order to customize this Slideshow to the best of your ability, please follow the given formulas for heights and widths.';
wsContentVar += 'First, please decide upon the following values:';
wsContentVar += '  wrapperWidth = the width of the entire slideshow object in pixels.  ie. 456px';
wsContentVar += '  wrapperHeight = the height of the entire slideshow object in pixels.  ie. 153px';
wsContentVar += '  eventWidth = the width of each displayed event in pixels.  ie. 101px';
wsContentVar += '  eventHeight = the height of each displayed event in pixels.  ie. 101px';
wsContentVar += '  eventsDisplayed = the number of events to be displayed at one time.  ie. 3';
wsContentVar += '  totalEvents = the total number of events to be displayed in the slideshow.  ie. 9';
wsContentVar += '  ';
wsContentVar += '  emptySpace = (wrapperWidth - (eventsDisplayed*eventsWidth + 2px)) / (eventsDisplayed + 1)';
wsContentVar += '     ie. emptySpace = (456px - (3*101px + 2px)) / (3 + 1)  =  7px';
wsContentVar += '*/';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'width = wrapperWidth';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-wrapper';
wsContentVar += '{';
wsContentVar += 'width:456px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'width = wrapperWidth';
wsContentVar += '   ie. width = 456px';
wsContentVar += 'UPDATE your wrapperHeight by subtracting from it 1px';
wsContentVar += '   ie. wrapperHeight = 153px - 1px  =  152px';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-wireBox';
wsContentVar += '{';
wsContentVar += 'width:456px;';
wsContentVar += 'float:right;';
wsContentVar += 'position: absolute;';
wsContentVar += 'margin: 5px 0 0 5px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'UPDATE your wrapperHeight by subtracting from it this height';
wsContentVar += '   ie. wrapperHeight = 152px - 37px  =  115px';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-topper';
wsContentVar += '{';
wsContentVar += 'height:37px;';
wsContentVar += 'position: absolute;';
wsContentVar += 'top: 90px;';
wsContentVar += 'width:462px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'height = wrapperHeight';
wsContentVar += '   ie. height = 115px';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-content';
wsContentVar += '{';
wsContentVar += 'height:93px;';
wsContentVar += 'position:relative;';
wsContentVar += 'overflow:hidden;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'width of thumbnail plus border';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-event-wrapper';
wsContentVar += '{';
wsContentVar += 'width:91px;';
wsContentVar += 'float:left;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'width = eventWidth';
wsContentVar += '   ie. width = 101px';
wsContentVar += 'height = wrapperHeight - (emptySpace * 2)';
wsContentVar += '   ie. height = 115px - (7px * 2)  =  101px';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-event';
wsContentVar += '{';
wsContentVar += 'width:90px;';
wsContentVar += 'height:92px;';
wsContentVar += 'float:left;';
wsContentVar += 'position:relative;';
wsContentVar += 'overflow:hidden;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'this is the width and height of the images';
wsContentVar += 'width = eventWidth - 14px';
wsContentVar += '   ie. width = 101px - 14px  =  87px';
wsContentVar += '   warning: width must be no more than your eventWidth';
wsContentVar += 'height = eventHeight - 14px';
wsContentVar += '   ie. height = 101px - 14px  =  87px';
wsContentVar += '   warning: height must be less than your eventHeight';
wsContentVar += '*/';
wsContentVar += '.edu-il-ws-1426-SS3-event-frame';
wsContentVar += '{';
wsContentVar += 'width:90px;';
wsContentVar += 'height:90px;';
wsContentVar += 'left:1px;';
wsContentVar += 'top:1px;';
wsContentVar += 'position:absolute;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'lets make a value X and set it equal to your totalEvents / eventsDisplayed  (rounded up if decimal)';
wsContentVar += '   ie. X = 10 / 5  =  2';
wsContentVar += 'now take X and make that many copies of the eventContent style below.';
wsContentVar += 'name those styles eventContentY_ID where Y goes from 0 to X-1 and ID is given to you already.';
wsContentVar += 'for each eventContent style, set left = (Y * wrapperWidth) + emptySpace';
wsContentVar += '   ie. left = (0 * 456px) + 1px  =  1px';
wsContentVar += '   ie. left = (1 * 456px) + 1px  =  457px';
wsContentVar += '   ie. left = (2 * 456px) + 1px  =  913px';
wsContentVar += '*/';
wsContentVar += '#eventContent0_SS3_1426';
wsContentVar += '{';
wsContentVar += 'left:1px;';
wsContentVar += '}';
wsContentVar += '#eventContent1_SS3_1426';
wsContentVar += '{';
wsContentVar += 'left:457px;';
wsContentVar += '}';
wsContentVar += '/*#eventContent2_SS3_1426';
wsContentVar += '{';
wsContentVar += 'left:911px;';
wsContentVar += '}*/';
wsContentVar += '';
wsContentVar += '/*';
wsContentVar += 'top = emptySpace';
wsContentVar += '   ie. top = 1px';
wsContentVar += '*/';
wsContentVar += '#eventContent0_SS3_1426,';
wsContentVar += '#eventContent1_SS3_1426';
wsContentVar += '/*#eventContent2_SS3_1426*/';
wsContentVar += '{';
wsContentVar += 'top:1px;';
wsContentVar += 'position:absolute;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1426-SS3-wireBox a';
wsContentVar += '{';
wsContentVar += 'color:#5c7996;';
wsContentVar += 'text-decoration:none;';
wsContentVar += '}';
wsContentVar += '.edu-il-ws-1426-SS3-wireBox a:visited';
wsContentVar += '{';
wsContentVar += 'color:#5c7996;';
wsContentVar += '}';
wsContentVar += '.edu-il-ws-1426-SS3-wireBox a:hover';
wsContentVar += '{';
wsContentVar += 'color:#ca0002;';
wsContentVar += '}';
wsContentVar += '.edu-il-ws-1426-SS3-wireBox a:focus';
wsContentVar += '{';
wsContentVar += 'outline:none;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1426-SS3-buttons';
wsContentVar += '{';
wsContentVar += 'padding-top:7px;';
wsContentVar += 'margin-right:9px;';
wsContentVar += 'float:right;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '';
wsContentVar += '.edu-il-ws-1426-SS3-buttonLeft';
wsContentVar += '{';
wsContentVar += 'margin-right:12px;';
wsContentVar += 'cursor:default;';
wsContentVar += '}';
wsContentVar += '.edu-il-ws-1426-SS3-buttonRight';
wsContentVar += '{';
wsContentVar += 'margin-left:9px;';
wsContentVar += '}';
wsContentVar += 'img.edu-il-ws-1426-SS3-buttonStatus';
wsContentVar += '{';
wsContentVar += 'margin:0 3px 6px 0;';
wsContentVar += '}';
wsContentVar += '.clear';
wsContentVar += '{';
wsContentVar += 'clear:both;';
wsContentVar += '}';
wsContentVar += '.no-display';
wsContentVar += '{';
wsContentVar += 'position:absolute;';
wsContentVar += 'top:-1000px;';
wsContentVar += 'left:-1000px;';
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 te1426 = 10;
var es1426 = 5;
var maxPageSS31426 = parseInt(te1426/es1426);
if (te1426 % es1426 != 0) maxPageSS31426++;
var addressSS31426 = "https://illinois.edu/webservices/";
var currentPageSS31426 = 1;
var lockSS31426 = false;

function getWidthSS31426() {
var x = document.getElementById('slidingSS_wrapper_SS3_1426');
if (x.currentStyle)
var y = x.currentStyle['width'];
else if (window.getComputedStyle)
var y = document.defaultView.getComputedStyle(x,null).getPropertyValue('width');
wrapperWidth = y.substring(0,3);
wrapperWidth = wrapperWidth - 0;
}

function eventBlurSS31426( lnk ) {
try {
lnk.blur();
} catch(e) {};
}

function eventNextSS31426( lnk ) {
eventBlurSS31426( lnk );
if((currentPageSS31426 < maxPageSS31426)&&(!lockSS31426)) {
eventSlideLeftSS31426(1);
}
}

function eventPrevSS31426( lnk ) {
eventBlurSS31426( lnk );
if((currentPageSS31426 > 1)&&(!lockSS31426)) {
eventSlideRightSS31426(1);
}
}

function eventPageSS31426( intPage, lnk ) {
eventBlurSS31426( lnk );
if((currentPageSS31426 != intPage)&&(!lockSS31426)) {
if(currentPageSS31426 < intPage) {
eventSlideLeftSS31426(intPage-currentPageSS31426);
}
else {
eventSlideRightSS31426(currentPageSS31426-intPage);
}
}
}

function eventLockSS31426( intDur ) {
var eventLockDurSS31426 = intDur * 100;
lockSS31426 = true;
setTimeout(function() { lockSS31426 = false; },eventLockDurSS31426);
}

function eventSlideLeftSS31426(slideAmount) {
eventLockSS31426(maxPageSS31426);
getWidthSS31426();
for (i=0; i<maxPageSS31426; i++)
{
new Effect.MoveBy( 'eventContent'+i+'_SS3_1426', 0, -wrapperWidth*slideAmount , {duration: 0.3*slideAmount} );
}
currentPageSS31426+=slideAmount;
moveDotSS31426();
updateButtonsSS31426();
}

function eventSlideRightSS31426(slideAmount) {
eventLockSS31426(maxPageSS31426);
getWidthSS31426();
for (i=0; i<maxPageSS31426; i++)
{
new Effect.MoveBy( 'eventContent'+i+'_SS3_1426', 0, wrapperWidth*slideAmount , {duration: 0.3*slideAmount} );
}
currentPageSS31426-=slideAmount;
moveDotSS31426();
updateButtonsSS31426();
}

function dotMouseOverSS31426( id ) {
$(id).src = 'gray_active_status.gif';
}

// image change functions
function moveDotSS31426() {
for(i=1;i<maxPageSS31426+1;i++) {
$('buttonDot'+i+'_SS3_1426').src = addressSS31426+'toolbox/pc/ss3/images/gray_status.gif';
$('buttonDot'+i+'_SS3_1426').onmouseover = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/gray_active_status.gif';}
$('buttonDot'+i+'_SS3_1426').onmouseout = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/gray_status.gif';}
$('buttonDot'+i+'_SS3_1426').onfocus = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/gray_active_status.gif';}
$('buttonDot'+i+'_SS3_1426').onblur = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/gray_status.gif';}
}
$('buttonDot'+currentPageSS31426+'_SS3_1426').src = addressSS31426+'toolbox/pc/ss3/images/gray_active_status.gif';
$('buttonDot'+currentPageSS31426+'_SS3_1426').onmouseover = function() {}
$('buttonDot'+currentPageSS31426+'_SS3_1426').onmouseout = function() {}
$('buttonDot'+currentPageSS31426+'_SS3_1426').onfocus = function() {}
$('buttonDot'+currentPageSS31426+'_SS3_1426').onblur = function() {}
}
function updateButtonsSS31426() {
if(currentPageSS31426 > 1) {
$('buttonLeft_SS3_1426').style.cursor ='auto';
$('buttonLeft_SS3_1426').src = addressSS31426+'toolbox/pc/ss3/images/left_red_btn.gif';
$('buttonLeft_SS3_1426').onmouseover = function() { this.src=addressSS31426+'toolbox/pc/ss3/images/left_red_over_btn.gif'; }
$('buttonLeft_SS3_1426').onmouseout = function() { this.src=addressSS31426+'toolbox/pc/ss3/images/left_red_btn.gif'; }
$('buttonLeft_SS3_1426').onfocus = function() { this.src=addressSS31426+'toolbox/pc/ss3/images/left_red_over_btn.gif'; }
$('buttonLeft_SS3_1426').onblur = function() { this.src=addressSS31426+'toolbox/pc/ss3/images/left_red_btn.gif'; }
}
else {
$('buttonLeft_SS3_1426').style.cursor ='default';
$('buttonLeft_SS3_1426').src = addressSS31426+'toolbox/pc/ss3/images/left_gray_btn.gif';
$('buttonLeft_SS3_1426').onmouseover = function() {}
$('buttonLeft_SS3_1426').onmouseout = function() {}
$('buttonLeft_SS3_1426').onfocus = function() {}
$('buttonLeft_SS3_1426').onblur = function() {}
}

if(currentPageSS31426 < maxPageSS31426) {
$('buttonRight_SS3_1426').style.cursor ='auto';
$('buttonRight_SS3_1426').src = addressSS31426+'toolbox/pc/ss3/images/right_red_btn.gif';
$('buttonRight_SS3_1426').onmouseover = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/right_red_over_btn.gif';}
$('buttonRight_SS3_1426').onmouseout = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/right_red_btn.gif';}
$('buttonRight_SS3_1426').onfocus = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/right_red_over_btn.gif';}
$('buttonRight_SS3_1426').onblur = function() {this.src = addressSS31426+'toolbox/pc/ss3/images/right_red_btn.gif';}
}
else {
$('buttonRight_SS3_1426').style.cursor ='default';
$('buttonRight_SS3_1426').src = addressSS31426+'toolbox/pc/ss3/images/right_gray_btn.gif';
$('buttonRight_SS3_1426').onmouseover = function() {}
$('buttonRight_SS3_1426').onmouseout = function() {}
$('buttonRight_SS3_1426').onfocus = function() {}
$('buttonRight_SS3_1426').onblur = function() {}
}
}





document.write("<script src=\"https://illinois.edu/webservices/toolbox/pc/ss3/prototype.js\" type=\"text/javascript\" xmlns:xalan=\"http://xml.apache.org/xslt\"></script><script src=\"https://illinois.edu/webservices/toolbox/pc/ss3/effects.js\" type=\"text/javascript\"></script><div class=\"edu-il-ws-1426-SS3-wrapper\" id=\"slidingSS_wrapper_SS3_1426\">");
document.write("<div class=\"edu-il-ws-1426-SS3-wireBox\">");
document.write("<div class=\"edu-il-ws-1426-SS3-topper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-title\"></div>");
document.write("<div class=\"edu-il-ws-1426-SS3-buttons\">");
document.write("<a href=\"javascript:void(0);\" onClick=\"javascript:eventPrevSS31426(this);return false;\"><img width=\"26\" height=\"19\" border=\"0\" alt=\"previous\" src=\"https://illinois.edu/webservices/toolbox/pc/ss3/images/left_gray_btn.gif\" id=\"buttonLeft_SS3_1426\" class=\"edu-il-ws-1426-SS3-buttonLeft\"><span class=\"no-display\">previous</span></a><a href=\"javascript:void(0);\" onClick=\"javascript:eventPageSS31426(1,this);return false;\"><img width=\"5\" height=\"5\" border=\"0\" alt=\"group 1\" src=\"https://illinois.edu/webservices/toolbox/pc/ss3/images/gray_active_status.gif\" class=\"edu-il-ws-1426-SS3-buttonStatus\" id=\"buttonDot1_SS3_1426\"><span class=\"no-display\">group 1</span></a><a href=\"javascript:void(0);\" onClick=\"javascript:eventPageSS31426(2,this);return false;\"><img width=\"5\" height=\"5\" border=\"0\" alt=\"group 2\" src=\"https://illinois.edu/webservices/toolbox/pc/ss3/images/gray_status.gif\" onMouseOver=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/gray_active_status.gif'\" onFocus=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/gray_active_status.gif'\" onMouseOut=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/gray_status.gif'\" onBlur=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/gray_status.gif'\" class=\"edu-il-ws-1426-SS3-buttonStatus\" id=\"buttonDot2_SS3_1426\"><span class=\"no-display\">group 2</span></a><a href=\"javascript:void(0);\" onClick=\"javascript:eventNextSS31426(this);return false;\"><img width=\"26\" height=\"19\" border=\"0\" alt=\"next\" src=\"https://illinois.edu/webservices/toolbox/pc/ss3/images/right_red_btn.gif\" onMouseOver=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/right_red_over_btn.gif'\" onFocus=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/right_red_over_btn.gif'\" onMouseOut=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/right_red_btn.gif'\" onBlur=\"this.src='https://illinois.edu/webservices/toolbox/pc/ss3/images/right_red_btn.gif'\" id=\"buttonRight_SS3_1426\" class=\"edu-il-ws-1426-SS3-buttonRight\"><span class=\"no-display\">next</span></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-content\">");
document.write("<div id=\"eventContent0_SS3_1426\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#32233\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/11/20/23162.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#31786\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/11/11/22924.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#31780\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/11/11/22922.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#31096\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/10/26/22527.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#30962\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/10/22/22438.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("</div>");
document.write("<div id=\"eventContent1_SS3_1426\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#30933\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/10/21/22416.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#30766\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/10/19/22368.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#30715\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/10/16/22340.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#30626\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/10/14/22284.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-1426-SS3-event-wrapper\">");
document.write("<div class=\"edu-il-ws-1426-SS3-event\">");
document.write("<a href=\"http://illinois.edu/here_now/index.html#29954\"><img border=\"0\" class=\"edu-il-ws-1426-SS3-event-frame\" src=\"https://illinois.edu/lb/files/2009/09/28/21877.jpg\" alt=\"\"></a>");
document.write("</div>");
document.write("</div>");
document.write("</div>");
document.write("</div>");
document.write("</div>");
document.write("</div>");
