in 2 posts, 2 voices
case 'imagearn.com': img = xPH('//*[@id="img"]'); break;
Cheers!
It's already in the script. BTW my code is better, use getElementById which is faster then xPath