Wich version of Avast had you installed?
And wich version of Firefox?
With Internet Explorer (or other browser) you have the same problem or not?