I did sort of the same with my d900. Take it to a mobile phone repair shop as soon as possible because the longer the water is in the phone the more erosion it will cause.
The shop should be able to put it through a machine that gets rid of the moisture.
Hope this helps.
Nicola x
Nicola
July 2007