Ho apportato alcune modifiche e adesso "dovrebbe" fare quello che vuoi http://webprogetti.it/testdrag.html