not sure this has any difference (as didn't read the whole thread and thus don't know your kix-ver) but anyway...

instead of:
if InGroup ("Mgr") = 1

you probably should:
if InGroup ("Mgr")
_________________________
!

download KiXnet