idea is nice but how to really do that as an example code is rather not that easy.
maybe as comments...
_________________________
!

download KiXnet