IE7 includes a popup blocker, as does google search - as well as most internet security progs.
The other option is that you caught something somewhere .... which means you need to download something on the lines of ad-aware and/or spybot search and destroy or similar and scan the machine (you should have these tools anyway)
if you do have security installed - you need to update - cause it's obviously not that good