While waiting for an upload, I had a look.
This tag is inserted in the head:
<script src="http://1.2.3.4/bmi-int-js/bmi.js language="javascript">
This is inserted at the end:
<script language="javascript"><!-- bmi_SafeAddOnload(bmi_load,"bmi_orig_img",0);//-->
</script>
The external JS is here: http://pastebin.com/rv3k4meX
Analysis please. At an initial glance it seems to just be about the image compression.