document.write("");
var current2617 = 1;
var total2617 = 0;
var display2617 = 0;
var isRandom2617 = false;
var isNextPrev2617 = false;

function showItems2617(total, display, isRandom, isNextPrev)
{
total2617 = total;
display2617 = display;
isRandom2617 = isRandom;
isNextPrev2617 = isNextPrev;
if (isRandom || isNextPrev)
{
for (var i = 1; i <= total; i++)
{
if (document.getElementById("event-2617-"+i))
{
document.getElementById("event-2617-"+i).style.display = "none";
}
}
var random2617 = 0;
if (isRandom)
{
random2617 = Math.floor(Math.random()*total+1);
current2617 = random2617;
}
for (var i = 0; i < display; i++)
{
random2617++;
if (random2617 > total)
{
random2617 = 1;
}
if (document.getElementById("event-2617-"+random2617))
{
document.getElementById("event-2617-"+random2617).style.display = "block";
}
}
}
if (isNextPrev && !isRandom)
{
document.getElementById("edu-il-ws-2617-153-prev").style.display = "none";
if (total <= display)
{
document.getElementById("edu-il-ws-2617-153-next").style.display = "none";
}
}
}

function next2617()
{
for (var i = 0; i < display2617; i++)
{
if (isRandom2617 && (current2617+i>total2617))
{
if (document.getElementById("event-2617-"+(current2617+i-total2617)))
{
document.getElementById("event-2617-"+(current2617+i-total2617)).style.display = "none";
}
}
else
{
if (document.getElementById("event-2617-"+(current2617+i)))
{
document.getElementById("event-2617-"+(current2617+i)).style.display = "none";
}
}
}
current2617 += display2617;
if (current2617 > total2617) current2617 -= total2617;
for (var i = 0; i < display2617; i++)
{
if (isRandom2617 && (current2617+i>total2617))
{
if (document.getElementById("event-2617-"+(current2617+i-total2617)))
{
document.getElementById("event-2617-"+(current2617+i-total2617)).style.display = "block";
}
}
else
{
if (document.getElementById("event-2617-"+(current2617+i)))
{
document.getElementById("event-2617-"+(current2617+i)).style.display = "block";
}
}
}
if (!isRandom2617)
{
if ((current2617+display2617)>total2617)
{
document.getElementById("edu-il-ws-2617-153-next").style.display = "none";
}
document.getElementById("edu-il-ws-2617-153-prev").style.display = "inline";
}
}

function prev2617()
{
for (var i = 0; i < display2617; i++)
{
if (isRandom2617 && (current2617+i>total2617))
{
if (document.getElementById("event-2617-"+(current2617+i-total2617)))
{
document.getElementById("event-2617-"+(current2617+i-total2617)).style.display = "none";
}
}
else
{
if (document.getElementById("event-2617-"+(current2617+i)))
{
document.getElementById("event-2617-"+(current2617+i)).style.display = "none";
}
}
}
current2617 -= display2617;
if (current2617 < 1) current2617 += total2617;
for (var i = 0; i < display2617; i++)
{
if (isRandom2617 && (current2617+i>total2617))
{
if (document.getElementById("event-2617-"+(current2617+i-total2617)))
{
document.getElementById("event-2617-"+(current2617+i-total2617)).style.display = "block";
}
}
else
{
if (document.getElementById("event-2617-"+(current2617+i)))
{
document.getElementById("event-2617-"+(current2617+i)).style.display = "block";
}
}
}
if (!isRandom2617)
{
if (current2617==1)
{
document.getElementById("edu-il-ws-2617-153-prev").style.display = "none";
}
document.getElementById("edu-il-ws-2617-153-next").style.display = "inline";
}
}



document.write("<div id=\"pc-2617\" xmlns:xalan=\"http://xml.apache.org/xslt\">");
document.write("<div id=\"edu-il-ws-2617-153-wrapper\" class=\"edu-il-ws-2617-153-wrapper\">");
document.write("<div class=\"edu-il-ws-2617-153-content\">");
document.write("<ul id=\"content-list\">");
document.write("<li id=\"event-2617-1\">");
document.write("<div class=\"edu-il-ws-2617-153-image-box\">");
document.write("<a href=\"http://illinois.edu/lb/article/2617/31009\"><img alt=\"name\" src=\"https://illinois.edu/lb/files/2009/10/26/22533.jpg\"></a>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-2617-153-section-box\">");
document.write("<h4 class=\"edu-il-ws-2617-153-item-title\">");
document.write("<a href=\"http://illinois.edu/lb/article/2617/31009\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/2617/9/illinois.edu/lb/article/2617/31009');}\">Apply Now for Pilot Grants</a>");
document.write("</h4>");
document.write("<div class=\"edu-il-ws-2617-153-description\">The Center on Health, Aging, and Disability invites applications for pilot grant funding.   Up to four grants of $15,000 each will be awarded. Deadline is December 11, 2009.</div>");
document.write("</div>");
document.write("<div class=\"clear\"></div>");
document.write("</li>");
document.write("<li id=\"event-2617-2\">");
document.write("<div class=\"edu-il-ws-2617-153-image-box\">");
document.write("<a href=\"http://illinois.edu/lb/article/2617/30027\"><img alt=\"name\" src=\"https://illinois.edu/lb/files/2009/09/30/21913.jpg\"></a>");
document.write("</div>");
document.write("<div class=\"edu-il-ws-2617-153-section-box\">");
document.write("<h4 class=\"edu-il-ws-2617-153-item-title\">");
document.write("<a href=\"http://illinois.edu/lb/article/2617/30027\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/2617/9/illinois.edu/lb/article/2617/30027');}\">Register Now for Brown Bag Educational Sessions</a>");
document.write("</h4>");
document.write("<div class=\"edu-il-ws-2617-153-description\"><p>The AHS Teaching Academy, the Center on Health, Aging, and Disability, and the Faculty Mentoring Program have joined forces to present the 2009-2010 Educational Brown Bag Series. <a href='https://illinois.edu/lb/files/2009/10/19/22362.ppt'>See slides from previous sessions</a>.</p></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("</div>");
document.write("</div><script type=\"text/javascript\" language=\"Javascript\">");
document.write("showItems2617(2, 2, false, false);");
document.write("</script>");
