var ie4 = (document.all) ? true : false;
var netscape4 = (document.layers) ? true : false;
var tickerArray = new Array();
var tickerId = 0;
/*
tickerArray[tickerArray.length] = 'CNet- AIT sues Google alleging Click Fraud ... ';
tickerArray[tickerArray.length] = 'TheWhir.com- AIT Leading Suit Against Google ... ';
tickerArray[tickerArray.length] = 'WebProNews.com- AIT Lashes Out At Click Fraud ... ';
tickerArray[tickerArray.length] = 'MarketWire.com- Hosting Company AIT Leads Class-Action ... ';
tickerArray[tickerArray.length] = 'BusinessWire.com- Click Defense Provides Update ... ';
tickerArray[tickerArray.length] = 'Reuters.com- Google ad fraud plaintiff ... ';
*/
/* tickerArray[tickerArray.length] = 'Billings Gazette- Company taking Google to court ... ';
tickerArray[tickerArray.length] = 'WebProNews- AIT Weaves Tales Of Click-Fraud ... ';
tickerArray[tickerArray.length] = 'TheWhir.com- The Care and Feeding of Revenue ... ';
tickerArray[tickerArray.length] = 'EntreWorld.com- AIT Adapts Dedicated Hosting ... ';
tickerArray[tickerArray.length] = 'Time.com- Ready for Battle ... ';
tickerArray[tickerArray.length] = 'inc500- AIT ranked 35th fastest growing ... ';
tickerArray[tickerArray.length] = 'TopHost.com- AIT Inc. is on top-5 of TopHosts list ... ';
tickerArray[tickerArray.length] = 'The New York Times- Hosting Firm Vigilant About... ';
tickerArray[tickerArray.length] = 'Wall Street Journal- Hackers not Welcome at AIT ... ';
tickerArray[tickerArray.length] = 'CNET News.com- AIT Ignores Economic Downturn ... ';
tickerArray[tickerArray.length] = 'HostingReseller.com- Industrys Leading Reseller ... ';
tickerArray[tickerArray.length] = 'Microsoft Case Study- When Everyone Needs Stay ... ';
tickerArray[tickerArray.length] = 'ISP Business News- Battlefront to the Boardroom ... ';
tickerArray[tickerArray.length] = 'The Washington Times- A New Internet Seal ... ';
tickerArray[tickerArray.length] = 'Internet.com- Doing Better Business on the ... ';
*/
tickerArray[tickerArray.length] = 'Company taking Google to court ... ';
tickerArray[tickerArray.length] = 'AIT Weaves Tales Of Click-Fraud ... ';
tickerArray[tickerArray.length] = 'The Care and Feeding of Revenue ... ';
tickerArray[tickerArray.length] = 'AIT Adapts Dedicated Hosting ... ';
tickerArray[tickerArray.length] = 'Ready for Battle ... ';
tickerArray[tickerArray.length] = 'AIT ranked 35th fastest growing ... ';
tickerArray[tickerArray.length] = 'AIT Inc. is on top-5 of TopHosts list ... ';
tickerArray[tickerArray.length] = 'Hosting Firm Vigilant About... ';
tickerArray[tickerArray.length] = 'Hackers not Welcome at AIT ... ';
tickerArray[tickerArray.length] = 'AIT Ignores Economic Downturn ... ';
tickerArray[tickerArray.length] = 'Industrys Leading Reseller ... ';
tickerArray[tickerArray.length] = 'When Everyone Needs Stay ... ';
tickerArray[tickerArray.length] = 'Battlefront to the Boardroom ... ';
tickerArray[tickerArray.length] = 'A New Internet Seal ... ';
tickerArray[tickerArray.length] = 'Doing Better Business on the ... ';
//tickerArray[tickerArray.length] = ' - AIT sues Google alleging Click Fraud ...
- AIT Launches Dealerships Nationwide ... ';
tickerArray[tickerArray.length] = ' ';
function initializeTicker()
{
document.getElementById('headline').innerHTML = tickerArray[tickerId++];
setTimeout('cycleTransition(\'wipeLeft();\',\'wipeRight();\', 0);', 2000);
}
var transitionVal = 460;
function cycleTransition(called, reverse, lim)
{
if(transitionVal == lim)
writeHeadline(called, reverse);
else
timerId = setTimeout(called, 460);
}
function writeHeadline(called, reverse)
{
if(tickerId >= tickerArray.length)
tickerId = 0;
if(called == 'wipeLeft();')
{
document.getElementById('headline').innerHTML = tickerArray[tickerId++];
setTimeout(reverse, 100);
}
else
setTimeout(reverse, 3600);
}
function wipeRight()
{
document.getElementById('headline').style.clip = 'rect(0px, ' + transitionVal + 'px, 80px, 0px)';
transitionVal += 4;
cycleTransition('wipeRight();', 'wipeLeft();', 460);
}
function wipeLeft()
{
document.getElementById('headline').style.clip = 'rect(0px, ' + transitionVal + 'px, 80px, 0px)';
transitionVal -= 4;
cycleTransition('wipeLeft();', 'wipeRight();', -4);
}