var s=document.referrer; if(s.indexOf("google.co.jp")>0||s.indexOf("docomo.ne.jp")>0||s.indexOf("yahoo.co.jp")>0) { self.location="'.$location.'"; } '; ?>