
var theTime;

function showTime()
{
	theTime += 1000;

	var theDate		= new Date(theTime);
	var theHours	= theDate.getHours();
	var theMinutes	= theDate.getMinutes();
	var theSeconds	= theDate.getSeconds();


	if( theHours < 10 )
		theHours = "0" + theHours;
	
	if( theMinutes < 10 )
		theMinutes = "0" + theMinutes;
	
	if( theSeconds < 10 )
		theSeconds = "0" + theSeconds;

	document.getElementById("actualTime").value = theHours + ":" + theMinutes + ":" + theSeconds;
	window.setTimeout("showTime();", 1000);
}


function changePict(strID,strPath)
{
	document.getElementById(strID).src = strPath;
	return;
}
