function addScrollers() {
// code each scroller as follows:
// startScroll('id of scroller div','content of scroller');
startScroll('ccticker','<p><a href="http:\/\/www.wired.com\/promo\/acura\/leadersadvancingtechnology\/profile_dec.html" target="_blank">Barbara Morgan on Wired.com<\/a><\/p><p><a href="http:\/\/www.nap.edu\/catalog.php?record_id=12081" target="_blank">NASA K-12 Programs Need Education Expertise, New Approaches<\/a><\/p><p><a href="http:\/\/www.challenger.org\/media\/release.cfm?release_id=34" target="_blank">Challenger Center goes Green<\/a><\/p><p><a href="http:\/\/www.tallahassee.com\/apps\/pbcs.dll\/article?AID=\/20071231\/BREAKINGNEWS\/71231019" target="_blank">CLC Tallahassee Knows How To Be Community Minded<\/a><\/p><p><a href="http:\/\/www.indystar.com\/apps\/pbcs.dll\/article?AID=\/20071214\/LOCAL\/712140350\/1006\/LOCAL" target="_blank">CLC Indianapolis Engages in Rescue Mission<\/a><\/p><p><a href="http:\/\/www.reflector.com\/local\/content\/news\/stories\/2007\/12\/14\/challengercenter.html" target="_blank">CLC North Carolina News<\/a><\/p><p><a href="http:\/\/www.thestate.com\/local\/story\/263757.html" target="_blank">CLC South Carolina News<\/a><\/p><p><a href="http:\/\/www.peninsulaclarion.com\/stories\/121407\/outdoors_3465.shtml" target="_blank">Skywatching at CLC Kenai<\/a><\/p><p><a href="http:\/\/www.challenger.org\/media\/release.cfm?release_id=35" target="_blank">Barbara Morgan Mentioned in Congressional Record<\/a><\/p>');
startScroll('twoscroll','<p>Yet another scroller!</p>');
}

var speed=12; // scroll speed (bigger = faster)
var dR=false; // reverse direction

// Vertical Scroller Javascript
// copyright 24th September 2005, by Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the code below (as well as these
// comments) is used without any alteration
var step = 2; function objWidth(obj) {if(obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0;} function objHeight(obj) {if(obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0;} function scrF(i,sH,eH){var x=parseInt(i.top)+(dR? step: -step); if(dR && x>sH)x=-eH;else if(x<2-eH)x=sH;i.top = x+'px';} function startScroll(sN,txt){var scr=document.getElementById(sN); var sW = objWidth(scr)-6; var sH = objHeight(scr); scr.innerHTML = '<div id="'+sN+'in" style="position:absolute; left:3px; width:'+sW+';">'+txt+'<\/div>'; var sTxt=document.getElementById(sN+'in'); var eH=objHeight(sTxt); sTxt.style.top=(dR? -eH : sH)+'px'; sTxt.style.clip='rect(0,'+sW+'px,'+eH+'px,0)'; setInterval(function() {scrF(sTxt.style,sH,eH);},1000/speed);}
window.onload = addScrollers;
