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.ncc.co.uk/article/?articleid=17150',"NCC Members Question: Holding confidential data on iPads"]; newsTicker[1] = ['http://www.ncc.co.uk/article/?articleid=17153',"And finally...Website launched to help people profit from failed relationships"]; newsTicker[2] = ['http://www.ncc.co.uk/article/?articleid=17154',"Ten ways to take the sting out of IT disasters"]; newsTicker[3] = ['http://www.ncc.co.uk/article/?articleid=17155',"Data protection tops UK security investments in 2012"]; newsTicker[4] = ['http://www.ncc.co.uk/article/?articleid=17156',"E-discovery in the smartphone and social media era"]; newsTicker[5] = ['http://www.ncc.co.uk/article/?articleid=17157',"Debt crisis, austerity, markets in turmoil: so what's the future for outsourcing?"]; newsTicker[6] = ['http://www.ncc.co.uk/article/?articleid=17158',"VMware unveils 'app store' for cloud and virtualisation tools"]; newsTicker[7] = ['http://www.ncc.co.uk/article/?articleid=17159',"My email address is CENSORED"]; newsTicker[8] = ['http://www.ncc.co.uk/article/?articleid=17160',"Global IT survey highlights enthusiasm over tablets in the enterprise"]; newsTicker[9] = ['http://www.ncc.co.uk/article/?articleid=17161',"Teradata-Oracle alliance introduces next-generation BI capabilities"]; newsTicker[10] = ['http://www.ncc.co.uk/article/?articleid=17162',"NCC Weekly News Update 30 January 2012"]; delay=50; currentChar=1; text = newsTicker[0][0]; i=0; destination="scroller-v"; type(); }