if (!window.jQuery) { loadJS("https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"); } loadJS("http://www.fundingfactory.com/resources/widget/ticker.js"); loadCSS("http://www.fundingfactory.com/resources/widget/widget.css"); var $ffWidget = jQuery.noConflict(); document.write("
"); var myMovies = new Array('We recycle printer cartridges and small electronics with FundingFactory to raise money!','Help us keep cartridges and small electronics out of landfills! Donate yours today', 'We have raised $12,143.20 since we began our recycling program!', 'Drop off printer cartridges and small electronics here: At O.C.C.S.'); var myMoviesLength = new Array(8000, 8000, 8000, 8000); var j = 0; var i = 0; var running_length = 1; while (i < myMovies.length) { document.write("

" + myMovies[i] + "

"); running_length += myMoviesLength[i]; i++; } document.write("
"); window.onload = function() { $ffWidget(".FFWidget").list_ticker({ speed:8000, effect:'fade' }); $ffWidget(".FFWidget").show(); } function loadJS(filename) { var fileref = document.createElement('script'); fileref.setAttribute("type", "text/javascript"); fileref.setAttribute("src", filename); document.getElementsByTagName("head")[0].appendChild(fileref); } function loadCSS(filename) { var fileref = document.createElement('link'); fileref.setAttribute("type", "text/css"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("href", filename); document.getElementsByTagName("head")[0].appendChild(fileref); }