Avast is an Antivirus, and from the sounds of things it found the viruses.

You need Ad-Aware SE or Spybot Search and Destroy toget rid of your spyware.