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-is-professionalism-programme-best-practice-guides/','NCC IS Professionalism Programme Best Practice Guides'];
newsTicker[1] = ['http://www.ncc.co.uk/article/?articleid=15803',"Mobile Security - the time has come for action"];
newsTicker[2] = ['http://www.ncc.co.uk/article/?articleid=15816',"Data Warehousing and BI - still a long way to go"];
newsTicker[3] = ['http://www.ncc.co.uk/article/?articleid=15819',"Firms report big savings from IT CMF"];
newsTicker[4] = ['http://www.ncc.co.uk/article/?articleid=15820',"One of the worst cock-ups I've seen in Government"];
newsTicker[5] = ['http://www.ncc.co.uk/article/?articleid=15821',"BCS faces revolt"];
newsTicker[6] = ['http://www.ncc.co.uk/article/?articleid=15822',"News Round Up"];
delay=50;
currentChar=1;
text = newsTicker[0][0];
i=0;
destination="scroller-v";
type();
}