I add this 2 line:
if(!htmldoc) {htmldoc=returnObjById("content");}
if(!orgbar) {orgbar=returnObjById('res');}
With this the mayor features of the script work well with new T3.5 servers
Ops.... the script is not totally correct..
the function "search the page for resource needed to build, and calculates the surplus, deficit or other information" is not working...