headline_flag = 1;
delay_time1=6000;

function switch_headline2(elemId) {
	eventLink = new Array
	eventLink[1] = "http://www.paragonedge.com/Paragonweb/news/2010news/TEB-confirms-system-capacity-with-Paragon-FASTress.shtml";
	eventLink[2] = "http://www.paragonedge.com/Paragonweb/news/2010news/Paragon-Bank-of-Hawaii-Stress-Test.shtml";
	eventLink[3] = "http://www.paragonedge.com/Paragonweb/news/2009news/Paragons-Blegen-earns-CSCIP-Certification.shtml";
	eventLink[4] = "http://www.paragonedge.com/Paragonweb/news/2009news/Paragon_Develops_ePayment_Testing_in_the_Cloud.shtml";
	eventLink[5] = "http://www.paragonedge.com/Paragonweb/news/2009news/Paragon_Director_Managed_Services.shtml";
	eventLink[6] = "http://www.paragonedge.com/Paragonweb/news/2009news/ChamsSwitch_Licenses_ATMulator_Plus.shtml";
	eventLink[7] = "http://www.paragonedge.com/Paragonweb/news/2009news/banelco_optimizes_testing_w_paragon.shtml";

	eventDescription = new Array
	eventDescription[1] = "Turkish Economy Bank Confirms New System Capacity with FASTress from Paragon Application Systems";
	eventDescription[2] = "Bank of Hawaii Verifies System Performance with FASTress from Paragon Application Systems";
	eventDescription[3] = "Paragon Application Systems' Dana Blegen Earns Certified Smart Card Industry Professional Certification";
	eventDescription[4] = "Paragon Application Systems Develops ePayment Testing in the Cloud";
	eventDescription[5] = "Paragon Application Systems Appoints Director of Managed Services";
	eventDescription[6] = "ChamsSwitch Streamlines ATM Configuration and Testing with Paragon's ATMulator Plus";
	eventDescription[7] = "Banelco Optimizes Testing with Paragon Solutions";
	
  elem = document.getElementById(elemId);
  
    switch(headline_flag){
    case 1:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag++;
    	break;
    case 2:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag++;
    	break;  
    case 3:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag++;
    	break; 
    case 4:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag++;
    	break; 
    case 5:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag++;
    	break;   
    case 6:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag++;
    	break;
    case 7:
    	elem.innerHTML = '<a class="set2" href="'+eventLink[headline_flag]+'">'+eventDescription[headline_flag]+'<a>';
			headline_flag=1;
    	break;               
    }
}

timerID = setInterval("switch_headline2('headline')", delay_time1);
