Just find which file has the code in (probably a JS file link loading the virus from another server) and delete that part of the code.
When the page loads and displays the virus warning then make a note of the page and go edit it or the HTML if it's a template file.