try:
用onLine Property--------------------------------------------------------------------------------Retrieves a value indicating whether the system is in global offline mode.Syntax[ bOnLine = ] object.onLine
Possible ValuesbOnLine Boolean that receives one of the following values.true System is not in global offline mode. 
false System is in global offline mode. 
 The property is read-only. The property has no default value.ResThe user can modify the global offline state by choosing Work Offline from the File menu in Microsoft® Internet Explorer version 4.0 or later. This property does not indicate whether the system is connected to the network.