<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi people, i need to know how could i know when my wms server is
    down, because i need to show the user a message  to kotificate him
    about the problem, but, for example i have this code that work
    perfectly:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap; ">map.events.on({
     "zoomend" : function (e) {
                scaleCombo.setValue(map.getScale());
          if (this.getZoom() < 2) {
                  
                                zoomtoggle.onCtrlDeactivate();
                                
                                aprotegidas.setVisibility(false);
                                municipios.setVisibility(false);
                                provincias.setVisibility(true);
                                ferreas.setVisibility(false);
                                autopistas.setVisibility(false);
                                l110.setVisibility(false);
                                l220.setVisibility(false);
                                s220.setVisibility(false);
                                s110.setVisibility(false);
                                vlayerMunicipios.setVisibility(true);
                                asentamientos.setVisibility(false);
                                manzanas.setVisibility(false);
                                carreteras.setVisibility(false);
                                
                                if ( vlayerMunicipios.visibility == false )
                                        {
                                        inventario.setVisibility(true);
                                        vlayer.setVisibility(true);
                                        
                                        
                                        tree.getRootNode().eachChild(function(n){
                    n.enable();
                                        });
                                        selectvlayerMunicipios.deactivate();
                                        modifyControl.activate();
                                        tree.getSelectionModel().select(tree.getRootNode().item(2), null, true);
                                        
                                        }
                                        else
                                        {
                                        inventario.setVisibility(false);
                                        vlayer.setVisibility(false);
                                        
                                        tree.getRootNode().eachChild(function(n){
                    n.enable();
                                        });
                                        selectvlayerMunicipios.activate();
                                        modifyControl.deactivate();
                                        selectvlayerMunicipios.unselectAll();
                                        tree.getSelectionModel().select(tree.getRootNode().item(2), null, true);
                                        }                                                                                                          
          }<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">}
});

//--------------------------------------------------------------------------------------------------
i need to know when the wms server is down when the map "zoomend" , please help me, thanks.
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap; "></pre></pre>
    <br>
  </body>
</html>