Bug 901821 - Use correct doc when handling clicks in error pages. r=mfinkle