Kenneth,
When the file first loads, I set a variable (gmDateLoaded = 0) then query the server. If it successfully gets the date string, it sets gmDateLoaded = 1, gets an initial value for yourDate , calculates the time difference(calcGmtMilliSecs ), then loads the rest of the script. This is...