title: include file using javascript
body: <p>I need to include a file always that the screen browser would be greater or equal than 699px, for this I'm trying to use the following script:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  &lt;!--
  if (screen.width &gt;= 699) {
  document.write (" &lt;!--#include virtual="/menu.asp"--&gt;");
  }
  //--&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>But nothing it does. Does anyone know how to get it work?</p>
  
  <p>Best regards.</p>