// 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://www8.open.ac.uk/study/explained/fees-2012\">OU reaffirms mission and announces fees in all jurisdictions.</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></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=23019\">The case for publishing computer source code for scientific research papers</a>";
if (newsid == 2) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=23001\">3D cellular model brings powerful new approach to spinal cord injury research</a>";
if (newsid == 3) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=22987\">Bisexuals endure worst mental health problems and suffer from equality gap, report finds</a>";
if (newsid == 4) document.getElementById("headlines").innerHTML = "<a href=\"http://www3.open.ac.uk/media/fullstory.aspx?id=22982\">A new six part series explores the history of Wales<em><em></em></em></a>";
}
