Hi Steven,
To access page content or to run javascript you have to use the functions EvaluateJavascriptSync or EvaluateJavascriptAsync.
To get the innerHtml:
string ls_text, ls_error
EvaluateJavascriptSync ("document.documentElement.innerHTML", ls_text, ls_error)
ls_text contains JSON with the value(s) the javascript returns. You have to extract the innerHTML from JSON. You can find some examples in PB help.
To call your resizemap javascript function you can also use EvaluateJavascritSync function.
HTN.
René