title: How to access the Intel XDK api from a remote website
body: <p>I am opening a remote url in a child window like this:</p>
  
  <pre><code>intel.xdk.device.showRemoteSite('http//my.site', 0, 0, 24, 24);
  </code></pre>
  
  <p>Apparently it is possible for me to use 'mainViewExecute' in javascript in my remote site code to execute api methods on the main form eg. </p>
  
  <pre><code>intel.xdk.device.mainViewExecute('intel.xdk.notification.beep(1);');
  </code></pre>
  
  <p>But the 'intel' object is undefined so it seems I am missing some reference etc. or is it not possible to do this at all?</p>