pederito1 wrote:but I wonder however the programmes got on in the first place.
AVG didn't protect you.
Only full suites that have firewalls with heuristic javascript blockers and on access virus scanning can protect you from these attacks. Well unless you want to switch off JavaScript and only allow it on a site by site basis. But that's way too much pain for most people, myself included.
It's why I run Norton 360. Although I've cancelled my renewal as the price has become stupid and just buy my license keys from ebay, yearly, for £18.
Trust me on this. The number of virus and Trojan threats in the wild today, run into the millions. No freeware will protect you from them on a realtime basis. Companies run machines on the internet which collect viruses and Trojans and work out how to protect against them and remove them. This costs millions every year. They don't give that away for free.