title: try to blank out the screen after negative confirmtation
body: <p>hi I want to blank out (better was close but <code>window.cose</code> doesn't work any more) the screen after a negative confirmation.</p>
  
  <p>I have the following script:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  function blankIt ()
  {
      document.write ("");
      document.close ();
  }
  
  var elems = document.getElementsByClassName('confirmation');
  var confirmIt = function (e) {
      if (!confirm('Are you sure?')) e.preventDefault();
  };
  
  for (var i = 0, l = elems.length; i &lt; l; i++) {
      elems[i].addEventListener('click', confirmIt, false);
  }
  
  var confirmIt = function (f) {
      if (!confirm('Are you sure?')) f.preventDefault();
  };
  
  for (var i = 1, l = elems.length; i &lt; l; i++) {
      elems[i].addEventListener('click', blankIt, false);
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>I have really no clue.  Maybe someone can point me the right direction</p>
  
  <p>thx in advance </p>
  
  <p>greetz edensan</p>