There's no way to include bits of html in an AIR app. Using
ajax to embed the html content within the application security
sandbox is only possible while the content is loading.
Once content is loaded, calls like eval(), document.write(),
changing innerHTML, etc. do not work if the page is in the
application sandbox (i.e, has access to file system, desktop APIs).
These will work if you put the HTML page in an iframe though you'd
need to bridge with content in the app sandbox for AIR APIs.