A template for creating jquery plugins