<span style="font-family: courier new,monospace;"><span style="font-family: arial,helvetica,sans-serif;">Sorry:</span><br><br>function 
swapHideShow()</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">{</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> if(mgOverlayLayer)<br> {<br>   if(ccc++%2==0)<br>  
 {<br>        _</span><span style="font-family: courier new,monospace;">mgLayer</span><span style="font-family: courier new,monospace;">.params.showLayers = 
&quot;id_h1,...,id_hu&quot;;<br>

        _</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">mgLayer</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">.params.hideLayers = &quot;id_k1,...,id_sk&quot;;<br>

  
 }<br>   else<br>
   {<br>
        _</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">mgLayer</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">.params.showLayers = &quot;id_k1,...,id_sk&quot;;<br>


        _</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">mgLayer</span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">.params.hideLayers = &quot;id_h1,...,id_hu&quot;;<br>


   }<br>   </span><span style="font-family: courier new,monospace;">_mgLayer</span><span style="font-family: courier new,monospace;">.redraw(true);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> }<br>



}</span><br><br><br>