/*
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/live/world-middle-east-69035051";
arrFadeTitles[0] = "Foreign Minister Hossein Amir-Abdollahian is also confirmed to have died in Sunday\'s crash in north-western Iran.";
arrFadeLinks[1] = "https://www.bbc.co.uk/news/world-asia-china-69037516";
arrFadeTitles[1] = "Police say the female suspect allegedly used a fruit knife in the attack which left 10 others hurt.";
arrFadeLinks[2] = "https://www.bbc.co.uk/news/world-asia-69036373";
arrFadeTitles[2] = "He urged Beijing to replace confrontation with dialogue, shortly after being sworn in on Monday.";
arrFadeLinks[3] = "https://www.bbc.com/news/articles/cv22l7mlxdzo";
arrFadeTitles[3] = "Ex-President Jacob Zuma\'s 15-month prison sentence disqualifies him from being a lawmaker.";
arrFadeLinks[4] = "https://www.bbc.com/news/articles/cn007p39zdzo";
arrFadeTitles[4] = "Martial law and a desire for stability keeps the Ukrainian leader in power without new elections.";
arrFadeLinks[5] = "https://www.bbc.com/news/articles/c888e0730zpo";
arrFadeTitles[5] = "Parts of northern India are reeling under an intense heatwave that\'s set to last through the week.";
arrFadeLinks[6] = "https://www.bbc.com/news/articles/cyrr61417ylo";
arrFadeTitles[6] = "Footage obtained by CNN had shown him kicking and pushing Cassie Ventura in a hotel hallway in 2016.";
arrFadeLinks[7] = "https://www.bbc.com/news/articles/cz5drkr8l1ko";
arrFadeTitles[7] = "Russia is increasingly using budget \"glide bombs\" to advance its offensive in Ukraine.";
arrFadeLinks[8] = "https://www.bbc.com/news/articles/cd117gqjn4yo";
arrFadeTitles[8] = "Jake Sullivan\'s visit comes as Israeli forces continue military operations in Gaza, including in Rafah.";
arrFadeLinks[9] = "https://www.bbc.com/news/articles/c4nnd3xkp54o";
arrFadeTitles[9] = "Investigators are probing whether the suspect was part of a group who \"incited and supported each other?, a minister says.";
arrFadeLinks[10] = "https://www.bbc.com/news/articles/cxeeydypv32o";
arrFadeTitles[10] = "The Democratic Republic Congo army said they have stopped an attempted coup involving Congolese and foreign soldiers.";
arrFadeLinks[11] = "https://www.bbc.co.uk/news/world-us-canada-69030047";
arrFadeTitles[11] = "As their final witness testifies, legal experts assess the evidence so far and chances of a conviction.";
arrFadeLinks[12] = "https://www.bbc.com/news/articles/c0jjezq41pqo";
arrFadeTitles[12] = "A controversial new law is dividing Georgia and risks pulling the nation back to the instability that scarred its post-Soviet independence.";
arrFadeLinks[13] = "https://www.bbc.com/news/articles/c103lel2p5yo";
arrFadeTitles[13] = "The BBC joins emergency services in Porte Alegre as they battle unprecedented flooding.";
arrFadeLinks[14] = "https://www.bbc.com/news/articles/cekkz82gnzgo";
arrFadeTitles[14] = "Recent weeks have seen an increasingly public rift over how Gaza should be governed after the war.";
arrFadeLinks[15] = "https://www.bbc.co.uk/news/world-middle-east-69020237";
arrFadeTitles[15] = "Images shared online include Palestinian detainees draped in the Israeli flag and held in stress positions.";
arrFadeLinks[16] = "https://www.bbc.com/news/articles/ckr5g7enp1ko";
arrFadeTitles[16] = "Israel\'s lawyers push back against South Africa, which is trying to get its Rafah offensive stopped.";
arrFadeLinks[17] = "https://www.bbc.co.uk/news/world-middle-east-69025420";
arrFadeTitles[17] = "A recent drop in UN estimates of killed Palestinian women and children brought Israeli criticism.";
arrFadeLinks[18] = "https://www.bbc.co.uk/news/world-middle-east-69019655";
arrFadeTitles[18] = "The reported friendly-fire incident in Jabalia is one of the deadliest since the war began.";
arrFadeLinks[19] = "https://www.bbc.com/news/articles/c3g9g63jl17o";
arrFadeTitles[19] = "The ICJ ruling has come under intense scrutiny, centring on the word \"plausible\". What did the court mean?";
arrFadeLinks[20] = "https://www.bbc.com/news/articles/c4n1ngx5gvwo";
arrFadeTitles[20] = "An ambitious US maritime corridor is due to start operating off Gaza\'s coast in the coming days.";
arrFadeLinks[21] = "https://www.bbc.co.uk/news/world-europe-69034415";
arrFadeTitles[21] = "The suspected meteorite was also seen in Portugal, with many sharing their videos on social media.";
arrFadeLinks[22] = "https://www.bbc.com/news/videos/cd11ljgp2xxo";
arrFadeTitles[22] = "The BBC\'s Ione Wells joins emergency services in Rio Grande do Sul, which has seen its worst ever floods.";
arrFadeLinks[23] = "https://www.bbc.co.uk/news/world-us-canada-69004633";
arrFadeTitles[23] = "The fiery exchange began when Republican Marjorie Taylor Greene criticised Democrat Jasmine Crockett.";
arrFadeLinks[24] = "https://www.bbc.com/news/videos/c3g96j1870do";
arrFadeTitles[24] = "Hundreds were killed in recent flooding in Afghanistan, which saw homes swept away and roads destroyed.";
arrFadeLinks[25] = "https://www.bbc.co.uk/news/science-environment-69016403";
arrFadeTitles[25] = "Watch video of the super-fast Dana squid getting a close-up 1km below the Pacific Ocean\'s surface.";
arrFadeLinks[26] = "https://www.bbc.co.uk/news/world-europe-69024667";
arrFadeTitles[26] = "The BBC\'s Sarah Rainsford reports from the town of Handlova, and examines what the attack could mean for Slovakia\'s divided society.";
arrFadeLinks[27] = "https://www.bbc.co.uk/news/world-us-canada-68980353";
arrFadeTitles[27] = "The BBC\'s Nada Tawfik explains how Donald Trump\'s lawyer accused Cohen of lying in his testimony.";
arrFadeLinks[28] = "https://www.bbc.co.uk/news/world-us-canada-68980351";
arrFadeTitles[28] = "The driver of the truck was rescued after ending up dangling 75ft above the Ohio river in Kentucky.";
arrFadeLinks[29] = "https://www.bbc.co.uk/news/world-us-canada-69023833";
arrFadeTitles[29] = "Maui native Savannah Gankiewicz has taken the title after Noelia Voigt quit, citing mental health challenges.";
arrFadeLinks[30] = "https://www.bbc.co.uk/news/world-europe-69017576";
arrFadeTitles[30] = "Robert Fico was shot as he left a meeting in Handlova, Slovakia. A suspect has been arrested.";
arrFadeLinks[31] = "https://www.bbc.com/news/articles/c1dd99jgl09o";
arrFadeTitles[31] = "Raisi\'s death will test a system where hardliners dominate all branches of power, Lyse Doucet writes.";
arrFadeLinks[32] = "https://www.bbc.com/news/articles/ceklk794102o";
arrFadeTitles[32] = "Taiwan\'s outgoing president says boosting her country\'s military was the only way to defy China\'s threat.";
arrFadeLinks[33] = "https://www.bbc.com/news/articles/c80ze4jjrxwo";
arrFadeTitles[33] = "The country has the world\'s highest unemployment, leaving many cynical about this month\'s election.";
arrFadeLinks[34] = "https://www.bbc.com/news/articles/c8vz35911r9o";
arrFadeTitles[34] = "The star of viral hit People talks to the BBC about getting death threats for waving a Cameroonian flag.";
arrFadeLinks[35] = "https://www.bbc.com/news/articles/c72p2vgd21no";
arrFadeTitles[35] = "As the UK and US continue to see falling birth rates, options to deal with the issue are limited.";
arrFadeLinks[36] = "https://www.bbc.co.uk/news/world-asia-69020490";
arrFadeTitles[36] = "Two journalists reveal how they bore the brunt of fans\' anger after exposing K-pop\'s dark underbelly.";
arrFadeLinks[37] = "https://www.bbc.co.uk/news/world-us-canada-68987824";
arrFadeTitles[37] = "Questions remain around the disappearance of a man mixed up in one of the biggest gold scams in history.";
arrFadeLinks[38] = "https://www.bbc.com/news/articles/c163jexl7rxo";
arrFadeTitles[38] = "Assassin?s Creed: Shadows is a long-awaited pivot for the franchise into the country?s feudal 16th Century.";
arrFadeLinks[39] = "https://www.bbc.com/news/articles/cz74ed6yk9lo";
arrFadeTitles[39] = "Gina Rinehart\'s campaign to have two portraits removed has sparked debate about art and censorship.";
arrFadeLinks[40] = "https://www.bbc.com/news/articles/c8vzd429zmdo";
arrFadeTitles[40] = "The Philippines investigates a mayor as it faces increasing sea tensions with China.";
arrFadeLinks[41] = "https://www.bbc.com/news/articles/c2lekp48n78o";
arrFadeTitles[41] = "Vladimir Putin?s visit to China was a show of strength, but in reality he needs Beijing\'s support for his war in Ukraine.";
arrFadeLinks[42] = "https://www.bbc.com/news/articles/c060mn36py5o";
arrFadeTitles[42] = "Spraying money - flinging cash at the happy couple - is a highlight of many ceremonies but is illegal.";
arrFadeLinks[43] = "https://www.bbc.com/news/articles/c2jd3k1zyjro";
arrFadeTitles[43] = "Russia has launched a push north of Kharkiv but its ultimate goal is so far unclear.";
arrFadeLinks[44] = "https://www.bbc.co.uk/news/world-asia-india-69010109";
arrFadeTitles[44] = "Indian PM Narendra Modi is eyeing a historic third term after a decade in power.";
arrFadeLinks[45] = "https://www.bbc.com/news/articles/c8vzvd33r0jo";
arrFadeTitles[45] = "The BBC goes to Afghanistan\'s Baghlan province, where hundreds have died in devastating flooding.";
}
Fadewl();