I'm currently trying to convert a class into a template but am having problems with the overloaded ostream operator and the templates. I have the overloaded ostream function as a friend inside a class called AssocArray, I have tried everything that I can think of to get this function working as a template but it is being stubborn. I have uploaded a copy of the erros I'm recieving along with the code that portion of the code that is giving me trouble to a html file on the web to make things easy for everyone. Any help you could provide would be much appreciated.

All the code and erros are here:
http://bsdadmins.net/problems.html

Dav