JavaScript for loop using setTimeout to pass argument

Reply to comment

Thanks! This script helps me a lot, i really apreciate it.