function countdown(){	
	var now=new Date();
	var h = (29 - now.getHours()) % 24;
	var min= 59 - now.getMinutes();
	var sec= 59 - now.getSeconds();
	
	if (h < 10) {
		h = "0" + h;
	}
	if (min < 10) {
		min = "0" + min;
	}
	if (sec < 10) {
		sec = "0" + sec;
	}
	
	var toShow=h+":"+min+":"+sec;
	
	var idEl = document.getElementById("time");
	if (idEl != null) {	
		idEl.innerHTML = toShow;
	}
	setTimeout("countdown()",1000); 
}