var rsNewsRSS = new Array();
rsNewsRSS = eval([["1772","http://www.heraldsun.com.au/news/national/row-over-fee-increases-to-expensive-australian-childcare/story-e6frf7l6-1225909639019","Row over childcare reform costs","Herald Sun - Elissa Doherty - August 25, 2010
The Child Care Centres Association of Victoria said many parents would not be able to afford care with the changes, and different ratios could cost 3000 places..."],["1771","http://www.heraldsun.com.au/opinion/editorials/parents-let-down-again/story-e6frfhqo-1225909639148","Parents let down - again","Herald Sun - August 25, 2010
FOLLOWING hard on the heels of the Federal Government's failure to honour its childcare election promises, parents have been dealt another blow..."],["1770","http://www.heraldsun.com.au/news/special-reports/pledges-favour-parents/story-fn5ko0pw-1225907984337","Pledges favour parents","Herald Sun - Susie O'Brien - August 21, 2010
FAMILY policies such as paid parental leave, education rebates and cheaper childcare are on offer to attract the votes of Aussie mums and dads..."],["1769","http://www.theaustralian.com.au/news/opinion/phlegmatic-response-to-our-germ-warfare/story-e6frg6zo-1225907622240","Phlegmatic response to our germ warfare","The Australian - Emma Tom - August 21, 2010
If, on the other hand, you've had contact with that haven of germ warfare known as the childcare centre, both you and your rhinoviruses are welcome..."],["1768","http://australia.to/2010/index.php?option=com_content&view=article&id=4227:another-labor-bungle-looming-in-early-childhood-education-and-care&catid=97:news-media-releases&Itemid=161","Another Labor bungle looming in early childhood education and care","Australia.TO - August 19, 2010
Child Care New South Wales has after detailed research and surveying identified that there will be a significant contraction in the number of child care places..."]]);
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++;
}
}