I would recommend immediately (if not sooner!) removing the system from the net access until you determine what trojan has been installed and remove it, then run a good quality antivirus program to sweep your system. It may not, however, find anything, as this sounds like a hijack, not a virus.
Some excellent tools, in addition to a good antivirus sweep, would be to install and run CWSHREDDER, then SPYBOT Search and Destroy, and AdAware. Install and Run all three in the order listed. These find and clean out hijack programs. If this is the only system you have to access the net with, then download the software, take the system off line, install and run the software and clean it up. Once this is done go back on line and get the latest updates for all three and do it again. Chances are the older versions will find and remove the problem, but then you want to run the latest versions to be sure.
Create a directory on your HD called antihijcak with three subdirectories, and put these files into the three different subdirectories before you install them on your system. (The makes them available to re-install if needed later).
CwShredder is free from Merijn.org at
while AdAware is found at
and SpyBot S&D can be obtained at
(You can, and should, down load the Search & Destroy update from this home site before you go to get the basic program, which will gotten be from a satillite location.)
All three are powerful tools for finding ang removing hijack programs and recovering your system. AdAware and SpyBot are also free for home use, and if you find them useful, they would appreciate donations also.
After running all three of these prograns, clean out all the cookies on your system, under all accounts. If you do not know how to do this say so and tell us what os you are using so we can pont you in the right direction.
After cleaning out the system, be sure to bring it totally up to date with all the security patches available for the OS and all applications installed.
HTH
David