<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 =
"id_h1,...,id_hu";<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 = "id_k1,...,id_sk";<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 = "id_k1,...,id_sk";<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 = "id_h1,...,id_hu";<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>