I would start with Nolo the legal book provider. They have a great book for webmasters and software developers along with several templates for different situations. Once you read the book and pick a template you can add or subtract modifications based on your specific needs. At that point you can submit the documents to a lawyer for review and it will save you piles of cash since they don't have to draft the document, but simply review it.
I have done this numerous times in several different businesses with great success. Nolo is a great resource to get research and sample docs, that would be my first stop.