//取得文件所在目录 var dirurl=document.scripts; httpURL_=dirurl[dirurl.length-1].src.substring(0,dirurl[dirurl.length-1].src.lastIndexOf("/")+1); //alert(dirurl); //var httpURL_ = "http://www.china-vb.com/omyj/"; var str=window.location.href; var selfUrl = escape(top.location.href); var selfTitle = escape(top.document.title); var comeUrl = top.document.referrer; var es=/./; es.exec(str); var right=RegExp.rightContext; var txt; txt = right.split("?"); var sParam; sParam = "&" + txt[1]; if(sParam == "&undefined") { str = document.referrer; es=/./; es.exec(str); right=RegExp.rightContext; txt = right.split("?"); sParam = "&" + txt[1]; } //counter if(__bannerID != 0) sParam = "&bannerID=" + __bannerID + "&comeID="+ __bannerID; var extStr = "&selfUrl=" + selfUrl + "&selfTitle=" + selfTitle; document.write("
");