title: How to enable and disable a DIV
body: <p>I am using the Prototype JavaScript library and have this div:</p>
  
  <pre><code>new Element('div', {id: 'summaryGraph', style: 'width: 100%; height:90px;'});
  </code></pre>
  
  <p>Inside that div, I am showing a graph:</p>
  
  <pre><code> summaryGraph: function (data, bounds) {
            var p = Flotr.draw(
              $('summaryGraph'),
              [data],
              {
              }
          );
          return p;
      }
  </code></pre>
  
  <p>Now my question is, is it possible to disable and enable the div depending on the conditions?</p>