function startclock()
{
	var thetime	= new Date();
	var nhours	= thetime.getHours();
	var nmins	= thetime.getMinutes();
	var nsecn	= thetime.getSeconds();
	var AorP	= " ";

	if (nhours>=12)
   		AorP="pm";
	else
   		AorP="am";

	if (nhours>=13)
		nhours-=12;

	if (nhours==0)
		nhours=12;

	if (nmins<10)
		nmins="0"+nmins;

	showclock = "<b>Time:</b> "+nhours+":"+nmins+""+AorP;

	document.all.clockcell.innerHTML = showclock
	setTimeout('startclock()',1000);

} 
function closePopup()
{
	if (child && child.open && !child.closed) child.close();
}

