function homeCountdown(){
	var div = document.getElementById("div_mainbg");
	if(div==null)
		return;
	var children = div.childNodes;
	for(var i=0;i<children.length;i++){
		if(children[i].style!=null)
			children[i].style.display = "none";
	}
	div.className = "mainbg mainbg_home";
	window.setTimeout('homeCountdownElapsed()',1000);
}

function homeCountdownElapsed(){
	var div = document.getElementById("div_mainbg");
	if(div==null)
		return;
	div.className = "mainbg";
	var children = div.childNodes;
	for(var i=0;i<children.length;i++){
		if(children[i].style!=null)
			children[i].style.display = "block";
	}
}
