var rsNewsRSS = new Array();
rsNewsRSS = eval([["844","http://www.smartcompany.com.au/Free-Articles/The-Briefing/20080905-ABC-Learning-investigated-by-ASIC.html","ABC Learning investigated by ASIC","Smart Company - Patrick Stafford - September 5, 2008 Troubled childcare group ABC Learning Centres is being investigated by the Australian Securities and Investments Commission for possible breaches..."],["843","http://www.smartcompany.com.au/Free-Articles/The-Briefing/20080904-Eddy-Grovess-embarrassing-audit-mess-Kohler.html","Eddy Groves’s embarrassing audit mess: Kohler","Smart Company - Alan Kohler - September 4, 2008 With ABC's share price having collapsed from $5 to 54 cents this year, and questions being raised about the company's solvency, Long's decision was the last thing Eddy needed..."],["842","http://www.theaustralian.news.com.au/story/0,25197,24290612-5013871,00.html","Territory care system has 'serious flaws'","The Australian - Stuart Rintoul - September 4, 2008 ONE year after the intervention, the Northern Territory still has the least responsive child care system in the nation despite widespread and entrenched..."],["841","http://www.thewest.com.au/aapstory.aspx?StoryName=511833","Expert backs parental, professional care","The West Australian - September 3, 2008 Keeping children out of care could compromise educational development as school curriculum is designed for youngsters with prior knowledge, an academic says..."],["840","http://www.news.com.au/couriermail/story/0,23739,24282763-5016679,00.html","Parents can't care more","Courier Mail - Karen Brooks - September 03, 2008 The reasons for care are as diverse as the children and facilities themselves, and we may not all agree with them, but wouldn't it be nicer if we erred on the side of lending support..."]]);
function buildNews(objDiv, nIndex) {
var objNews = document.createElement('DIV');
objNews.id = 'news-'+ rsNewsRSS[nIndex][0];
objNews.className = 'hideMe';
objNews.innerHTML = ""+ rsNewsRSS[nIndex][2] +" "+ rsNewsRSS[nIndex][3];
objDiv.appendChild(objNews);
if (cNewsItem) {
slideNews(objNews, false);
}
else {
objNews.className = 'showMe';
objNews.parentNode.style.height = objNews.offsetHeight +'px';
cNewsItem = objNews;
}
}
function slideNews(tNews, backwards) {
var fNews = cNewsItem;
var animateX = -15;
var animateInterval = 100;
tNews.style.left = "101%";
tNews.className = "showMe";
if (document.all) {
tNews.style.removeAttribute('filter');
}
else {
tNews.style.opacity = 1;
}
//tNews.parentNode.style.height = tNews.offsetHeight +'px';
var percent = 101;
var timer = window.setInterval(function() {
percent += animateX;
if (percent <= 0) {
percent = 0;
if (fNews) {
fNews.className = "hideMe";
}
cNewsItem = tNews;
window.clearInterval(timer);
}
if (fNews) {
fNews.style.left = (backwards?(101-percent):(percent-101))+"%";
if (document.all) {
fNews.style.filter = 'alpha(opacity='+ percent +')';
}
else {
fNews.style.opacity = (percent/100);
}
}
tNews.style.left = (backwards?-percent:percent)+"%";
}, animateInterval);
}
function loadNews() {
if (rsNewsRSS.length > 0) {
if (nIndex >= rsNewsRSS.length) {
nIndex = 0;
}
if (document.getElementById('news-'+ rsNewsRSS[nIndex][0])) {
slideNews(document.getElementById('news-'+ rsNewsRSS[nIndex][0]), false)
}
else {
buildNews(document.getElementById('hpNews'), nIndex);
}
nIndex++;
}
}
document.write("");