Edit: Check the newer post for the link
Let me know if any of them aren't working properly or not looping properly.