document.write("");
var current3116 = 1;
var total3116 = 0;
var display3116 = 0;
var isRandom3116 = false;
var isNextPrev3116 = false;

function showItems3116(total, display, isRandom, isNextPrev)
{
total3116 = total;
display3116 = display;
isRandom3116 = isRandom;
isNextPrev3116 = isNextPrev;
if (isRandom || isNextPrev)
{
for (var i = 1; i <= total; i++)
{
if (document.getElementById("event-3116-"+i))
{
document.getElementById("event-3116-"+i).style.display = "none";
}
}
var random3116 = 0;
if (isRandom)
{
random3116 = Math.floor(Math.random()*total+1);
current3116 = random3116;
}
for (var i = 0; i < display; i++)
{
random3116++;
if (random3116 > total)
{
random3116 = 1;
}
if (document.getElementById("event-3116-"+random3116))
{
document.getElementById("event-3116-"+random3116).style.display = "block";
}
}
}
if (isNextPrev && !isRandom)
{
document.getElementById("edu-il-ws-3116-153-prev").style.display = "none";
if (total <= display)
{
document.getElementById("edu-il-ws-3116-153-next").style.display = "none";
}
}
}

function next3116()
{
for (var i = 0; i < display3116; i++)
{
if (isRandom3116 && (current3116+i>total3116))
{
if (document.getElementById("event-3116-"+(current3116+i-total3116)))
{
document.getElementById("event-3116-"+(current3116+i-total3116)).style.display = "none";
}
}
else
{
if (document.getElementById("event-3116-"+(current3116+i)))
{
document.getElementById("event-3116-"+(current3116+i)).style.display = "none";
}
}
}
current3116 += display3116;
if (current3116 > total3116) current3116 -= total3116;
for (var i = 0; i < display3116; i++)
{
if (isRandom3116 && (current3116+i>total3116))
{
if (document.getElementById("event-3116-"+(current3116+i-total3116)))
{
document.getElementById("event-3116-"+(current3116+i-total3116)).style.display = "block";
}
}
else
{
if (document.getElementById("event-3116-"+(current3116+i)))
{
document.getElementById("event-3116-"+(current3116+i)).style.display = "block";
}
}
}
if (!isRandom3116)
{
if ((current3116+display3116)>total3116)
{
document.getElementById("edu-il-ws-3116-153-next").style.display = "none";
}
document.getElementById("edu-il-ws-3116-153-prev").style.display = "inline";
}
}

function prev3116()
{
for (var i = 0; i < display3116; i++)
{
if (isRandom3116 && (current3116+i>total3116))
{
if (document.getElementById("event-3116-"+(current3116+i-total3116)))
{
document.getElementById("event-3116-"+(current3116+i-total3116)).style.display = "none";
}
}
else
{
if (document.getElementById("event-3116-"+(current3116+i)))
{
document.getElementById("event-3116-"+(current3116+i)).style.display = "none";
}
}
}
current3116 -= display3116;
if (current3116 < 1) current3116 += total3116;
for (var i = 0; i < display3116; i++)
{
if (isRandom3116 && (current3116+i>total3116))
{
if (document.getElementById("event-3116-"+(current3116+i-total3116)))
{
document.getElementById("event-3116-"+(current3116+i-total3116)).style.display = "block";
}
}
else
{
if (document.getElementById("event-3116-"+(current3116+i)))
{
document.getElementById("event-3116-"+(current3116+i)).style.display = "block";
}
}
}
if (!isRandom3116)
{
if (current3116==1)
{
document.getElementById("edu-il-ws-3116-153-prev").style.display = "none";
}
document.getElementById("edu-il-ws-3116-153-next").style.display = "inline";
}
}
document.write("<div id=\"pc-3116\" xmlns:xalan=\"http://xml.apache.org/xslt\">");
document.write("<div id=\"edu-il-ws-3116-153-wrapper\" class=\"edu-il-ws-3116-153-wrapper\">");
document.write("<div class=\"edu-il-ws-3116-153-content\">");
document.write("<ul id=\"content-list\">");
document.write("<li id=\"event-3116-1\">");
document.write("<div class=\"edu-il-ws-3116-153-section-box\">");
document.write("<div class=\"edu-il-ws-3116-153-description\">");
document.write("<a href=\"http://illinois.edu/lb/article/3116/57943\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/3116/9/illinois.edu/lb/article/3116/57943');}\"><p><img title=\"Lydia Buki | Photo by Ben Woloszyn\" src=\"https://illinois.edu/lb/files/2011/12/16/36790.jpg\" alt=\" Dr. Lydia Buki Photo by Ben Woloszyn\" />Dr. Lydia Buki co-edited a book that examines how language and other issues impact Latino health care</p></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"clear\"></div>");
document.write("</li>");
document.write("<li id=\"event-3116-2\">");
document.write("<div class=\"edu-il-ws-3116-153-section-box\">");
document.write("<div class=\"edu-il-ws-3116-153-description\">");
document.write("<a href=\"http://illinois.edu/lb/article/3116/43599\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/3116/9/illinois.edu/lb/article/3116/43599');}\"><p><img title=\"apply with enter key\" src=\"https://illinois.edu/lb/files/2010/10/01/29575.jpg\" alt=\" apply with enter key\" />Faculty Position Openings: see details and submit your application</p></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"clear\"></div>");
document.write("</li>");
document.write("<li id=\"event-3116-3\">");
document.write("<div class=\"edu-il-ws-3116-153-section-box\">");
document.write("<div class=\"edu-il-ws-3116-153-description\">");
document.write("<a href=\"http://illinois.edu/lb/article/3116/54242\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/3116/9/illinois.edu/lb/article/3116/54242');}\"><p><img title=\"mcauley\" src=\"https://illinois.edu/lb/files/2011/09/02/34908.jpg\" alt=\"Edward McAuley\" /> McAuley: Older Adults Who Adopt Confidence-Building Strategies Are More Likely To Continue Exercising</p></a>");
document.write("</div>");
document.write("</div>");
document.write("<div class=\"clear\"></div>");
document.write("</li>");
document.write("</ul>");
document.write("<div class=\"clear\"></div>");
document.write("</div>");
document.write("<span style=\"position:absolute;left:-40000px\" id=\"edu-il-ws-3116-153-prev\"></span><span style=\"position:absolute;left:-40000px\" id=\"edu-il-ws-3116-153-next\"></span>");
document.write("</div>");
document.write("</div><script type=\"text/javascript\" language=\"Javascript\">");
document.write("showItems3116(3, 3, false, false);");
document.write("</script>");

