document.write("");
var current20 = 1;
var total20 = 0;
var display20 = 0;
var isRandom20 = false;
var isNextPrev20 = false;

function showItems20(total, display, isRandom, isNextPrev)
{
total20 = total;
display20 = display;
isRandom20 = isRandom;
isNextPrev20 = isNextPrev;
if (isRandom || isNextPrev)
{
for (var i = 1; i <= total; i++)
{
if (document.getElementById("event-20-"+i))
{
document.getElementById("event-20-"+i).style.display = "none";
}
}
var random20 = 0;
if (isRandom)
{
random20 = Math.floor(Math.random()*total+1);
current20 = random20;
}
for (var i = 0; i < display; i++)
{
random20++;
if (random20 > total)
{
random20 = 1;
}
if (document.getElementById("event-20-"+random20))
{
document.getElementById("event-20-"+random20).style.display = "block";
}
}
}
if (isNextPrev && !isRandom)
{
document.getElementById("edu-il-ws-20-153-prev").style.display = "none";
if (total <= display)
{
document.getElementById("edu-il-ws-20-153-next").style.display = "none";
}
}
}

function next20()
{
for (var i = 0; i < display20; i++)
{
if (isRandom20 && (current20+i>total20))
{
if (document.getElementById("event-20-"+(current20+i-total20)))
{
document.getElementById("event-20-"+(current20+i-total20)).style.display = "none";
}
}
else
{
if (document.getElementById("event-20-"+(current20+i)))
{
document.getElementById("event-20-"+(current20+i)).style.display = "none";
}
}
}
current20 += display20;
if (current20 > total20) current20 -= total20;
for (var i = 0; i < display20; i++)
{
if (isRandom20 && (current20+i>total20))
{
if (document.getElementById("event-20-"+(current20+i-total20)))
{
document.getElementById("event-20-"+(current20+i-total20)).style.display = "block";
}
}
else
{
if (document.getElementById("event-20-"+(current20+i)))
{
document.getElementById("event-20-"+(current20+i)).style.display = "block";
}
}
}
if (!isRandom20)
{
if ((current20+display20)>total20)
{
document.getElementById("edu-il-ws-20-153-next").style.display = "none";
}
document.getElementById("edu-il-ws-20-153-prev").style.display = "inline";
}
}

function prev20()
{
for (var i = 0; i < display20; i++)
{
if (isRandom20 && (current20+i>total20))
{
if (document.getElementById("event-20-"+(current20+i-total20)))
{
document.getElementById("event-20-"+(current20+i-total20)).style.display = "none";
}
}
else
{
if (document.getElementById("event-20-"+(current20+i)))
{
document.getElementById("event-20-"+(current20+i)).style.display = "none";
}
}
}
current20 -= display20;
if (current20 < 1) current20 += total20;
for (var i = 0; i < display20; i++)
{
if (isRandom20 && (current20+i>total20))
{
if (document.getElementById("event-20-"+(current20+i-total20)))
{
document.getElementById("event-20-"+(current20+i-total20)).style.display = "block";
}
}
else
{
if (document.getElementById("event-20-"+(current20+i)))
{
document.getElementById("event-20-"+(current20+i)).style.display = "block";
}
}
}
if (!isRandom20)
{
if (current20==1)
{
document.getElementById("edu-il-ws-20-153-prev").style.display = "none";
}
document.getElementById("edu-il-ws-20-153-next").style.display = "inline";
}
}



document.write("<div id=\"pc-20\" xmlns:xalan=\"http://xml.apache.org/xslt\">");
document.write("<div id=\"edu-il-ws-20-153-wrapper\" class=\"edu-il-ws-20-153-wrapper\">");
document.write("<div class=\"edu-il-ws-20-153-content\">");
document.write("<ul>");
document.write("<li class=\"title_only\" id=\"event-20-1\">");
document.write("<a href=\"http://illinois.edu/lb/article/20/28845\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/20/9/illinois.edu/lb/article/20/28845');}\">Remarks to the Urbana-Champaign Academic Senate</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-20-2\">");
document.write("<a href=\"http://illinois.edu/lb/article/20/27200\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/20/9/illinois.edu/lb/article/20/27200');}\">PUSH Excel Scholarship Gala</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-20-3\">");
document.write("<a href=\"http://illinois.edu/lb/article/20/26934\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/20/9/illinois.edu/lb/article/20/26934');}\">John Cribbet Memorial Service</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-20-4\">");
document.write("<a href=\"http://illinois.edu/lb/article/20/26933\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/20/9/illinois.edu/lb/article/20/26933');}\">2009 Commencement remarks</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-20-5\">");
document.write("<a href=\"http://illinois.edu/lb/article/20/26932\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/20/9/illinois.edu/lb/article/20/26932');}\">Ministerial Alliance of Champaign-Urbana and Vicinity</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-20-6\">");
document.write("<a href=\"http://illinois.edu/lb/article/20/26931\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/20/9/illinois.edu/lb/article/20/26931');}\">Preserving the Land Grant Act in the Era of the Modern Research University</a>");
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("showItems20(6, 3, false, false);");
document.write("</script>");
