separated out server code from client code
Authored by: hellcatv 2005-12-19
Parent: [r10016]
Child: [r10018]