function doClockUpdate()
{
    // *** Nothing to edit below here. *** \\
    var stTempToday   = new Date();
    var output  = "";

    // How this works:  Since we want all times relative to the
    // server's time, we first calculate a Date object with the 
    // server's time at the time the page was loaded.  We also
    // create another Date object with the client's time.  We then
    // calculate the offset.  That way, when the javascript reloads
    // to update the clock, we don't need to have any perl tell us
    // the time.
    // We always subtract... it makes the math work ( trust me ).
    today = stTempToday.getTime() - stClockOffset;

    var todayObj = new Date( today );
    var output = todayObj.toString();

    if( document.layers )
    {
        var xxref = document.layers["clockDiv"].document;
 
	var s = "";
	for( i in xxref )
        {
	    s += i + ': ' + xxref[i] + '\n';
	}
//	alert( s );


	xxref.open( 'text/html' );
	xxref.write( '<FONT CLASS = "clock">' + output + '</FONT>' );
	alert( 'done' );
	xxref.close();

    }
    else
    {
        theClockDiv = document.getElementById( "clockDiv" );
	theClockDiv.innerHTML = '<FONT CLASS = "clock">' + output + '</FONT>';
    }

    setTimeout( "doClockUpdate()", 1000 );
}

