// system generated - original is on polecat

var newsid = 0;

function startnews()
{
if (navigator.appName == "Netscape" && parseFloat(navigator.appVersion) < 5) return;
document.getElementById("sbfocus").innerHTML="<h2>Focus on</h2><ul class=\"focus\"><li><a href=\"http://www3.open.ac.uk/study/research-degrees/index.htm\">Research degrees at the OU.</a></li><li><a href=\"http://www8.open.ac.uk/employers/\">Services for Employers.</a></li><li><a href=\"http://www.open.ac.uk/openlearn\">OU educational resources freely available from OpenLearn.</a></li><li><a href=\"http://www3.open.ac.uk/study/undergraduate/course/tm128.htm\">New Course - Microsoft server technologies</a></li></ul>";
nextnews();
setInterval("nextnews()", 5000);
}

function nextnews()
{
newsid++;
if (newsid == 5) newsid = 1;
if (newsid == 1) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=19308\">Virtual world conference will address core issues in contemporary society</a>";
if (newsid == 2) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=19293\">Paranoid parents, media hysteria and the myth of childhood in crisis</a>";
if (newsid == 3) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=19282\">Wanted: Cyber Experts to Defend UK Online</a>";
if (newsid == 4) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=19278\">In Their Own Words: British Novelists</a>";
}