My thought is you should consult a lawyer who has experience with intellectual property law before you do anything else. Bring your employment contract and employee handbook with you (if applicable).
Im just curious if anyone has similar experience in dealing with this common scenario.