function update_clock()

{

	var tDate = new Date();

	var h = tDate.getHours();

	var m = tDate.getMinutes();

	var s = tDate.getSeconds();

	

	if(h < 10)

	{

		h = '0' + h;

	}

	if(m < 10)

	{

		m = '0' + m;

	}

	if(s < 10)

	{

		s = '0' + s;

	}

	document.getElementById('clock').innerHTML = h + ":" + m ;

	setTimeout("update_clock()", 1000);

}



womAdd('update_clock()');