onoffline [HTML5]

Function to call when network communication has failed.