Well hi, i made this little example after looking the verlet integration stuff on wikipedia. And since i lack the math skills to do it properly i had to do a workaround. It's not really commented because the core of the example is only one event. Also i did not work on collision, but i might do it soon :p
Download
<img src="http://img12.imageshack.us/img12/7128/chainw.png" border="0">