var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper ul {';
wsContentVar += 'margin: 0px;';
wsContentVar += 'padding: 0px;';
wsContentVar += 'list-style: none;';
wsContentVar += 'list-style-image:none;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper li {';
wsContentVar += 'margin: 0px;';
wsContentVar += 'padding: 0px 0px 18px 0px;';
wsContentVar += 'clear: both;';
wsContentVar += 'list-style: none;';
wsContentVar += 'list-style-image:none;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper li.random {';
wsContentVar += 'display:none;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper li a {';
wsContentVar += 'text-decoration: none;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper li a:hover {';
wsContentVar += 'text-decoration: underline;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper li.title_only {';
wsContentVar += 'padding: 0px;';
wsContentVar += 'padding-bottom:16px;';
wsContentVar += '}';
wsContentVar += '';
wsContentVar += '#pc-2661 #edu-il-ws-2661-153-wrapper li.title_date_only {';
wsContentVar += 'padding-left: 0px;';
wsContentVar += 'padding-right: 0px;';
wsContentVar += 'padding-top: 0px;';
wsContentVar += 'padding-bottom: 6px;';
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 current2661 = 1;
var total2661 = 0;
var display2661 = 0;
var isRandom2661 = false;
var isNextPrev2661 = false;

function showItems2661(total, display, isRandom, isNextPrev)
{
total2661 = total;
display2661 = display;
isRandom2661 = isRandom;
isNextPrev2661 = isNextPrev;
if (isRandom || isNextPrev)
{
for (var i = 1; i <= total; i++)
{
if (document.getElementById("event-2661-"+i))
{
document.getElementById("event-2661-"+i).style.display = "none";
}
}
var random2661 = 0;
if (isRandom)
{
random2661 = Math.floor(Math.random()*total+1);
current2661 = random2661;
}
for (var i = 0; i < display; i++)
{
random2661++;
if (random2661 > total)
{
random2661 = 1;
}
if (document.getElementById("event-2661-"+random2661))
{
document.getElementById("event-2661-"+random2661).style.display = "block";
}
}
}
if (isNextPrev && !isRandom)
{
document.getElementById("edu-il-ws-2661-153-prev").style.display = "none";
if (total <= display)
{
document.getElementById("edu-il-ws-2661-153-next").style.display = "none";
}
}
}

function next2661()
{
for (var i = 0; i < display2661; i++)
{
if (isRandom2661 && (current2661+i>total2661))
{
if (document.getElementById("event-2661-"+(current2661+i-total2661)))
{
document.getElementById("event-2661-"+(current2661+i-total2661)).style.display = "none";
}
}
else
{
if (document.getElementById("event-2661-"+(current2661+i)))
{
document.getElementById("event-2661-"+(current2661+i)).style.display = "none";
}
}
}
current2661 += display2661;
if (current2661 > total2661) current2661 -= total2661;
for (var i = 0; i < display2661; i++)
{
if (isRandom2661 && (current2661+i>total2661))
{
if (document.getElementById("event-2661-"+(current2661+i-total2661)))
{
document.getElementById("event-2661-"+(current2661+i-total2661)).style.display = "block";
}
}
else
{
if (document.getElementById("event-2661-"+(current2661+i)))
{
document.getElementById("event-2661-"+(current2661+i)).style.display = "block";
}
}
}
if (!isRandom2661)
{
if ((current2661+display2661)>total2661)
{
document.getElementById("edu-il-ws-2661-153-next").style.display = "none";
}
document.getElementById("edu-il-ws-2661-153-prev").style.display = "inline";
}
}

function prev2661()
{
for (var i = 0; i < display2661; i++)
{
if (isRandom2661 && (current2661+i>total2661))
{
if (document.getElementById("event-2661-"+(current2661+i-total2661)))
{
document.getElementById("event-2661-"+(current2661+i-total2661)).style.display = "none";
}
}
else
{
if (document.getElementById("event-2661-"+(current2661+i)))
{
document.getElementById("event-2661-"+(current2661+i)).style.display = "none";
}
}
}
current2661 -= display2661;
if (current2661 < 1) current2661 += total2661;
for (var i = 0; i < display2661; i++)
{
if (isRandom2661 && (current2661+i>total2661))
{
if (document.getElementById("event-2661-"+(current2661+i-total2661)))
{
document.getElementById("event-2661-"+(current2661+i-total2661)).style.display = "block";
}
}
else
{
if (document.getElementById("event-2661-"+(current2661+i)))
{
document.getElementById("event-2661-"+(current2661+i)).style.display = "block";
}
}
}
if (!isRandom2661)
{
if (current2661==1)
{
document.getElementById("edu-il-ws-2661-153-prev").style.display = "none";
}
document.getElementById("edu-il-ws-2661-153-next").style.display = "inline";
}
}



document.write("<div id=\"pc-2661\" xmlns:xalan=\"http://xml.apache.org/xslt\">");
document.write("<div id=\"edu-il-ws-2661-153-wrapper\" class=\"edu-il-ws-2661-153-wrapper\">");
document.write("<div class=\"edu-il-ws-2661-153-content\">");
document.write("<ul>");
document.write("<li class=\"title_only\" id=\"event-2661-1\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=2719&eventId=136115&ACTION=VIEW_EVENT\" target=\"_new\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/2661/9/illinois.edu/calendar/Calendar?calId=2719&amp;eventId=136115&amp;ACTION=VIEW_EVENT');}\">On-Screen: Global Intimacy</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-2661-2\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=2719&eventId=135203&ACTION=VIEW_EVENT\" target=\"_new\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/2661/9/illinois.edu/calendar/Calendar?calId=2719&amp;eventId=135203&amp;ACTION=VIEW_EVENT');}\">West African Drum Classes with Bolokada Conde</a>");
document.write("</li>");
document.write("<li class=\"title_only\" id=\"event-2661-3\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=2719&eventId=133864&ACTION=VIEW_EVENT\" target=\"_new\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/2661/9/illinois.edu/calendar/Calendar?calId=2719&amp;eventId=133864&amp;ACTION=VIEW_EVENT');}\">West African Dance Classes with Djibril Camara</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("showItems2661(3, 3, false, false);");
document.write("</script>");
