var tests=['
Since transferring our business to Gamma almost a year ago we have been impressed by the quality and consistency of service they provide.
Managing Director, Channel Partner, South England
', 'Gamma telecom have proved themselves as a highly professional supplier to our business.
Operations Director, Channel Partner, London
', 'They continue to do so and our business appreciates and benefits from their strong commitment not only to service but also to customer care and service support.
Operations Director, Channel Partner, London
']
var arrtitle=['Gamma launches next generation IP services with SLAs and performance guarantees', 'Gamma reaches 100 million IP minutes per month milestone', 'Gamma provides rapid number porting service', 'Gamma wins prestigious Network Operator of the Year Award', 'Gamma launches mobile broadband service for SMEs'];
var arrlinks=['press.asp#55', 'press.asp#53', 'press.asp#52', 'press.asp#50', 'press.asp#51'];
var totaltests=3;
var total=6;
var sourceObj = null;
var typeWindow = null;
var message = '';
var typedPortion = '';
var cursorChar = '';
var cursorHTML = '@';
var workHTML = '';
var current=-1;
var curtest=-1
var running=0;
function initTests() {
if(running==1){clearInterval(nexttest)};
running=1;
testWindow = document.getElementById('flashcontent');
testWindow.innerHTML = '';
changeOpac(0, 'flashcontent');
nexttest = setInterval('changetest();', 500);
}
function changetest() {
clearInterval(nexttest);
curtest=curtest+1;
if(curtest==totaltests){curtest=0};
newtest=tests[curtest];
testWindow = document.getElementById('flashcontent');
testWindow.innerHTML = newtest;
opacity('flashcontent', 0, 100, 2000);
nexttest = setInterval('initTests();', 5000);
}
function initTypewriter() {
current+=1;
if(current==total){current=0};
message = arrtitle[current];
msgLength = message.length;
typeWindow = document.getElementById('typeWindow');
typeWindow.href=arrlinks[current];
typeWindow.innerHTML = '';
HTMLstr = '';
workChar = '';
count = 0;
speed = 70;
typing = setInterval('typeText();', speed);
}
function typeText() {
if (count == msgLength) {
clearInterval(typing);
setTimeout('initTypewriter();',4000);
return;
}
else if (count == 0)
typedPortion = '';
else
typedPortion = message.substring(0, count)
cursorChar = message.charAt(count);
if (/]+>/);
if (tag) {
typedPortion += tag[0];
count += tag[0].length;
}
}
else {
workHTML = '';
workHTML += typedPortion;
if (count != msgLength)
workHTML += cursorHTML.replace(/@/, cursorChar);
typeWindow.innerHTML = workHTML;
count++;
}
}