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(){ i = (i < newsTicker.length - 1) ? i+1 : 0; } window.onload = function() { newsTicker[0] = ['http://www.nccshop.co.uk/article/?articleid=17150',"NCC Members Question: Holding confidential data on iPads"]; newsTicker[1] = ['http://www.nccshop.co.uk/article/?articleid=17164',"Aster Group"]; newsTicker[2] = ['http://www.nccshop.co.uk/article/?articleid=17165',"And finally...US cops' humour failure sees UK pair sent home for Twitter jokes"]; newsTicker[3] = ['http://www.nccshop.co.uk/article/?articleid=17166',"Multi-sourcing: CIOs' tips on making it work for you – and your suppliers"]; newsTicker[4] = ['http://www.nccshop.co.uk/article/?articleid=17167',"Will your business cope with network traffic load during the Olympics?"]; newsTicker[5] = ['http://www.nccshop.co.uk/article/?articleid=17169',"Will someone rid me of these troublesome Macs?"]; newsTicker[6] = ['http://www.nccshop.co.uk/article/?articleid=17168',"10 SharePoint security mistakes you probably make"]; newsTicker[7] = ['http://www.nccshop.co.uk/article/?articleid=17170',"Innovation and optimisation top UK's 2012 IT agenda, survey shows"]; newsTicker[8] = ['http://www.nccshop.co.uk/article/?articleid=17171',"Gartner says Platform as a Service is on the cusp of several years of strategic growth"]; newsTicker[9] = ['http://www.nccshop.co.uk/article/?articleid=17172',"'Big data', mobile solutions and new regulation create shortage of IT professionals in the UK"]; newsTicker[10] = ['http://www.nccshop.co.uk/article/?articleid=17173',"NCC Weekly News Update 6 February 2012"]; delay=50; currentChar=1; text = newsTicker[0][0]; i=0; destination="scroller-v"; type(); }