Good to hear you fixed it. Pop up ads often a sign of an infection/malware. Sometimes a toolbar gets installed with a bit of software, I often select custom install if given the option when installing new software to check to see what it is planning to install, then I selecting the things I do not want.
You know the ones telling you "warning your computer is not performing" or "congratulation you are the winner of an Ipad blablabla!" ... They are bright and flashy, the annoy me and when I try to close them (clicking on the cross top right corner) it opens them anyway! Please is a a setting that does block them?