/*
Wen Li's DHTML Ticker Library for EasyStart
Copyright (C) 2006 Wen Li
All Rights Reserved
Under no circumstances may this library be used on
a site that is not on www.theeasystart.com
*/
var m_FadeOut = 255;
var m_FadeIn=0;
var m_Fade = 0;
var m_FadeStep = 3;
var m_FadeWait = 5000;
var m_bFadeOut = true;
var m_iFadeInterval;
var arrFadeLinks;
var arrFadeTitles;
var arrFadeCursor = 0;
var arrFadeMax;
function Fadewl() {
document.getElementById("latestheadlines").innerHTML = "Latest Headlines:";
m_iFadeInterval = setInterval(fade_ontimer, 10);
arrFadeLinks = new Array();
arrFadeTitles = new Array();
setupFadeLinks();
arrFadeMax = arrFadeLinks.length-1;
setFadeLink();
}
function setFadeLink() {
var ilink = document.getElementById("fade_link");
ilink.innerHTML = arrFadeTitles[arrFadeCursor];
ilink.href = arrFadeLinks[arrFadeCursor];
}
function fade_ontimer() {
if (m_bFadeOut) {
m_Fade+=m_FadeStep;
if (m_Fade>m_FadeOut) {
arrFadeCursor++;
if (arrFadeCursor>arrFadeMax)
arrFadeCursor=0;
setFadeLink();
m_bFadeOut = false;
}
} else {
m_Fade-=m_FadeStep;
if (m_Fadem_FadeIn))
ilink.style.color = "#" + ToHex(m_Fade);
}
function Faderesume() {
m_iFadeInterval = setInterval(fade_ontimer, 10);
}
function ToHex(strValue) {
try {
var result= (parseInt(strValue).toString(16));
while (result.length !=2)
result= ("0" +result);
result = result + result + result;
return result.toUpperCase();
}
catch(e)
{
}
}
function setupFadeLinks() {
arrFadeLinks[0] = "https://www.bbc.co.uk/news/world-middle-east-68916315";
arrFadeTitles[0] = "Mahmoud Abbas says any attack on city could see large numbers of Palestinians flee Gaza entirely.";
arrFadeLinks[1] = "https://www.bbc.co.uk/news/world-middle-east-68915529";
arrFadeTitles[1] = "Dr Sam Attar from Chicago recently returned from Gaza, where the UN is warning of looming famine.";
arrFadeLinks[2] = "https://www.bbc.co.uk/news/world-europe-68916317";
arrFadeTitles[2] = "Oleksandr Syrskyi says Ukrainian forces have withdrawn from positions in eastern Donetsk.";
arrFadeLinks[3] = "https://www.bbc.co.uk/news/world-australia-68915018";
arrFadeTitles[3] = "Prime Minister Anthony Albanese said the issue was a national crisis.";
arrFadeLinks[4] = "https://www.bbc.co.uk/news/world-us-canada-68915021";
arrFadeTitles[4] = "Green Party presidential candidate Jill Stein was reportedly among those detained by police.";
arrFadeLinks[5] = "https://www.bbc.co.uk/news/world-middle-east-68913568";
arrFadeTitles[5] = "Keith Siegel and Omri Miran are shown in undated footage released by the armed wing of Hamas.";
arrFadeLinks[6] = "https://www.bbc.co.uk/news/uk-politics-68914399";
arrFadeTitles[6] = "Taoiseach asks justice minister to bring forward legislation so asylum seekers can be returned to the UK.";
arrFadeLinks[7] = "https://www.bbc.co.uk/news/world-africa-68915060";
arrFadeTitles[7] = "Human Rights Watch says at least 56 children were killed by soldiers in Soro village.";
arrFadeLinks[8] = "https://www.bbc.co.uk/news/entertainment-arts-68915932";
arrFadeTitles[8] = "Nicole Kidman becomes the first Australian actor to win the prestigious AFI Life Achievement Award.";
arrFadeLinks[9] = "https://www.bbc.co.uk/news/world-us-canada-68913116";
arrFadeTitles[9] = "A lawyer said the disgraced movie mogul was \"somewhat of a train wreck health wise\".";
arrFadeLinks[10] = "https://www.bbc.co.uk/news/business-68914929";
arrFadeTitles[10] = "China is Tesla\'s second-biggest market but the company has not enabled autonomous driving in the country.";
arrFadeLinks[11] = "https://www.bbc.co.uk/news/world-europe-68915764";
arrFadeTitles[11] = "Sergei Karelin and Konstantin Gabov have both worked for international outlets.";
arrFadeLinks[12] = "https://www.bbc.co.uk/news/world-middle-east-68891217";
arrFadeTitles[12] = "Moran Yanai was threatened with death and moved from place to place during her ordeal.";
arrFadeLinks[13] = "https://www.bbc.co.uk/news/world-europe-68914181";
arrFadeTitles[13] = "More than 12,000 people rally to urge the prime minister to stay in office as he decides whether to resign.";
arrFadeLinks[14] = "https://www.bbc.co.uk/news/world-middle-east-68914551";
arrFadeTitles[14] = "Those flouting the sweeping new morality rules could be jailed for up to 15 years.";
arrFadeLinks[15] = "https://www.bbc.co.uk/news/world-europe-68903479";
arrFadeTitles[15] = "Six arrests in quick succession show Germany is being targeted by spies but also that it is fighting back.";
arrFadeLinks[16] = "https://www.bbc.co.uk/news/entertainment-arts-68911970";
arrFadeTitles[16] = "The TV personality urges his followers to \"please wear sunscreen\" after being diagnosed with skin cancer.";
arrFadeLinks[17] = "https://www.bbc.co.uk/news/world-europe-68912593";
arrFadeTitles[17] = "Marcus, 16, says he fled a life as a child soldier in South Sudan and hopes to study in the UK.";
arrFadeLinks[18] = "https://www.bbc.co.uk/news/world-europe-68911648";
arrFadeTitles[18] = "The man went near the animal on an ice floe near the world\'s northernmost settlement in Svalbard.";
arrFadeLinks[19] = "https://www.bbc.co.uk/news/world-europe-68912810";
arrFadeTitles[19] = "Activists say the woman gave birth alone in a forested area at the border with Belarus.";
arrFadeLinks[20] = "https://www.bbc.co.uk/news/world-us-canada-68901820";
arrFadeTitles[20] = "The $6bn package includes air defence munitions but not the missile systems Ukraine says it badly needs.";
arrFadeLinks[21] = "https://www.bbc.co.uk/news/world-asia-68915201";
arrFadeTitles[21] = "A tornado that hit China\'s Guangdong province killed five people and left dozens injured.";
arrFadeLinks[22] = "https://www.bbc.co.uk/news/world-us-canada-68915195";
arrFadeTitles[22] = "The US president made fun of his and Donald Trump\'s age at the annual White House Correspondents\' Association dinner.";
arrFadeLinks[23] = "https://www.bbc.co.uk/news/world-68913780";
arrFadeTitles[23] = "Keith Siegal\'s family react to a Hamas video of him, 202 days after he was taken captive.";
arrFadeLinks[24] = "https://www.bbc.co.uk/news/world-middle-east-68898665";
arrFadeTitles[24] = "Moran Yanai, who was taken hostage by Hamas, speaks about spending 54 days in captivity.";
arrFadeLinks[25] = "https://www.bbc.co.uk/news/world-us-canada-68851627";
arrFadeTitles[25] = "What started a week ago at Columbia University has led to hundreds of arrests at multiple college campuses.";
arrFadeLinks[26] = "https://www.bbc.co.uk/news/world-us-canada-68905434";
arrFadeTitles[26] = "The BBC\'s Suranjana Tewari considers what the future holds for the hugely popular social media app.";
arrFadeLinks[27] = "https://www.bbc.co.uk/news/world-europe-68904413";
arrFadeTitles[27] = "Andrew Harding saw migrants board an overcrowded boat in Wimereux, northern France, on Tuesday.";
arrFadeLinks[28] = "https://www.bbc.co.uk/news/world-middle-east-68900571";
arrFadeTitles[28] = "Political and military leaders are still absorbing the extraordinary exchange of fire, writes James Landale.";
arrFadeLinks[29] = "https://www.bbc.co.uk/news/world-us-canada-68893186";
arrFadeTitles[29] = "In a tight election, the independent candidate could get enough votes to influence who wins the White House.";
arrFadeLinks[30] = "https://www.bbc.co.uk/news/world-asia-68852449";
arrFadeTitles[30] = "A rebel group that took a key town lost it to the junta two weeks later. But there\'s more to the story.";
arrFadeLinks[31] = "https://www.bbc.co.uk/news/world-africa-68905041";
arrFadeTitles[31] = "People are grappling with power cuts as well as extreme heat blamed on human-induced climate change.";
arrFadeLinks[32] = "https://www.bbc.co.uk/news/world-us-canada-68910074";
arrFadeTitles[32] = "The first week of the Trump trial revealed more about the DA\'s case and how Trump will behave during the trial";
arrFadeLinks[33] = "https://www.bbc.co.uk/news/world-us-canada-68905434";
arrFadeTitles[33] = "The BBC\'s Suranjana Tewari considers what the future holds for the hugely popular social media app.";
}
Fadewl();