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!','You can help us reach our fundraising goal of $3000.00', 'So far, we have raised $0.00', 'Your used inkjet and laser cartridges can help us raise money! Donate today', 'We have raised $243.60 since we began our recycling program!', 'Learn more about fundraising by recycling at FundingFactory.com'); var myMoviesLength = new Array(8000, 12100, 12100, 8000, 8000, 6000); 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); }