Scusate, ma da spiegare senza esempi è difficile.
Quello che voglio fare è scritto qui:
http://www24.brinkster.com/binarysun/lab/esempio.html