I dunno about loading it directly from a var, but you could dump it to a temp file and load that in the webbrowser.