title: Openlayers - Change layer visibility by its name
body: <p>Is there any way to change a layer's visibility by its name, not by its var name?</p>
  
  <pre><code>var mylayer=new Openlayers.Layer.Vector('Layer 1', ...
  </code></pre>
  
  <p>I'd like to change the visibility by using 'Layer 1' and not 'mylayer'</p>
  
  <p>Thanks!</p>