var delay = 3000

var test = [
  [
    "<b>1Management</b><br>www.corporatelinkafrica.com",
    "With Xtreem Systems at the helm, we have taken a back seat role in our continental project. The profesionals that are dealing with our project are state of the art"
  ], 
  [
    "<b>2Management</b><br>www.corporatelinkafrica.com",
    "With Xtreem Systems at the helm, we have taken a back seat role in our continental project. The profesionals that are dealing with our project are state of the art"
  ], 
  [
    "<b>3Management</b><br>www.corporatelinkafrica.com",
    "With Xtreem Systems at the helm, we have taken a back seat role in our continental project. The profesionals that are dealing with our project are state of the art"
  ] 
]

var news = [
  [
    "January 01, 2006",
    "XSCORP began a revamp of its sites to provide products and services ranging from security solutions to fully automated hosting services that are affordable and industry standard. XSCORP began a revamp of its sites to provide products and services ranging from security solutions to fully automated hosting services that are affordable and industry standard"
  ], 
  [
    "July 20, 2006",
    "Launched our fully owned managed DNS infrastructure with high availability based on redundant hardware and connectivity to provide more flexibility to our customers. XSCORP began a revamp of its sites to provide products and services ranging from security solutions to fully automated hosting services that are affordable and industry standard"
  ], 
  [
    "November 14, 2006",
    "Testing Started"
  ], 
  [
    "June, 2007",
    "Testing completed"
  ],
  [
    "October, 2007",
    "Introduced Virtual Server Hosting"
  ], 
  [
    "June, 2008",
    "Introduced dedicated server hosting"
  ],
  [
    "September, 2008",
    "National Launch readiness program started"
  ], 
]

var a=0;


function display(){ 

  if(a>=test.length) a=0;

  if(document.getElementById('test_by'))
    document.getElementById('test_by').innerHTML=test[a][0]
  if(document.getElementById('test_text'))
    document.getElementById('test_text').innerHTML=test[a][1]
  if(document.getElementById('news_date'))
    document.getElementById('news_date').innerHTML=news[a][0]
  if(document.getElementById('news_text'))
    document.getElementById('news_text').innerHTML=news[a][1]
  
  a = a + 1;
  setTimeout("display()",delay)

}

