Ma più che altro, usare i thread appositi?
http://forum.html.it/forum/showthrea...hreadid=579078