PDA

View Full Version : [Help - Vista] Virus



Capernicus
01-09-2010, 02:57 AM
So I apparently have a virus/adware/malware. My posts and PMs sometimes also include a huge block of text that I couldn't understand.


createInlineScriptElement("var%20LEO_HIGHLIGHTS_DE BUG%20%3D%20true%3B%0Avar%20LEO_HIGHLIGHTS_DEBUG_P OS%20%3D%20false%3B%0Avar%20LEO_HIGHLIGHTS_INFINIT E_LOOP_COUNT%20%3D%20300%3B%0Avar%20LEO_HIGHLIGHTS _MAX_HIGHLIGHTS
etc etc

Also, sometimes Firefox closes out randomly, which I thought I was either crazy or accidentally exiting out of the window. Anyway... I have McAfee Antivirus, but a fully inclusive scan didn't find anything. Are there any good, safe, and free scans I can do online without having to download stuff? I need to know which file it is, then I can use a killbox to get rid of it.

Gjallarhorn
01-09-2010, 03:22 AM
Malwarebytes Anti-Malware is great for a quick scan. Avast can run a pretty heavy scan as well. Windows Defender is another alternative, which you should already have if you're running Vista, provided you keep it updated..

Capernicus
01-09-2010, 03:29 AM
I downloaded AVG and almost done installing, I'll let you know what comes of it.

OminousCloud
01-09-2010, 06:10 AM
I don't know of any that do online scans, but I do second Xero's malwarebytes suggestion and Ad-aware is good too, but it doesn't do viruses.

ultra_maniac
01-09-2010, 06:57 AM
is it coming as a crash report for mozilla it closes right

Ashminigun
01-09-2010, 10:19 AM
Beside Malwarebytes, you can try Dr. Web CureIt. A lot potent than Malwarebytes (I'm reckon it's the US version of Dr Web), it can detect viruses/malwares than not detected by the current installed AV.

Most of the time, when Dr. Web detected the suspected malware, miraculously the AV will detect prompts you take action (Based on my previous job experience).

And if you're able to eradicated the malware from your system, you need to clean up your registry since most of the free solution unable to do it. There will be some residual left from the malware; manually or using 3rd party programs.

Eris
01-09-2010, 12:11 PM
And if you're able to eradicated the malware from your system, you need to clean up your registry since most of the free solution unable to do it. There will be some residual left from the malware; manually or using 3rd party programs.

This doesn't make any sense. A registry key-value pair alone can't contain executable code. So if the virus resides exclusively in the registry, it's essentially dead. It needs some form of executable to actually be able to do something.

Capernicus
01-09-2010, 03:22 PM
AVG didn't find anything. I couldn't figure out how to get the Malwarebytes thing to work, it prompted me to buy the full version. Can someone give me a download link because I seem to be doin it rong.

Avast! is currently doing it's thing, but so far nothing. I'll look into Dr. Web next.

Capernicus
01-09-2010, 04:43 PM
Double post, wah wah wah. Okay, Avast found nothing. So... wth? Are you sure I have a virus Eris? Which scan should I be using, 3 different anti-viruses found squat!

Miss Moonlight
01-09-2010, 04:57 PM
Are you sure it's an actual virus?

If you don't already have Spybot Search and Destroy, download it. That's what I use.

I'm not sure though, if there was a virus, one of the scanners should have picked it up ...

Khanxay
01-09-2010, 06:06 PM
Are there any good, safe, and free scans I can do online without having to download stuff?Not as far as I know. Online scanners are for single files, not for entire PCs. From what I've seen, Online scanners that claim to do so are scams.


I couldn't figure out how to get the Malwarebytes thing to work, it prompted me to buy the full version. Can someone give me a download link because I seem to be doin it rong.

Link: http://www.filehippo.com/download_malwarebytes_anti_malware/


For Avast!, you can try doing a boot-time scan too. Maybe that might catch something.

Capernicus
01-09-2010, 06:15 PM
I did the boot time scan and a scan after booted, neither picked up anything.

Ashminigun
01-09-2010, 08:08 PM
This doesn't make any sense. A registry key-value pair alone can't contain executable code. So if the virus resides exclusively in the registry, it's essentially dead. It needs some form of executable to actually be able to do something.

If you're using Windows based OS, it does make sense. Some of the malware design to run on startup. It will put its executable files on startup and these files are also presented in the registry.

So, even you have deleted the .exe/.bat/.com files in the hard drive, its registry entry reminds. When the user didn't clean the registry, the Windows will try to execute the programs that suppose to be start when the Windows is running. It will be annoying every time user have to dismissed the error message that said there are missing files on start up.

In worst case scenario, the malware injected code in the registry will ensure the virus stays in the system even the user have clean the computer/try to modifiy the Startup list.

Capernicus
01-09-2010, 08:22 PM
Okay anyway... the Malwarebytes didn't pick up anything. Dr. Web was srs gonna take 10 hours to run, so I quit it. I then uninstalled AVG, Avast!, and Dr. Web and reinstalled McAfee. Of course, it did a scan of the computer before installing itself and again, did not find anything. I then used the McAfee Virtual Technician and it didn't find anything wrong with McAfee.

So I can't figure this out. What is wrong with my computer? Is a virus or malware/adware the only options, because nothing is picking it up. I'm so confused.

Ashminigun
01-09-2010, 09:27 PM
Have you try repair/uninstall Firefox itself?

Ran-Sang
01-09-2010, 09:35 PM
Not so tech savvy but could it not be a virus and perhaps some weird screw up with an add on? You're using Firefox, right? Did you get some new add on recently or anything else new? Anything at all?

If this does not help...sorry. I tried.

Capernicus
01-09-2010, 09:46 PM
No, didn't get any new addons before the problem started. I tried Spybot and it said it caught 7 entries browsers and fixed them. I have no idea what that means. Translation?

Eris
01-10-2010, 03:20 AM
If you're using Windows based OS, it does make sense. Some of the malware design to run on startup. It will put its executable files on startup and these files are also presented in the registry.

Well, windows based OS:es are the only ones that even have a registry, so I was kinda speaking of them.


So, even you have deleted the .exe/.bat/.com files in the hard drive, its registry entry reminds. When the user didn't clean the registry, the Windows will try to execute the programs that suppose to be start when the Windows is running. It will be annoying every time user have to dismissed the error message that said there are missing files on start up.

Are you sure it nags about this? I typically just remove software by deleting their directories on the computer (since I largely don't give a crap about the integrity of my windows install). And it never nags when programs that are registry-started have gone missing.


In worst case scenario, the malware injected code in the registry will ensure the virus stays in the system even the user have clean the computer/try to modifiy the Startup list.

If executable code can be stored in the registry, windows is even has an even more mind-bogglingly stupid design that I had imagined.

Ashminigun
01-10-2010, 03:41 AM
That's why you use Linux, doesn't it? ;)

wizz-o-matic
01-10-2010, 04:04 AM
First of all, a virus can't exist in registry. Registry only points on the virus.
The worst case is when the virus modifies winlogon.exe executable, so that beside userinit.exe executes the virus.exe ... but if you just delete virus.exe, the system won't login anymore. There are several ways to go around that but it's kinda a pain.


@Capernicus: Simple question ... do you get that only in FF or also in IE? Can you post the whole code?

Eris
01-10-2010, 04:27 AM
@Capernicus: Simple question ... do you get that only in FF or also in IE? Can you post the whole code?

Here's the whole code (http://www.animeforum.com/showpost.php?p=2368485&postcount=8).

You need to urldecode it though, and the database chops it up into strings separated with a space, so you get some junk from that.

I did a google search for some of the variable names, but I didn't find anything conclusive as to the cause. It could be that it randomizes the namespace prefix (here: leo) to make identification harder though.

Capernicus
01-10-2010, 04:28 AM
I haven't used IE in ages, and since it does it only occasionally it would take quite a while to find out. Here is the last time is popped up.

createInlineScriptElement("var%20LEO_HIGHLIGHTS_DE BUG%20%3D%20true%3B%0Avar%20LEO_HIGHLIGHTS_DEBUG_P OS%20%3D%20false%3B%0Avar%20LEO_HIGHLIGHTS_INFINIT E_LOOP_COUNT%20%3D%20300%3B%0Avar%20LEO_HIGHLIGHTS _MAX_HIGHLIGHTS%20%3D%20200%3B%0Avar%20LEO_HIGHLIG HTS_IFRAME_ID%20%3D%20%22leoHighlights_iframe%22%3 B%0Avar%20LEO_HIGHLIGHTS_IFRAME_DIV_ID%20%3D%20%22 leoHighlights_iframe_modal_div_container%22%3B%0Av ar%20LEO_HIGHLIGHTS_SHOW_DELAY_MS%20%3D%20300%3B%0 Avar%20LEO_HIGHLIGHTS_HIDE_DELAY_MS%20%3D%20750%3B %0Avar%20LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT%2 0%3D%20%22transparent%20none%20repeat%20scroll%200 %25%200%25%22%3B%0Avar%20LEO_HIGHLIGHTS_BACKGROUND _STYLE_HOVER%20%3D%20%20%20%22rgb%28245%2C245%2C0% 29%20none%20repeat%20scroll%200%25%200%25%22%3B%0A var%20_leoHighlightsPrevElem%20%3D%20null%3B%0A%0A/**%0A%20*%20General%20method%20used%20to%20debug%2 0exceptions%0A%20*%20%0A%20*%20@param%20location%0 A%20*%20@param%20e%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsReportExeception%28loc ation%2Ce%29%0A%7B%0A%20%20%20if%28LEO_HIGHLIGHTS_ DEBUG%29%0A%20%20%20%7B%0A%20%20%20%20%20%20alert% 28%22EXCEPTION%3A%20%22+location+%22%3A%20%22+e+%0 A%20%20%20%20%20%20%20%20%20%20%20%20%22%5Cn%5Ct%2 2+e.name+%22%5Cn%5Ct%22+%28e.number%260xFFFF%29+%2 2%5Cn%5Ct%22+e.description%29%3B%0A%20%20%20%7D%0A %7D%0A%0A/**%0A%20*%20This%20is%20a%20dimensions%20object%0A %20*%20%0A%20*%20@param%20width%0A%20*%20@param%20 height%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsDimension%28width%2Chei ght%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%2 0%20%09this.width%3Dwidth%3B%0A%20%20%20%09this.he ight%3Dheight%3B%0A%20%20%20%09this.toString%3Dfun ction%28%29%20%7B%20return%20%28%22%28%22+this.wid th+%22%2C%22+this.height+%22%29%22%29%3B%7D%3B%0A% 20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B %0A%20%20%20%09_leoHighlightsReportExeception%28%2 2new%20LeoHighlightsDimension%28%29%22%2Ce%29%3B%2 0%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20Position%20object%0A%2 0*%20%0A%20*%20@param%20x%0A%20*%20@param%20y%0A%2 0*%20@return%0A%20*/%0Afunction%20LeoHighlightsPosition%28x%2Cy%29%0A% 7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09thi s.x%3Dx%3B%0A%20%20%20%09this.y%3Dy%3B%0A%20%20%20 %09this.toString%3Dfunction%28%29%20%7B%20return%2 0%28%22%28%22+this.x+%22%2C%22+this.y+%22%29%22%29 %3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0 A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportEx eception%28%22new%20LeoHighlightsPosition%28%29%22 %2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A% 0Avar%20LEO_HIGHLIGHTS_ADJUSTMENT%20%3D%20new%20Le oHighlightsPosition%283%2C3%29%3B%0Avar%20LEO_HIGH LIGHTS_IFRAME_HOVER_SIZE%20%3D%20new%20LeoHighligh tsDimension%28394%2C236%29%3B%0Avar%20LEO_HIGHLIGH TS_IFRAME_CLICK_SIZE%20%3D%20new%20LeoHighlightsDi mension%28394%2C512%29%3B%0Avar%20LEO_HIGHLIGHTS_C LOSE_BAR_HEIGHT%20%3D%2040%3B%0Avar%20LEO_HIGHLIGH TS_DIV_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimen sion%28LEO_HIGHLIGHTS_IFRAME_HOVER_SIZE.width%2C%0 A%09%09%09LEO_HIGHLIGHTS_IFRAME_HOVER_SIZE.height+ LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%29%3B%0Avar%20LEO_ HIGHLIGHTS_DIV_CLICK_SIZE%20%3D%20new%20LeoHighlig htsDimension%28LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE.wi dth%2C%0A%09%09LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE.he ight+LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%29%3B%0A%0A%0 A/**%0A%20*%20Sets%20the%20size%20of%20the%20passed% 20in%20element%0A%20*%20%0A%20*%20@param%20elem%0A %20*%20@param%20dim%20%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSetSize%28elem%2Cdim%2 9%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20% 09//%20Set%20the%20popup%20location%0A%20%20%20%09elem .style.width%20%3D%20dim.width%20+%20%22px%22%3B%0 A%20%20%20%09if%28elem.width%29%0A%20%20%20%09%09e lem.width%3Ddim.width%3B%0A%20%20%20%09elem.style. height%20%20%3D%20dim.height%20+%20%22px%22%3B%0A% 20%20%20%09if%28elem.height%29%0A%20%20%20%09%09el em.height%3Ddim.height%3B%0A%20%20%20%7D%0A%20%20% 20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHi ghlightsReportExeception%28%22_leoHighlightsSetSiz e%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09 %0A%7D%0A%0A/**%0A%20*%20This%20can%20be%20used%20for%20a%20sim ple%20one%20argument%20callback%0A%20*%0A%20*%20@p aram%20callName%0A%20*%20@param%20argName%0A%20*%2 0@param%20argVal%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsSimpleGwCallBack%28cal lName%2CargName%2C%20argVal%29%0A%7B%0A%20%20%20tr y%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%2 0%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20 if%28argName%29%0A%20%20%20%20%20%20%09gwObj.addPa ram%28argName%2CargVal%29%3B%0A%20%20%20%20%20%20g wObj.callName%28callName%29%3B%0A%20%20%20%7D%0A%2 0%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_ leoHighlightsReportExeception%28%22_leoHighlightsS impleGwCallBack%28%29%20%22+callName%2Ce%29%3B%20% 20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20gets%20a%20url%20argument%20fro m%20the%20current%20document.%0A%20*%20%0A%20*%20@ param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetUrlArg%28url%2C%20n ame%20%29%0A%7B%0A%09%20%20name%20%3D%20name.repla ce%28/[%5C[]/%2C%22%5C%5C%5C[%22%29.replace%28/[%5C]]/%2C%22%5C%5C%5C]%22%29%3B%0A%09%20%20var%20regexS%20%3D%20%22[%5C%5C?%26]%22+name+%22%3D%28[^%26%23]*%29%22%3B%0A%09%20%20var%20regex%20%3D%20new%20Re gExp%28%20regexS%20%29%3B%0A%09%20%20var%20results %20%3D%20regex.exec%28url%29%3B%0A%09%20%20if%28%2 0results%20%3D%3D%20null%20%29%0A%09%20%20%20%20re turn%20%22%22%3B%0A%09%20%20else%0A%09%20%20%20%20 return%20results[1]%3B%0A%7D%0A%0A%0A/**%0A%20*%20This%20allows%20to%20redirect%20the%20 top%20window%20to%20the%20passed%20in%20url%0A%20* %20%0A%20*%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsRedirectTop%28url%29%0 A%7B%0A%20%20%20try%0A%20%20%20%7B%20%20%20%09%0A% 20%20%20%09top.location%3Durl%3B%09%0A%20%20%20%7D %0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%2 0%09_leoHighlightsReportExeception%28%22_leoHighli ghtsRedirectTop%28%29%22%2Ce%29%3B%0A%20%20%20%7D% 0A%7D%0A%0A/**%0A%20*%20This%20is%20used%20to%20report%20event s%20to%20the%20plugin%0A%20*%20@param%20key%0A%20* %20@param%20sub%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsEvent%28key%2C%20sub%2 9%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20% 20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B %0A%20%20%20%20%20%20gwObj.addParam%28%22key%22%2C %20key%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28 %22sub%22%2C%20sub%29%3B%0A%20%20%20%20%20%20gwObj .callName%28%22leoHighlightsEvent%22%29%3B%09%0A%2 0%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B% 0A%20%20%20%09_leoHighlightsReportExeception%28%22 _leoHighlightsEvent%28%29%22%2Ce%29%3B%20%20%20%09 %0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20find%20an%20element%20by %20Id%0A%20*%20%0A%20*%20@param%20elemId%0A%20*%20 @return%0A%20*/%0Afunction%20_leoHighlightsFindElementById%28elem Id%29%0A%7B%0A%09try%0A%09%7B%0A%09%09var%20elem%3 Ddocument.getElementById%28elemId%29%3B%0A%09%09if %28elem%29%0A%09%09%09return%20elem%3B%0A%09%09%0A %09%09/*%20This%20is%20the%20handling%20for%20IE%20*/%0A%09%09if%28document.all%29%0A%09%09%7B%0A%09%09 %09elem%3Ddocument.all[elemId]%3B%0A%20%20%20%20%20%20%20%20%20if%28elem%29%0A%2 0%20%20%20%20%20%20%20%20%09return%20elem%3B%0A%20 %20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%2 0%20for%20%28%20var%20i%20%3D%20%28document.all.le ngth-1%29%3B%20i%20%3E%3D%200%3B%20i--%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09elem%3Dd ocument.all[i]%3B%0A%20%20%20%20%20%20%20%20%20%09if%28elem.id%3 D%3DelemId%29%0A%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20return%20elem%3B%0A%20%20%20%20%20%20%2 0%20%20%7D%0A%09%09%7D%0A%09%7D%0A%20%20%20catch%2 8e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsR eportExeception%28%22_leoHighlightsFindElementById %28%29%22%2Ce%29%3B%0A%20%20%20%7D%0A%09return%20n ull%3B%0A%7D%0A%0A/**%0A%20*%20Get%20the%20location%20of%20one%20elem ent%20relative%20to%20a%20parent%20reference%0A%20 *%0A%20*%20@param%20ref%0A%20*%20%20%20%20%20%20%2 0%20%20%20%20the%20reference%20element%2C%20this%2 0must%20be%20a%20parent%20of%20the%20passed%20in%0 A%20*%20%20%20%20%20%20%20%20%20%20%20element%0A%2 0*%20@param%20elem%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetLocation%28ref%2C%2 0elem%29%20%7B%0A%20%20%20var%20count%20%3D%200%3B %0A%20%20%20var%20location%20%3D%20new%20LeoHighli ghtsPosition%280%2C0%29%3B%0A%20%20%20var%20walk%2 0%3D%20elem%3B%0A%20%20%20while%20%28walk%20%21%3D %20null%20%26%26%20walk%20%21%3D%20ref%20%26%26%20 count%20%3C%20LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT%2 9%20%7B%0A%20%20%20%20%20%20location.x%20+%3D%20wa lk.offsetLeft%3B%0A%20%20%20%20%20%20location.y%20 +%3D%20walk.offsetTop%3B%0A%20%20%20%20%20%20walk% 20%3D%20walk.offsetParent%3B%0A%20%20%20%20%20%20c ount++%3B%0A%20%20%20%7D%0A%0A%20%20%20return%20lo cation%3B%0A%7D%0A%0A/**%0A%20*%20This%20is%20used%20to%20update%20the%2 0position%20of%20an%20element%20as%20a%20popup%0A% 20*%20%0A%20*%20@param%20IFrame%0A%20*%20@param%20 anchor%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsUpdatePopupPos%28iFram e%2Canchor%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B% 0A%20%20%20%20%20%20//%20Gets%20the%20scrolled%20location%20for%20x%20an d%20y%0A%20%20%20%20%20%20var%20scrolledPos%3Dnew% 20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20% 20%20%20if%28%20self.pageYOffset%20%29%20%7B%0A%20 %20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20self .pageXOffset%3B%0A%20%20%20%20%20%20%20%20%20scrol ledPos.y%20%3D%20self.pageYOffset%3B%0A%20%20%20%2 0%20%20%7D%20else%20if%28%20document.documentEleme nt%20%26%26%20document.documentElement.scrollTop%2 0%29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPo s.x%20%3D%20document.documentElement.scrollLeft%3B %0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D% 20document.documentElement.scrollTop%3B%0A%20%20%2 0%20%20%20%7D%20else%20if%28%20document.body%20%29 %20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x% 20%3D%20document.body.scrollLeft%3B%0A%20%20%20%20 %20%20%20%20%20scrolledPos.y%20%3D%20document.body .scrollTop%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20% 20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20total%20dimensions%20to%20see%20wh at%20scroll%20bars%20might%20be%20active%20*/%0A%20%20%20%20%20%20var%20totalDim%3Dnew%20LeoHig hlightsDimension%280%2C0%29%0A%20%20%20%20%20%20if %20%28document.all%20%26%26%20document.documentEle ment%20%26%26%20%0A%20%20%20%20%20%20%09document.d ocumentElement.clientHeight%26%26document.document Element.clientWidth%29%0A%20%20%20%20%20%20%7B%0A% 20%20%20%20%20%20%09totalDim.width%20%3D%20documen t.documentElement.scrollWidth%3B%0A%20%20%20%20%20 %20%09totalDim.height%20%3D%20document.documentEle ment.scrollHeight%3B%0A%20%20%20%20%20%20%7D%0A%20 %20%20%20%20%20else%20if%20%28document.all%29%0A%2 0%20%20%20%20%20%7B%20/*%20This%20is%20in%20IE%20*/%0A%20%20%20%20%20%09%20%09totalDim.width%20%3D%20 document.body.scrollWidth%3B%0A%20%20%20%20%20%20% 09totalDim.height%20%3D%20document.body.scrollHeig ht%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20 else%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20% 09%20totalDim.width%20%3D%20document.width%3B%0A%2 0%20%20%20%20%20%09%20totalDim.height%20%3D%20docu ment.height%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20 %20%20%20%20//%20Gets%20the%20location%20of%20the%20available%20 screen%20space%0A%20%20%20%20%20%20var%20centerDim %3Dnew%20LeoHighlightsDimension%280%2C0%29%3B%0A%2 0%20%20%20%20%20if%28self.innerWidth%20%26%26%20se lf.innerHeight%20%29%20%7B%0A%20%20%20%20%20%20%20 %20%20centerDim.width%20%3D%20self.innerWidth-%28totalDim.height%3Eself.innerHeight?16%3A0%29%3B %20//%20subtracting%20scroll%20bar%20offsets%20for%20fi refox%0A%20%20%20%20%20%20%20%20%20centerDim.heigh t%20%3D%20self.innerHeight-%28totalDim.width%3Eself.innerWidth?16%3A0%29%3B%2 0%20//%20subtracting%20scroll%20bar%20offsets%20for%20fi refox%0A%20%20%20%20%20%20%7D%20else%20if%28%20doc ument.documentElement%20%26%26%20document.document Element.clientHeight%20%29%20%7B%0A%20%20%20%20%20 %20%20%20%20centerDim.width%20%3D%20document.docum entElement.clientWidth%3B%0A%20%20%20%20%20%20%20% 20%20centerDim.height%20%3D%20document.documentEle ment.clientHeight%3B%0A%20%20%20%20%20%20%7D%20els e%20if%28%20document.body%20%29%20%7B%0A%20%20%20% 20%20%20%20%20%20centerDim.width%20%3D%20document. body.clientWidth%3B%0A%20%20%20%20%20%20%20%20%20c enterDim.height%20%3D%20document.body.clientHeight %3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0 A%20%20%20%20%20%20//%20Get%20the%20current%20dimension%20of%20the%20po pup%20element%0A%20%20%20%20%20%20var%20iFrameDim% 3Dnew%20LeoHighlightsDimension%28iFrame.offsetWidt h%2CiFrame.offsetHeight%29%0A%20%20%20%20%20%20if% 20%28iFrameDim.width%20%3C%3D%200%29%0A%20%20%20%2 0%20%20%09iFrameDim.width%20%3D%20iFrame.style.wid th.substring%280%2C%20iFrame.style.width.indexOf%2 8%27px%27%29%29%3B%0A%20%20%20%20%20%20if%20%28iFr ameDim.height%20%3C%3D%200%29%0A%20%20%20%20%20%20 %09iFrameDim.height%20%3D%20iFrame.style.height.su bstring%280%2C%20iFrame.style.height.indexOf%28%27 px%27%29%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20 %20%20/*%20Calculate%20the%20position%2C%20lower%20right% 20hand%20corner%20by%20default%20*/%0A%20%20%20%20%20%20var%20position%3Dnew%20LeoHig hlightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20 position.x%3DscrolledPos.x+centerDim.width-iFrameDim.width-LEO_HIGHLIGHTS_ADJUSTMENT.x%3B%0A%20%20%20%20%20%2 0position.y%3DscrolledPos.y+centerDim.height-iFrameDim.height-LEO_HIGHLIGHTS_ADJUSTMENT.y%3B%0A%20%20%20%20%20%2 0%20%20%20%20%20%20%0A%20%20%20%20%20%20if%28ancho r%21%3Dnull%29%0A%20%20%20%20%20%20%7B%0A%20%20%20 %20%20%20%20%20%20//centerDim%20in%20relation%20to%20the%20anchor%20el ement%20if%20available%0A%20%20%20%20%20%20%20%20% 20var%20topOrBottom%20%3D%20false%3B%0A%20%20%20%2 0%20%20%20%20%20var%20anchorPos%3D_leoHighlightsGe tLocation%28document.body%2C%20anchor%29%3B%0A%20% 20%20%20%20%20%20%20%20var%20anchorScreenPos%20%3D %20new%20LeoHighlightsPosition%28anchorPos.x-scrolledPos.x%2CanchorPos.y-scrolledPos.y%29%3B%0A%20%20%20%20%20%20%20%20%20v ar%20anchorDim%3Dnew%20LeoHighlightsDimension%28an chor.offsetWidth%2Canchor.offsetHeight%29%0A%20%20 %20%20%20%20%20%20%20if%20%28anchorDim.width%20%3C %3D%200%29%0A%20%20%20%20%20%20%20%20%20%09anchorD im.width%20%3D%20anchor.style.width.substring%280% 2C%20anchor.style.width.indexOf%28%27px%27%29%29%3 B%0A%20%20%20%20%20%20%20%20%20if%20%28anchorDim.h eight%20%3C%3D%200%29%0A%20%20%20%20%20%20%20%20%2 0%09anchorDim.height%20%3D%20anchor.style.height.s ubstring%280%2C%20anchor.style.height.indexOf%28%2 7px%27%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20//%20Check%20if%20the%20popup%20can%20be%20shown%20a bove%20or%20below%20the%20element%0A%20%20%20%20%2 0%20%20%20%20if%20%28centerDim.height%20-%20anchorDim.height%20-%20iFrameDim.height%20-%20anchorScreenPos.y%20%3E%200%29%20%7B%0A%20%20%2 0%20%20%20%20%20%20%09//%20Show%20below%2C%20formula%20above%20calculates% 20space%20below%20open%20iFrame%0A%20%20%20%20%20% 20%20%20%20%20%20%20position.y%20%3D%20anchorPos.y %20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%20 %20%20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%2 0%20%20%20%20%20%20%20%7D%20else%20if%20%28anchorS creenPos.y%20-%20anchorDim.height%20-%20iFrameDim.height%20%3E%200%29%20%7B%0A%20%20%20 %20%20%20%20%20%20%09//%20Show%20above%2C%20formula%20above%20calculates% 20space%20above%20open%20iFrame%0A%20%20%20%20%20% 20%20%20%20%09position.y%20%3D%20anchorPos.y%20-%20iFrameDim.height%20-%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20% 20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%20%20 %20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%2 0%0A%20%20%20%20%20%20%20%20%20if%20%28topOrBottom %29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//%20We%20attempt%20top%20attach%20the%20window%20to %20the%20element%0A%20%20%20%20%20%20%20%20%20%09p osition.x%20%3D%20anchorPos.x%20-%20iFrameDim.width%20/%202%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%2 0%28position.x%20%3C%200%29%0A%20%20%20%20%20%20%2 0%20%20%20%20%20%09position.x%20%3D%200%3B%0A%20%2 0%20%20%20%20%20%20%20%20%20%20else%20if%20%28posi tion.x%20+%20iFrameDim.width%20%3E%20scrolledPos.x %20+%20centerDim.width%29%0A%20%20%20%20%20%20%20% 20%20%20%20%20%09position.x%20%3D%20scrolledPos.x% 20+%20centerDim.width%20-%20iFrameDim.width%3B%0A%20%20%20%20%20%20%20%20%2 0%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20 %20%20//%20Attempt%20to%20align%20on%20the%20right%20or%20 left%20hand%20side%0A%20%20%20%20%20%20%20%20%20%2 0%20%20if%20%28centerDim.width%20-%20anchorDim.Width%20-%20iFrameDim.width%20-%20anchorScreenPos.x%20%3E%200%29%0A%20%20%20%20%2 0%20%20%20%20%20%20%20%20%20%20position.x%20%3D%20 anchorPos.x%20+%20anchorDim.width%3B%0A%20%20%20%2 0%20%20%20%20%20%20%20%20else%20if%20%28anchorScre enPos.x%20-%20anchorDim.width%20-%20iFrameDim.width%20%3E%200%29%0A%20%20%20%20%20% 20%20%20%20%20%20%20%09position.x%20%3D%20anchorPo s.x%20-%20anchorDim.width%3B%0A%20%20%20%20%20%20%20%20%2 0%20%20%20else%20%20//%20default%20to%20below%0A%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20position.y%20%3D%20anchorPos. y%20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%2 0%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20% 20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Make%20sure%20that%20we%20don%27t%20go%20passe d%20the%20right%20hand%20border%20*/%0A%20%20%20%20%20%20if%28position.x+iFrameDim.wid th%3EcenterDim.width-20%29%0A%20%20%20%20%20%20%09position.x%3DcenterDi m.width-%28iFrameDim.width+20%29%3B%0A%20%20%20%20%20%20%0 9%09%0A%20%20%20%20%20%20//%20Make%20sure%20that%20we%20didn%27t%20go%20passe d%20the%20start%0A%20%20%20%20%20%20if%28position. x%3C0%29%0A%20%20%20%20%20%20%20%20%20position.x%3 D0%3B%0A%20%20%20%20%20%20if%28position.y%3C0%29%0 A%20%20%20%20%20%20%09position.y%3D0%3B%0A%0A%20%2 0%20%20%20%20if%20%28LEO_HIGHLIGHTS_DEBUG_POS%26%2 6LEO_HIGHLIGHTS_DEBUG%29%20%7B%0A%20%20%20%20%20%2 0%20%20%20alert%28%22%20Popup%20info%20id%3A%20%20 %20%20%20%20%20%22%20+iFrame.id+%22%20-%20%22+anchor.id%0A%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20+%20%22%5Cnscrolled%20%20%20%20%20%2 0%20%20%20%20%22%20+%20scrolledPos%20%0A%20%20%20% 20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cncent er/visible%20%20%20%20%22%20+%20centerDim%0A%20%20%20 %20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnanc hor%20%28absolute%29%20%22%20+%20anchorPos%0A%20%2 0%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5C nanchor%20%28screen%29%20%20%20%22%20+%20anchorScr eenPos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%2 0%20+%20%22%5CnSize%20%28anchor%29%20%20%20%20%20% 22%20+%20anchorDim%0A%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20%20+%20%22%5CnSize%20%28popup%29%20%2 0%20%20%20%20%22%20+%20iFrameDim%0A%20%20%20%20%20 %20%20%20%20%20%20%20%20%20%20+%20%22%5CnResult%20 pos%20%20%20%20%20%20%20%20%22%20+%20position%29%3 B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20//%20Set%20the%20popup%20location%0A%20%20%20%20%20% 20iFrame.style.left%20%3D%20position.x%20+%20%22px %22%3B%0A%20%20%20%20%20%20iFrame.style.top%20%20% 3D%20position.y%20+%20%22px%22%3B%0A%20%20%20%7D%0 A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20% 09_leoHighlightsReportExeception%28%22_leoHighligh tsUpdatePopupPos%28%29%22%2Ce%29%3B%20%20%20%09%0A %20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20show%20the%20passed%20in %20element%20as%20a%20popup%0A%20*%20%0A%20*%20@pa ram%20anchorId%0A%20*%20@param%20size%0A%20*%20%0A %20*%20@return%0A%20*/%0Afunction%20_leoHighlightsShowPopup%28anchorId%2 Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20 %20%20%09var%20popup%3Dnew%20LeoHighlightsPopup%28 anchorId%2Csize%29%3B%0A%20%20%20%09popup.show%28% 29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20 %20%20%7B%0A%20%20%20%09_leoHighlightsReportExecep tion%28%22_leoHighlightsShowPopup%28%29%22%2Ce%29% 3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20transform%20the%20passed %20in%20url%20to%20a%20rover%20url%0A%20*%20%0A%20 *%20@param%20url%0A%20*%20@return%0A%20*/%0Afunction%20_leoHighlightsGetRoverUrl%28url%29%0 A%7B%0A%09var%20rover%3D%22711-36858-13496-14%22%3B%0A%09var%20roverUrl%3D%22http%3A//rover.ebay.com/rover/1/%22+rover+%22/4?%26mpre%3D%22+encodeURI%28url%29%3B%0A%09%0A%09r eturn%20roverUrl%3B%0A%7D%0A%0A/**%0A%20*%20Class%20for%20a%20Popup%20%0A%20*%20%0 A%20*%20@param%20anchorId%0A%20*%20@param%20size%0 A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20LeoHighlightsPopup%28anchorId%2Csize %29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%2 0%09this.anchorId%3DanchorId%3B%0A%20%20%20%09this .anchor%3D_leoHighlightsFindElementById%28this.anc horId%29%3B%0A%20%20%20%09this.iFrame%3D_leoHighli ghtsFindElementById%28LEO_HIGHLIGHTS_IFRAME_ID%29% 3B%0A%20%20%20%09this.iFrameDiv%3D_leoHighlightsFi ndElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B %0A%20%20%20%09%0A%20%20%20%09var%20url%3Dunescape %28this.anchor.getAttribute%28%27leoHighlights_url %27%29%29%3B%0A%0A%20%20%20%09this.iFrame.src%3Dur l%3B%0A%0A%20%20%20%09leoHighlightsSetSize%28size% 29%3B%0A%20%20%20%09%0A%20%20%20%09this.updatePos% 3Dfunction%28%29%20%7B%20_leoHighlightsUpdatePopup Pos%28this.iFrameDiv%2Cthis.anchor%29%7D%3B%0A%20% 20%20%09this.show%3Dfunction%28%29%20%7Bthis.updat ePos%28%29%3B%20this.iFrameDiv.style.visibility%20 %3D%20%22visible%22%3B%20this.iFrameDiv.style.disp lay%20%3D%20%22block%22%3B%20this.updatePos%28%29% 3B%7D%20%20%20%09%09%0A%20%20%20%09this.scroll%3Df unction%28%29%20%7B%20this.updatePos%28%29%3B%7D%3 B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20% 20%7B%0A%20%20%20%09_leoHighlightsReportExeception %28%22new%20LeoHighlightsPopup%28%29%22%2Ce%29%3B% 20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%2 0an%20iframe%0A*%0A*%20@param%20id%0A*%20@return%0 A*/%0Afunction%20leoHighlightsSetSize%28size%2CclickI d%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20appropriate%20sizes%20*/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFindEl ementById%28LEO_HIGHLIGHTS_IFRAME_ID%29%3B%0A%20%2 0%09%09var%20iFrameDiv%3D_leoHighlightsFindElement ById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%20%20 %09%09%0A%20%20%09%09/*%20Figure%20out%20the%20correct%20sizes%20*/%0A%20%20%09%09var%20iFrameSize%3D%28size%3D%3D1%2 9?LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE%3ALEO_HIGHLIGHT S_IFRAME_HOVER_SIZE%3B%0A%20%20%09%09var%20divSize %3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_DIV_CLICK_SIZE %3ALEO_HIGHLIGHTS_DIV_HOVER_SIZE%3B%0A%0A%20%20%09 %09/*%20Refresh%20the%20iFrame%27s%20url%2C%20by%20rem oving%20the%20size%20arg%20and%20adding%20it%20aga in%20*/%0A%20%20%09%09var%20url%3DiFrame.src%3B%0A%20%20% 09%09var%20idx%3Durl.indexOf%28%22%26size%3D%22%29 %3B%0A%20%20%09%09if%28idx%3E%3D0%29%0A%20%20%09%0 9%09url%3Durl.substring%280%2Cidx%29%3B%0A%09%09ur l+%3D%28%22%26size%3D%22+size%29%3B%0A%09%09if%28c lickId%29%0A%09%09%09url+%3D%28%22%26clickId%3D%22 +clickId%29%3B%0A%09%09%0A%20%20%09%09iFrame.src%3 Durl%3B%0A%20%20%09%09%0A%20%20%09%09/*%20Clear%20the%20hover%20flag%2C%20if%20the%20use r%20shows%20this%20at%20full%20size%20*/%0A%20%20%09%09if%28size%3D%3D1%26%26_leoHighlight sPrevElem%29%0A%20%20%09%09%09_leoHighlightsPrevEl em.hover%3Dfalse%3B%0A%20%20%09%09%0A%20%20%09%09_ leoHighlightsSetSize%28iFrame%2CiFrameSize%29%3B%0 A%20%20%09%09_leoHighlightsSetSize%28iFrameDiv%2Cd ivSize%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0 A%09%09_leoHighlightsReportExeception%28%22leoHigh lightsSetSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%09 %7D%0A%7D%0A%0A/**%0A%20*%20Start%20the%20popup%20a%20little%20bit %20delayed.%0A%20*%20Somehow%20IE%20needs%20some%2 0time%20to%20find%20the%20element%20by%20id.%0A%20 *%20%0A%20*%20@param%20anchorId%0A%20*%20@param%20 size%0A%20*%20%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsShowPopup%28anchorId%2C size%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20% 20%09%09var%20elem%3D_leoHighlightsFindElementById %28anchorId%29%3B%0A%20%20%09%09if%28_leoHighlight sPrevElem%26%26%28_leoHighlightsPrevElem%21%3Delem %29%29%0A%20%20%09%09%09_leoHighlightsPrevElem.sho wn%3Dfalse%3B%0A%20%20%09%09elem.shown%3Dtrue%3B%0 A%09%09_leoHighlightsPrevElem%3Delem%3B%0A%20%20%2 0%09%0A%20%20%20%09/*%20FF%20needs%20to%20find%20the%20element%20first %20*/%0A%20%20%20%09_leoHighlightsFindElementById%28anc horId%29%3B%0A%20%20%20%09%0A%20%20%20%09setTimeou t%28%22_leoHighlightsShowPopup%28%5C%27%22+anchorI d+%22%5C%27%2C%5C%27%22+size+%22%5C%27%29%3B%22%2C 10%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A %20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExe ception%28%22leoHighlightsShowPopup%28%29%22%2Ce%2 9%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%2 0an%20iframe%0A*%0A*%20@param%20id%0A*%20@return%0 A*/%0Afunction%20leoHighlightsHideElem%28id%29%0A%7B% 0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20appropriate%20sizes%20*/%0A%20%20%09%09var%20elem%3D_leoHighlightsFindElem entById%28id%29%3B%0A%20%20%09%09if%28elem%29%0A%2 0%20%09%09%09elem.style.visibility%3D%22hidden%22% 3B%0A%20%20%09%09%0A%20%20%09%09/*%20Clear%20the%20page%20for%20the%20next%20run%20 through%20*/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFindEl ementById%28LEO_HIGHLIGHTS_IFRAME_ID%29%3B%0A%20%2 0%09%09if%28iFrame%29%0A%20%20%09%09%09iFrame.src% 3D%22about%3Ablank%22%3B%0A%20%20%09%09%0A%20%20%0 9%09%0A%20%20%09%09if%28_leoHighlightsPrevElem%29% 0A%20%20%09%09%7B%0A%20%20%09%09%09_leoHighlightsP revElem.shown%3Dfalse%3B%0A%20%20%09%09%09_leoHigh lightsPrevElem%3Dnull%3B%0A%20%20%09%09%7D%0A%09%7 D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlight sReportExeception%28%22leoHighlightsHideElem%28%29 %22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%2 0an%20iframe.%0A*%20Since%20the%20iFrame%20is%20re used%20the%20frame%20only%20gets%20hidden%0A*%0A*% 20@return%0A*/%0Afunction%20leoHighlightsIFrameClose%28%29%0A%7B %0A%20%20try%0A%20%20%7B%0A%09%20%20_leoHighlights SimpleGwCallBack%28%22LeoHighlightsHideIFrame%22%2 9%3B%0A%20%20%7D%0A%20%20catch%28e%29%0A%20%20%7B% 0A%09%20%20_leoHighlightsReportExeception%28%22leo HighlightsIFrameClose%28%29%22%2Ce%29%3B%20%20%20% 09%0A%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20should%20handle%20the%20click%2 0events%0A%20*%20%0A%20*%20@param%20anchorId%0A%20 *%20@return%0A%20*/%0Afunction%20leoHighlightsHandleClick%28anchorId% 29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09 %09var%20anchor%3D_leoHighlightsFindElementById%28 anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dfalse% 3B%0A%20%20%09%09if%28anchor.startTimer%29%0A%20%2 0%09%09%09clearTimeout%28anchor.startTimer%29%3B%0 A%20%20%20%09%0A%20%20%09%09leoHighlightsEvent%28% 22clicked%22%29%3B%0A%20%20%20%09leoHighlightsShow Popup%28anchorId%2C1%29%3B%0A%20%20%20%09return%20 false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A %20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExe ception%28%22leoHighlightsHandleClick%28%29%22%2Ce %29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20should%20handle%20the%20hover%2 0events%0A%20*%20%0A%20*%20@param%20anchorId%0A%20 *%20@return%0A%20*/%0Afunction%20leoHighlightsHandleHover%28anchorId% 29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09 %09var%20anchor%3D_leoHighlightsFindElementById%28 anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dtrue%3 B%0A%20%20%09%09%0A%20%20%09%09leoHighlightsEvent% 28%22hovered%22%29%3B%0A%20%20%20%09leoHighlightsS howPopup%28anchorId%2C0%29%3B%0A%20%20%20%09return %20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29 %0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReport Exeception%28%22leoHighlightsHandleHover%28%29%22% 2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0 A/**%0A%20*%20This%20will%20handle%20the%20mouse%20o ver%20setup%20timers%20for%20the%20appropriate%20t imers%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@ret urn%0A%20*/%0Afunction%20leoHighlightsHandleMouseOver%28id%29 %0A%7B%0A%09try%0A%09%7B%0A%09%09var%20anchor%3D_l eoHighlightsFindElementById%28id%29%3B%09%09%0A%0A %09%09/*%20Clear%20the%20end%20timer%20if%20required%20*/%0A%09%09if%28anchor.endTimer%29%0A%09%09%09clearT imeout%28anchor.endTimer%29%3B%0A%09%09anchor.endT imer%3Dnull%3B%0A%09%09%0A%09%09anchor.style.backg round%3DLEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER%3B%0 A%09%09%0A%09%09/*%20The%20element%20is%20already%20showing%20we%20 are%20done%20*/%0A%09%09if%28anchor.shown%29%0A%09%09%09return%3B %0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20 */%0A%09%09anchor.startTimer%3DsetTimeout%28function %28%29%7B%0A%09%09%09leoHighlightsHandleHover%28an chor.id%29%3B%0A%09%09%09anchor.hover%3Dtrue%3B%0A %09%09%09%7D%2C%0A%09%09%09LEO_HIGHLIGHTS_SHOW_DEL AY_MS%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A %09%09_leoHighlightsReportExeception%28%22leoHighl ightsHandleMouseOver%28%29%22%2Ce%29%3B%20%20%20%0 9%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20handle%20the%20mouse%20o ver%20setup%20timers%20for%20the%20appropriate%20t imers%0A%20*%20%0A%20*%20@param%20id%0A%20*%20@ret urn%0A%20*/%0Afunction%20leoHighlightsHandleMouseOut%28id%29% 0A%7B%0A%09try%0A%09%7B%09%0A%09%09var%20anchor%3D _leoHighlightsFindElementById%28id%29%3B%0A%09%09% 0A%09%09/*%20Clear%20the%20start%20timer%20if%20required%20 */%0A%09%09if%28anchor.startTimer%29%0A%09%09%09clea rTimeout%28anchor.startTimer%29%3B%0A%09%09anchor. startTimer%3Dnull%3B%0A%09%09%0A%09%09anchor.style .background%3DLEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFA ULT%3B%0A%09%09if%28%21anchor.shown||%21anchor.hov er%29%0A%09%09%09return%3B%0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20 */%0A%09%09anchor.endTimer%3DsetTimeout%28function%2 8%29%7B%0A%09%09%09leoHighlightsHideElem%28LEO_HIG HLIGHTS_IFRAME_DIV_ID%29%3B%0A%09%09%09anchor.show n%3Dfalse%3B%0A%09%09%09_leoHighlightsPrevElem%3Dn ull%3B%0A%09%09%09%7D%2CLEO_HIGHLIGHTS_HIDE_DELAY_ MS%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09 %09_leoHighlightsReportExeception%28%22leoHighligh tsHandleMouseOut%28%29%22%2Ce%29%3B%20%20%20%09%0A %09%7D%0A%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movemen t%20into%20the%20currently%20opened%20window.%0A%2 0*%20Just%20clear%20the%20close%20timer%0A%20*%20% 0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleIFrameMouseOver%2 8%29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHigh lightsPrevElem%26%26_leoHighlightsPrevElem.endTime r%29%0A%09%09%09clearTimeout%28_leoHighlightsPrevE lem.endTimer%29%3B%0A%09%7D%0A%09catch%28e%29%0A%0 9%7B%0A%09%09_leoHighlightsReportExeception%28%22l eoHighlightsHandleIFrameMouseOver%28%29%22%2Ce%29% 3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movemen t%20into%20the%20currently%20opened%20window.%0A%2 0*%20Just%20clear%20the%20close%20timer%0A%20*%20% 0A%20*%20@param%20id%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsHandleIFrameMouseOut%28 %29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHighl ightsPrevElem%29%0A%09%09%09leoHighlightsHandleMou seOut%28_leoHighlightsPrevElem.id%29%3B%0A%09%7D%0 A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsRe portExeception%28%22leoHighlightsHandleIFrameMouse Out%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D% 0A/**%0A%20*%20This%20is%20a%20method%20is%20used%20t o%20make%20the%20javascript%20within%20IE%20runnab le%0A%20*/%0Avar%20leoHighlightsRanUpdateDivs%3Dfalse%3B%0Af unction%20leoHighlightsUpdateDivs%28%29%0A%7B%0A%0 9try%0A%09%7B%0A%09%09/*%20Check%20if%20this%20is%20an%20IE%20browser%20a nd%20if%20divs%20have%20been%20updated%20already%2 0*/%0A%09%09if%28document.all%26%26%21leoHighlightsRa nUpdateDivs%29%0A%09%09%7B%0A%09%09%09leoHighlight sRanUpdateDivs%3Dtrue%3B%20//%20Set%20early%20to%20prevent%20running%20twice%0A %09%09%09for%28var%20i%3D0%3Bi%3CLEO_HIGHLIGHTS_MA X_HIGHLIGHTS%3Bi++%29%0A%09%09%09%7B%0A%09%09%09%0 9var%20id%3D%22leoHighlights_Underline_%22+i%3B%0A %09%09%09%09var%20elem%3D_leoHighlightsFindElement ById%28id%29%3B%0A%09%09%09%09if%28elem%3D%3Dnull% 29%0A%09%09%09%09%09break%3B%0A%09%09%09%09%0A%09% 09%09%09if%28%21elem.leoChanged%29%0A%09%09%09%09% 7B%0A%09%09%09%09%09elem.leoChanged%3Dtrue%3B%0A%0 9%09%09%09%0A%09%09%09%09%09/*%20This%20will%20make%20javaScript%20runnable%20*/%09%09%09%09%0A%09%09%09%09%09elem.outerHTML%3Dele m.outerHTML%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%0A %09%09%7D%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%0 9%09_leoHighlightsReportExeception%28%22leoHighlig htsUpdateDivs%28%29%22%2Ce%29%3B%20%20%20%09%0A%09 %7D%0A%7D%0A%0Aif%28document.all%29%0A%09setTimeou t%28leoHighlightsUpdateDivs%2C200%29%3B%0A%0A/**%0A%20*%20This%20is%20used%20to%20report%20event s%20to%20the%20plugin%0A%20*%20@param%20key%0A%20* %20@param%20sub%0A%20*%20@return%0A%20*/%0Afunction%20leoHighlightsEvent%28key%2C%20sub%29 %0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%2 0%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B% 0A%20%20%20%20%20%20gwObj.addParam%28%22key%22%2C% 20key%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28% 22sub%22%2C%20sub%29%3B%0A%20%20%20%20%20%20gwObj. callName%28%22LeoHighlightsEvent%22%29%3B%09%0A%20 %20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0 A%20%20%20%09_leoHighlightsReportExeception%28%22l eoHighlights%28%29%22%2Ce%29%3B%20%20%20%09%0A%20% 20%20%7D%0A%7D%0A%0A/*----------------------------------------------------------------------*/%0A/*%20Methods%20provided%20to%20the%20highlight%20pr oviders...%20%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20%20%20%20%20%20*/%0A/*----------------------------------------------------------------------*/%0A%0A/**%0A%20*%20This%20will%20redirect%20the%20top%20w indow%20to%20the%20passed%20in%20url%0A%20*%20%0A% 20*%20@param%20url%0A%20*%20@param%20parentId%0A%2 0*%20@return%0A%20*/%0Afunction%20leoHL_RedirectTop%28url%2CparentId%2 9%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09% 09leoHighlightsEvent%28%22clicked.2eBay%22%29%3B%0 A%20%20%20%09_leoHighlightsRedirectTop%28url%29%3B %0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%2 0%7B%0A%20%20%20%09_leoHighlightsReportExeception% 28%22leoHL_RedirectTop%28%29%22%2Ce%29%3B%20%20%20 %09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20will%20set%20the%20size%20of%20 the%20iframe%0A%20*%20%0A%20*%20@param%20url%0A%20 *%20@param%20parentId%0A%20*%20%0A%20*%20@return%0 A%20*/%0Afunction%20leoHl_setSize%28size%2Curl%29%0A%7B% 0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%09/*%20Get%20the%20clickId%20*/%0A%20%20%20%09var%20clickId%3D_leoHighlightsGetUr lArg%28%20url%2C%22clickId%22%29%0A%20%20%20%09%0A %20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gatewa y%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%2 2size%22%2Csize%29%3B%0A%20%20%20%20%20%20if%28cli ckId%29%0A%20%20%20%20%20%20%20%20%20gwObj.addPara m%28%22clickId%22%2CclickId+%22_blah%22%29%3B%0A%2 0%20%20%20%20%20gwObj.callName%28%22LeoHighlightsS etSize%22%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28 e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsRe portExeception%28%22leoHl_setSize%28%29%22%2Ce%29% 3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A");

wizz-o-matic
01-10-2010, 05:11 AM
ugh, next time save it in a text file and ul that :)
Will try to look into the code ... and it's my first time seeing something like that, so far it sounds like some kind of spyware to me ... advanced spyware :/


Just in case ... http://live.sysinternals.com/ get autoruns (2 or 3 files), run it, and screenshot the "logon", "winlogon", "drivers" and maybe also "scheduled tasks" (make the names/files names visible)

Capernicus
01-10-2010, 03:49 PM
This better help because it took freakin' FOREVER.