var wsStyleVar = document.createElement('style');
var wsContentVar = '';
wsContentVar += '.edu-il-ws-2400-SS4-wrapper {';
wsContentVar += 'position: relative;';
wsContentVar += 'z-index: 0;';
wsContentVar += 'background-color: #fff;';
wsContentVar += 'width: 633px;';
wsContentVar += 'height: 196px;';
wsContentVar += '';
wsContentVar += '}';
wsContentVar += '.edu-il-ws-2400-SS4-wrapper-withBorder {';
wsContentVar += 'border: 1px solid gray;';
wsContentVar += 'position: relative;';
wsContentVar += 'z-index: 0;';
wsContentVar += 'background-color: #fff;';
wsContentVar += 'width: 633px;';
wsContentVar += 'height: 196px;';
wsContentVar += '';
wsContentVar += '}';
wsContentVar += '.edu-il-ws-2400-SS4-image, #SS4_description_2400 div {';
wsContentVar += 'display: none;';
wsContentVar += '}';
wsContentVar += '#SS4_image1_2400, #SS4_image2_2400{';
wsContentVar += 'position: absolute;';
wsContentVar += 'background-repeat: no-repeat;';
wsContentVar += 'z-index: 1;';
wsContentVar += 'top: 0;';
wsContentVar += 'left: 0;';
wsContentVar += 'width: 282px;';
wsContentVar += 'height: 196px;';
wsContentVar += '}';
wsContentVar += '/* For all browsers other than IE */';
wsContentVar += '#SS4_description_2400 .SS4_current_2400 {';
wsContentVar += 'background:#fff none repeat scroll 0%;';
wsContentVar += 'display: block;';
wsContentVar += 'position: absolute;';
wsContentVar += 'top: 129px;';
wsContentVar += 'height: 67px;';
wsContentVar += 'width: 282px;';
wsContentVar += 'z-index: 2;';
wsContentVar += 'padding-top: 5px;padding-right: 10px;';
wsContentVar += '';
wsContentVar += 'font-size: 12px;';
wsContentVar += 'overflow: hidden;';
wsContentVar += 'font-family:Arial, Helvetica, sans-serif;';
wsContentVar += '}';
wsContentVar += '/* For IE */';
wsContentVar += '/* Make these styles the same as above, but add twice the padding to the width and height; */';
wsContentVar += '/* IE_height = other_browsers_height + (2 * padding) */';
wsContentVar += '/* example: height = 57px + (2 * 5px) = 67px */';
wsContentVar += '#SS4_description_2400 .SS4_current_2400_IE {';
wsContentVar += 'background:#fff none repeat scroll 0%;';
wsContentVar += 'display: block;';
wsContentVar += 'position: absolute;';
wsContentVar += 'top: 129px;';
wsContentVar += 'height: 67px;';
wsContentVar += 'width: 282px;';
wsContentVar += 'z-index: 2;';
wsContentVar += ' padding-top: 5px;padding-right: 10px;';
wsContentVar += 'font-size: 12px;';
wsContentVar += 'overflow: hidden;';
wsContentVar += 'font-family:Arial, Helvetica, sans-serif;';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 {';
wsContentVar += 'background: #fff;';
wsContentVar += 'position: absolute;';
wsContentVar += 'right: 0px;';
wsContentVar += 'z-index: 3;';
wsContentVar += 'width: 350px;';
wsContentVar += 'height: 196px;';
wsContentVar += 'border-left: 1px solid #fff;';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 h3 {';
wsContentVar += 'line-height: 37.2px;';
wsContentVar += 'height: 37.2px;';
wsContentVar += 'overflow: hidden;';
wsContentVar += 'font-size: 12px;';
wsContentVar += 'font-weight: bold;';
wsContentVar += 'font-family:Arial, Helvetica, sans-serif;';
wsContentVar += 'padding: 0;';
wsContentVar += 'margin: 0;';
wsContentVar += 'border: 1px solid #e0e3e7;';
wsContentVar += 'border-top: 1px solid #fff;';
wsContentVar += 'border-right: 0;';
wsContentVar += 'background: #eee url(https://illinois.edu/webservices/toolbox/pc/ss4/images/bgActive.gif) left top repeat-x;';
wsContentVar += 'width: 350px;';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 h3.SS4_current_2400 {';
wsContentVar += 'background: #eee url(https://illinois.edu/webservices/toolbox/pc/ss4/images/bgOver.gif) left top repeat-x;';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 h3 a {';
wsContentVar += 'text-decoration:none;';
wsContentVar += 'display: block;';
wsContentVar += 'height: 38.2px;';
wsContentVar += 'padding-left: 25px;';
wsContentVar += 'color:#003399;';
wsContentVar += 'font-family:Arial, Helvetica, sans-serif;';
wsContentVar += 'background: transparent url(https://illinois.edu/webservices/toolbox/pc/ss4/images/bgButtonActive.gif) 2px center no-repeat;';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 h3.SS4_current_2400 a {';
wsContentVar += 'color: #fff;';
wsContentVar += 'background-image: url(https://illinois.edu/webservices/toolbox/pc/ss4/images/bgButtonOver.gif);';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 h3 a:hover {';
wsContentVar += 'text-decoration: none;';
wsContentVar += '}';
wsContentVar += '#SS4_title_2400 a span {';
wsContentVar += 'white-space: nowrap;';
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 itemsSS42400 = 6;
var secondsSS42400 = 3; var motionSS42400 = true;
var currentSS42400 = 1;
var currentImageBoxSS42400 = 1;
var timeoutSS42400;

function startSS42400()
{
if (motionSS42400 == false)
{
motionSS42400 = true;
timeoutSS42400 = setTimeout("cycleImageSS42400()",secondsSS42400*1000);
}
}

function stopSS42400()
{
if (motionSS42400 == true)
{
motionSS42400 = false;
clearTimeout(timeoutSS42400);
}
}

function showSS42400(number)
{
for (var i = 1; i<=itemsSS42400; i++)
{
if (i == number)
{
document.getElementById("SS4_news"+i+"_2400").className = "SS4_current_2400";
document.getElementById("SS4_image1_2400").style.backgroundImage = "url("+document.getElementById('SS4_wrapper_2400').getElementsByTagName('img')[i-1].src+")";
if (document.getElementById("SS4_description_2400"))
{
if (navigator.appName == "Microsoft Internet Explorer")
{
document.getElementById("SS4_description_2400").getElementsByTagName('div')[i-1].className = "SS4_current_2400_IE";
}
else
{
document.getElementById("SS4_description_2400").getElementsByTagName('div')[i-1].className = "SS4_current_2400";
}
}
if (i == itemsSS42400)
{
document.getElementById("SS4_image2_2400").style.backgroundImage = "url("+document.getElementById('SS4_wrapper_2400').getElementsByTagName('img')[0].src+")";
}
else
{
document.getElementById("SS4_image2_2400").style.backgroundImage = "url("+document.getElementById('SS4_wrapper_2400').getElementsByTagName('img')[i].src+")";
}
}
else
{
document.getElementById("SS4_news"+i+"_2400").className = "";
if (document.getElementById("SS4_description_2400"))
{
document.getElementById("SS4_description_2400").getElementsByTagName('div')[i-1].className = "";
}
}
}
currentSS42400 = number;
if (currentImageBoxSS42400 == 2)
{
currentImageBoxSS42400 = 1;
document.getElementById("SS4_image1_2400").style.opacity = "1";
document.getElementById("SS4_image2_2400").style.opacity = "0";
document.getElementById("SS4_image1_2400").style.filter = "alpha(opacity=100)";
document.getElementById("SS4_image2_2400").style.filter = "alpha(opacity=0)";
document.getElementById("SS4_image1_2400").style.mozopacity = "1";
document.getElementById("SS4_image2_2400").style.mozopacity = "0";
}
}


function cycleImageSS42400()
{
if (motionSS42400 == true)
{
switchTextSS42400();
fadeImageSS42400(1);
timeoutSS42400 = setTimeout("cycleImageSS42400()",secondsSS42400*1000);
if (currentSS42400 == itemsSS42400)
{
currentSS42400 = 1;
}
else
{
currentSS42400++;
}
}
}

function switchTextSS42400()
{
newSS42400 = currentSS42400+1;
if (newSS42400 > itemsSS42400) newSS42400=1;
for (var i = 1; i<=itemsSS42400; i++)
{
if (i == newSS42400)
{
document.getElementById("SS4_news"+i+"_2400").className = "SS4_current_2400";
if (document.getElementById("SS4_description_2400"))
{
if (navigator.appName == "Microsoft Internet Explorer")
{
document.getElementById("SS4_description_2400").getElementsByTagName('div')[i-1].className = "SS4_current_2400_IE";
}
else
{
document.getElementById("SS4_description_2400").getElementsByTagName('div')[i-1].className = "SS4_current_2400";
}
}
}
else
{
document.getElementById("SS4_news"+i+"_2400").className = "";
if (document.getElementById("SS4_description_2400"))
{
document.getElementById("SS4_description_2400").getElementsByTagName('div')[i-1].className = "";
}
}
}
}

function fadeImageSS42400(seconds)
{
if (currentImageBoxSS42400 == 1)
{
new Effect.Opacity('SS4_image1_2400', {duration: seconds, from: 1.0, to: 0 });
new Effect.Opacity('SS4_image2_2400', {duration: seconds, from: 0, to: 1.0 });
}
else
{
new Effect.Opacity('SS4_image2_2400', {duration: seconds, from: 1.0, to: 0 });
new Effect.Opacity('SS4_image1_2400', {duration: seconds, from: 0, to: 1.0 });
}
setTimeout("updateImageBoxSS42400()",seconds*1000);
}

function updateImageBoxSS42400(seconds)
{
var nextSS42400;
if (currentSS42400 == itemsSS42400)
{
nextSS42400 = 1;
}
else
{
nextSS42400 = currentSS42400+1;
}
if (currentImageBoxSS42400 == 1)
{
document.getElementById("SS4_image1_2400").style.backgroundImage = "url("+document.getElementById('SS4_wrapper_2400').getElementsByTagName('img')[nextSS42400-1].src+")";
currentImageBoxSS42400 = 2;
}
else
{
document.getElementById("SS4_image2_2400").style.backgroundImage = "url("+document.getElementById('SS4_wrapper_2400').getElementsByTagName('img')[nextSS42400-1].src+")";
currentImageBoxSS42400 = 1;
}
}

timeoutSS42400 = setTimeout("cycleImageSS42400()",secondsSS42400*1000);
document.write('<script src="https://illinois.edu/webservices/toolbox/pc/ss4/prototype.js" type="text/javascript" xmlns:xalan="http://xml.apache.org/xslt"></script>');

document.write('<script src="https://illinois.edu/webservices/toolbox/pc/ss4/scriptaculous.js?load=effects" type="text/javascript"></script>');
document.write('<script src="https://illinois.edu/webservices/toolbox/pc/ss4/effects.js" type="text/javascript"></script>');

document.write("<div class=\"edu-il-ws-2400-SS4-wrapper\" id=\"SS4_wrapper_2400\">");
document.write("<img class=\"edu-il-ws-2400-SS4-image\" alt=\"Developing Early Language and Literacy in Danville\" src=\"https://illinois.edu/lb/files/2009/11/18/23097.gif\"><img class=\"edu-il-ws-2400-SS4-image\" alt=\"Early Childhood Research &amp; Practice\" src=\"https://illinois.edu/lb/files/2009/11/18/23108.gif\"><img class=\"edu-il-ws-2400-SS4-image\" alt=\"\" src=\"https://illinois.edu/lb/files/2009/08/07/12215.jpg\"><img class=\"edu-il-ws-2400-SS4-image\" alt=\"Illinois Early Intervention Clearinghouse\" src=\"https://illinois.edu/lb/files/2009/11/18/23104.gif\"><img class=\"edu-il-ws-2400-SS4-image\" alt=\"\" src=\"https://illinois.edu/lb/files/2009/08/07/12213.jpg\"><img class=\"edu-il-ws-2400-SS4-image\" alt=\"Illinois Parents\" src=\"https://illinois.edu/lb/files/2010/03/09/25108.jpg\"><div id=\"SS4_image1_2400\" style=\"background-image: url(https://illinois.edu/lb/files/);\"></div>");
document.write("<div id=\"SS4_image2_2400\" style=\"background-image: url(https://illinois.edu/lb/files/);opacity:0;filter:alpha(opacity=0);-moz-opacity:0;\"></div>");
document.write("<div id=\"SS4_description_2400\">");
document.write("<div class=\"SS4_current_2400\">Supports young children's literacy learning in Danville, Illinois.</div>");
document.write("<div class=\"\">Publishes peer-reviewed articles on early care and education in English, Spanish, and Chinese.</div>");
document.write("<div class=\"\">Provides a comprehensive picture of early care and education services in Illinois.</div>");
document.write("<div class=\"\">Addresses the information needs of families, caregivers, and other professionals caring for young children with special needs.</div>");
document.write("<div class=\"\">Offers evidence-based, reliable information on early care and education for parents, teachers, and caregivers of young children.</div>");
document.write("<div class=\"\">Helps parents find local programs, services, and community agencies.</div>");
document.write("</div>");
document.write("<div id=\"SS4_title_2400\">");
document.write("<h3 class=\"SS4_current_2400\" id=\"SS4_news1_2400\">");
document.write("<a onmouseover=\"javascript:showSS42400(1);stopSS42400();\" onfocus=\"javascript:showSS42400(1);stopSS42400();\" onmouseout=\"javascript:startSS42400();\" onblur=\"javascript:startSS42400();\" title=\"Supports young children's literacy learning in Danville, Illinois.\" target=\"_new\" href=\"http://www.dell-d.illinois.edu\"><span>Developing Early Language and Literacy in Danville</span></a>");
document.write("</h3>");
document.write("<h3 class=\"\" id=\"SS4_news2_2400\">");
document.write("<a onmouseover=\"javascript:showSS42400(2);stopSS42400();\" onfocus=\"javascript:showSS42400(2);stopSS42400();\" onmouseout=\"javascript:startSS42400();\" onblur=\"javascript:startSS42400();\" title=\"Publishes peer-reviewed articles on early care and education in English, Spanish, and Chinese.\" target=\"_new\" href=\"http://ecrp.illinois.edu\"><span>Early Childhood Research &amp; Practice</span></a>");
document.write("</h3>");
document.write("<h3 class=\"\" id=\"SS4_news3_2400\">");
document.write("<a onmouseover=\"javascript:showSS42400(3);stopSS42400();\" onfocus=\"javascript:showSS42400(3);stopSS42400();\" onmouseout=\"javascript:startSS42400();\" onblur=\"javascript:startSS42400();\" title=\"Provides a comprehensive picture of early care and education services in Illinois.\" target=\"_new\" href=\"http://iecam.crc.illinois.edu\"><span>Illinois Early Childhood Asset Map (IECAM)</span></a>");
document.write("</h3>");
document.write("<h3 class=\"\" id=\"SS4_news4_2400\">");
document.write("<a onmouseover=\"javascript:showSS42400(4);stopSS42400();\" onfocus=\"javascript:showSS42400(4);stopSS42400();\" onmouseout=\"javascript:startSS42400();\" onblur=\"javascript:startSS42400();\" title=\"Addresses the information needs of families, caregivers, and other professionals caring for young children with special needs.\" target=\"_new\" href=\"http://www.eiclearinghouse.org/\"><span>Illinois Early Intervention Clearinghouse</span></a>");
document.write("</h3>");
document.write("<h3 class=\"\" id=\"SS4_news5_2400\">");
document.write("<a onmouseover=\"javascript:showSS42400(5);stopSS42400();\" onfocus=\"javascript:showSS42400(5);stopSS42400();\" onmouseout=\"javascript:startSS42400();\" onblur=\"javascript:startSS42400();\" title=\"Offers evidence-based, reliable information on early care and education for parents, teachers, and caregivers of young children.\" target=\"_new\" href=\"http://illinoisearlylearning.org\"><span>Illinois Early Learning</span></a>");
document.write("</h3>");
document.write("<h3 class=\"\" id=\"SS4_news6_2400\">");
document.write("<a onmouseover=\"javascript:showSS42400(6);stopSS42400();\" onfocus=\"javascript:showSS42400(6);stopSS42400();\" onmouseout=\"javascript:startSS42400();\" onblur=\"javascript:startSS42400();\" title=\"Helps parents find local programs, services, and community agencies.\" target=\"_new\" href=\"http://illinoisparents.crc.illinois.edu\"><span>Illinois Parents</span></a>");
document.write("</h3>");
document.write("</div>");
document.write("</div><script type=\"text/javascript\" language=\"javascript\">");
document.write("showSS42400(1);");
document.write("</script>");

