An excellent generator for references:
http://www.citationmachine.net/