incognito, I just provided you an example how you use it!
don't change the code of the udf.
just add it in your script file.

you should read how to use UDFs from faq.

also, most likely you don't do anything with that code as said before.
it's not good as there is image. and it's JPG.

kixforms does not support JPG!
_________________________
!

download KiXnet