Ray,
FYI having done a site wide search this morning the only two files in the site where the rel2abs function exists are:
WA_DataAssist/library.php
webassist/caching/CachedResize_Image.php
and of these only the WA_DataAssist/library.php is drawn into the pages where I am having issues.