you should not mod the UDF.
it's there so you don't need to do it again by yourself.

I see you tried to tweak it somehow and immediately got an syntax error there.
did you read the faq thread I said?
_________________________
!

download KiXnet