sure.
there are ready codes but this is the one I found fastest:
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=81736&page=42&view=collapsed&sb=3&o=all&fpart=1

obviously, it's UDF but think you no scared of udfs
_________________________
!

download KiXnet