document.write(this.location.href.replace(/\?resultof.*$/i, ''));