function getBeat()
{
	var now = new Date();
	var off = (now.getTimezoneOffset() + 60)*60;
	var theSeconds = (now.getHours() * 3600) + (now.getMinutes() * 60) + now.getSeconds() + off;
	var beat = Math.floor(theSeconds/86.4);
	if (beat > 1000) beat -= 1000;
	return beat;
}

// I added a little function that keeps updating the beat time

function follow()
{
	if (!document.getElementById || window.opera) return;
	document.getElementById('writeroot').innerHTML = '@' + getBeat();
	setTimeout('follow()',20000);
}
