/*
	(c) by Denys Koch - 2008
*/ 
                        
var clockDiv;

function buildClock(parent_id, classe)
{
	clockDiv = window.document.createElement('div');
	clockDiv.setAttribute('id', 'clock');
	clockDiv.className = classe;
	window.document.getElementById(parent_id).appendChild(clockDiv);
	window.setTimeout('getClock()', 10);
}
function getClock()
{                      
	var currentTime = new Date();
	clockDiv.innerHTML = currentTime.toLocaleString();
	window.setTimeout('getClock()', 1000);
}
