I'm also noticing that the htm page is formatted/colorized down to a parameter in the included applet.
this param seems ok but guessing that the line might be too long it is 4791 characters long as it contains a bunch of tag names for and IP21 query looks something like:
<param name="param.1" value="'$PC-5000CO','5-COA-6','5FT-230','5PIC-230PV','CALC_WGC_HYCO_CONC' ..... 'calc_value'" />
so that might be throwing off the reading and saving...