It's me again.
Whit this code it works: http://pastebin.com/f1ff7cf27