var rsNewsRSS = new Array();
rsNewsRSS = eval([["1622","http://www.smh.com.au/national/its-been-a-long-wait-for-paid-maternity-leave-say-carers-20100313-q530.html","paid maternity leave","Sydney Morning Herald - Danielle Teutsch - March 14, 2010
PAID maternity leave is precious time when women can just focus on their families, says Roxanne Elliott, who founded the online childcare directory careforkids.com.au..."],["1621","http://www.dailytelegraph.com.au/news/opinion/abbott-is-all-at-sea-with-maternity-leave/story-e6frezz0-1225840381732","Abbott is all at sea with maternity leave","The Sunday Telegraph - Paul Howes - March 14, 2010
One idea I've heard is extending some of the Child Care Tax Rebate to families who use non-centre-based childcare. This would have several beneficial outcomes..."],["1620","http://www.smh.com.au/business/australia-best-for-kids-expat-survey-20100311-q16s.html","Australia best for kids: expat survey","Sydney Morning Herald - March 11, 2010
Respondents rated their adopted homes on quality of childcare, education, ease of integration, costs of raising children and time spent on outdoor..."],["1619","http://www.theage.com.au/opinion/politics/senate-obstruction-on-baby-leave-hype-and-poppycock-20100310-pz99.html","Senate obstruction on baby leave? Hype and poppycock","The Age - Misha Schubert - March 11, 2010
Sometimes politicians talk an awful lot of rot. To hear Jenny Macklin tell it, the Senate is poised to scuttle Australia's first paid parental leave scheme..."],["1618","http://www.theage.com.au/opinion/politics/baby-leave-is-not-a-womens-issue-20100309-pvot.html","Baby leave is not a women's issue","The Age - Leslie Cannold - March 10, 2010
By failing to talk about childcare and paid leave as something of critical importance to children, men and women, both political parties doom us to more of the same work/life crunch..."]]);
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++;
}
}