var newsTicker = Array(); function type(){ if (document.getElementById){ var dest=document.getElementById('scroller-v'); if (dest){ dest.innerHTML='' + newsTicker[i][1].substr(0, currentChar) + ''; currentChar++; if (currentChar > newsTicker[i][1].length){ currentChar=1; if(i' + newsTicker[i][1] + ''; } function getCurrentIndex(){ return parseInt(document.getElementById('newsTickerIndex').className); } function incrementIndex(){ if(i < newsTicker.length - 1){ i = i + 1; } else { i = 0; } } window.onload = function() { newsTicker[0] = ['http://www.ncc.co.uk/about-ncc/news/ncc-has-moved--new-address-details/','NCC has moved - new address details']; newsTicker[1] = ['http://www.ncc.co.uk/article/?articleid=16083',"You are not alone - maintaining service levels with reduced budgets endemic"]; newsTicker[2] = ['http://www.ncc.co.uk/article/?articleid=16088',"Gloomy outlook for IT profession"]; newsTicker[3] = ['http://www.ncc.co.uk/article/?articleid=16089',"CRM, Contact Centre & Marketing Systems"]; newsTicker[4] = ['http://www.ncc.co.uk/article/?articleid=16090',"UK IT laws and regulations check list"]; newsTicker[5] = ['http://www.ncc.co.uk/article/?articleid=16091',"Time for enterprise architecture to provide business value"]; newsTicker[6] = ['http://www.ncc.co.uk/article/?articleid=16092',"Don't get trampled in the stampede to adopt cloud computing "]; newsTicker[7] = ['http://www.ncc.co.uk/article/?articleid=16093',"NCC Weekly News Update 6 September 2010"]; delay=50; currentChar=1; text = newsTicker[0][0]; i=0; destination="scroller-v"; type(); }