Most of these integrated webcams are just attached to an internal usb port. If you're the handy type you can find a disassembly video and perhaps locate this cable and reseat it. If that doesnt work the cam is dying and your cheapest option would be to buy a new external cam.
Thanks everyone for your help. I bought a new Webcam and I am happy with it.