webserve3.html - simple server status reporting script implementation for visitors

javascript - written 15/1/25 @728 and posted @ on the same day

i wrote a little script for the server that when loaded on this site's index page, will report the status of the server.
this means whenever someone goes to the index page on this site, if the server is reachable, the script located there will change the text in a span element to ON-LINE
if the server isnt reachable, nothing happens and the span element will show OFF-LINE instead.

The entry buttons on the index page of ELITE784 dot Online. Next to the 'connect to home server' button, there is a server status indicator thats currently reporting that the home server is offline.