﻿
var lgth=0;

//list news items here (use as many as you need. Use quotes around each one and end each line with a semicolon)

var a1="18th May 2009 - The all new VCAB reseller package is launched - Giving you full flexibilty to resell the VCAB solution";
var a2="07 May 2009 - VCAB Launches a new Vector based solution, serving crystal clear text at any level of zoom";
var a3="17th April 2009 - 5 Star delux hotel chain, CHI hotels, launches a fully rebranded brochure for its chain of hotels";
var a4="1st April 2009 - A new VCAB environment is launched - New brand, new control, new system";

//Follow the format below, e.g. the next message would be a4, a5 etc.
vcabItems=new items(a1,a2,a3,a4);

// ****  Do not alter below this line *****************************************
var ini=0; var st=0; var x=vcabItems[0].length;
function items() {
lgth=items.arguments.length;
for (i=0; i<lgth; i++)
this[i]=items.arguments[i];}
function newsclicker(){
var temp=vcabItems[ini].substring(0,st)+"_";
document.aspnetForm.txtVCABNews.value=temp;
if(st++==x) { 

//Adjust timer for delay between messages
st=0; setTimeout("newsclicker()",3250); ini++;
if(ini==lgth) ini=0; x=vcabItems[ini].length; 
} else

//adjust timer for "clicking speed" eg letter,letter,letter....
setTimeout("newsclicker()",30);}



