var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-wrapper {';
wsContentVar += 'display:block;';
wsContentVar += '}';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-date {';
wsContentVar += 'font-size:10px;';
wsContentVar += 'color:#000000;';
wsContentVar += 'width:150px;';
wsContentVar += '}';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-title {';
wsContentVar += 'font-size:11px;';
wsContentVar += 'width:200px;';
wsContentVar += 'padding-bottom:7px;';
wsContentVar += '}';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-title a {';
wsContentVar += 'color:#663333;';
wsContentVar += 'font-weight:bold;';
wsContentVar += 'text-decoration:none;';
wsContentVar += '}';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-title a:visited {';
wsContentVar += '}';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-title a:hover {';
wsContentVar += 'text-decoration:underline;';
wsContentVar += '}';
wsContentVar += '.edu-uiuc-webservices-pc-248-153-titlelink {';
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 current248 = 1;
var total248 = 0;
var display248 = 0;
var isRandom248 = false;
var isNextPrev248 = false;

function showItems248(total, display, isRandom, isNextPrev)
{
total248 = total;
display248 = display;
isRandom248 = isRandom;
isNextPrev248 = isNextPrev;
if (isRandom || isNextPrev)
{
for (var i = 1; i <= total; i++)
{
if (document.getElementById("event-248-"+i))
{
document.getElementById("event-248-"+i).style.display = "none";
}
}
var random248 = 0;
if (isRandom)
{
random248 = Math.floor(Math.random()*total+1);
current248 = random248;
}
for (var i = 0; i < display; i++)
{
random248++;
if (random248 > total)
{
random248 = 1;
}
if (document.getElementById("event-248-"+random248))
{
document.getElementById("event-248-"+random248).style.display = "block";
}
}
}
if (isNextPrev && !isRandom)
{
document.getElementById("edu-il-ws-248-153-prev").style.display = "none";
if (total <= display)
{
document.getElementById("edu-il-ws-248-153-next").style.display = "none";
}
}
}

function next248()
{
for (var i = 0; i < display248; i++)
{
if (isRandom248 && (current248+i>total248))
{
if (document.getElementById("event-248-"+(current248+i-total248)))
{
document.getElementById("event-248-"+(current248+i-total248)).style.display = "none";
}
}
else
{
if (document.getElementById("event-248-"+(current248+i)))
{
document.getElementById("event-248-"+(current248+i)).style.display = "none";
}
}
}
current248 += display248;
if (current248 > total248) current248 -= total248;
for (var i = 0; i < display248; i++)
{
if (isRandom248 && (current248+i>total248))
{
if (document.getElementById("event-248-"+(current248+i-total248)))
{
document.getElementById("event-248-"+(current248+i-total248)).style.display = "block";
}
}
else
{
if (document.getElementById("event-248-"+(current248+i)))
{
document.getElementById("event-248-"+(current248+i)).style.display = "block";
}
}
}
if (!isRandom248)
{
if ((current248+display248)>total248)
{
document.getElementById("edu-il-ws-248-153-next").style.display = "none";
}
document.getElementById("edu-il-ws-248-153-prev").style.display = "inline";
}
}

function prev248()
{
for (var i = 0; i < display248; i++)
{
if (isRandom248 && (current248+i>total248))
{
if (document.getElementById("event-248-"+(current248+i-total248)))
{
document.getElementById("event-248-"+(current248+i-total248)).style.display = "none";
}
}
else
{
if (document.getElementById("event-248-"+(current248+i)))
{
document.getElementById("event-248-"+(current248+i)).style.display = "none";
}
}
}
current248 -= display248;
if (current248 < 1) current248 += total248;
for (var i = 0; i < display248; i++)
{
if (isRandom248 && (current248+i>total248))
{
if (document.getElementById("event-248-"+(current248+i-total248)))
{
document.getElementById("event-248-"+(current248+i-total248)).style.display = "block";
}
}
else
{
if (document.getElementById("event-248-"+(current248+i)))
{
document.getElementById("event-248-"+(current248+i)).style.display = "block";
}
}
}
if (!isRandom248)
{
if (current248==1)
{
document.getElementById("edu-il-ws-248-153-prev").style.display = "none";
}
document.getElementById("edu-il-ws-248-153-next").style.display = "inline";
}
}



document.write("<div id=\"pc-248\" xmlns:xalan=\"http://xml.apache.org/xslt\">");
document.write("<div id=\"edu-il-ws-248-153-wrapper\" class=\"edu-il-ws-248-153-wrapper\">");
document.write("<div class=\"edu-il-ws-248-153-content\">");
document.write("<ul id=\"content-list\">");
document.write("<li class=\"title_date_only\" id=\"event-248-1\">");
document.write("<div class=\"edu-il-ws-248-153-time-with-title\">December 01, 2009</div>");
document.write("<div class=\"edu-il-ws-248-153-title-with-date\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=45&eventId=148557&ACTION=VIEW_EVENT\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/248/9/illinois.edu/calendar/Calendar?calId=45&amp;eventId=148557&amp;ACTION=VIEW_EVENT');}\">Shopping Our Way to Safety: How We Changed from Protecting the Environment to Protecting Ourselves</a>");
document.write("</div>");
document.write("</li>");
document.write("<li class=\"title_date_only\" id=\"event-248-2\">");
document.write("<div class=\"edu-il-ws-248-153-time-with-title\">December 01, 2009</div>");
document.write("<div class=\"edu-il-ws-248-153-title-with-date\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=45&eventId=144672&ACTION=VIEW_EVENT\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/248/9/illinois.edu/calendar/Calendar?calId=45&amp;eventId=144672&amp;ACTION=VIEW_EVENT');}\">Alumni Insights on International Careers and Foreign Languages and Area Studies</a>");
document.write("</div>");
document.write("</li>");
document.write("<li class=\"title_date_only\" id=\"event-248-3\">");
document.write("<div class=\"edu-il-ws-248-153-time-with-title\">December 01, 2009</div>");
document.write("<div class=\"edu-il-ws-248-153-title-with-date\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=45&eventId=147799&ACTION=VIEW_EVENT\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/248/9/illinois.edu/calendar/Calendar?calId=45&amp;eventId=147799&amp;ACTION=VIEW_EVENT');}\">Global Lens 2009 Film Series/ My Time Will Come (Cuando Me Toque A Mi)</a>");
document.write("</div>");
document.write("</li>");
document.write("<li class=\"title_date_only\" id=\"event-248-4\">");
document.write("<div class=\"edu-il-ws-248-153-time-with-title\">December 03, 2009</div>");
document.write("<div class=\"edu-il-ws-248-153-title-with-date\">");
document.write("<a href=\"http://illinois.edu/calendar/Calendar?calId=45&eventId=129962&ACTION=VIEW_EVENT\" onclick=\"if(window._uacct){ javascript:urchinTracker('/ws/pc/248/9/illinois.edu/calendar/Calendar?calId=45&amp;eventId=129962&amp;ACTION=VIEW_EVENT');}\">LAS Global Studies Major Information Session</a>");
document.write("</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("showItems248(4, 3, false, false);");
document.write("</script>");
