Look at this:
http://www.tipsfor.us/2008/04/15/syn.../#comment-2683
I have almost (99%) been using this solution for a while now but instead of using Funambol servers I use the free Scheduleworld Funambol server (scheduleworld.com).
I installed the same Funambol plugin on my phone and I sync with the Scheduleworld server my contacts, calendar and todo’s. After that I open up Thunderbird and I sync from the server using the SyncSW (Scheduleworld) Thunderbird addon and I have the same on my PC and my phone. I also export my contacts in CSV from Thunderbird and I import them in my GMail account online.