This is the code for the ebb and flow system detailed on http://tribeawesome.com