$(function(){ var oKf=new DoKf(1,"2077671319","0512-68027076","13814877734",""); var goTarget={u:"",q:""}; function fFastBuy(iAuto){ if((""==goTarget.u) || (typeof(WebSocket)=="undefined")){ var sUrl="//tr.cg160.cn/?pg=Message&ft=1&fto=4202696&fid=&wxid="+goTarget.q+"&fname="+escape($(document).attr("title"))+"&url="+escape(window.location.href.substr(0,500)); layer.open({type:2,title:"我要采购",area:['610px','440px'],fixed:false,content:sUrl}); return; } } $("body").on("click", ".FastBuy", function(){fFastBuy(0);}); var hm=document.createElement("script"); var js="//tr.cg160.cn/index.aspx?act=b&i=&t=4202696&n=3&u="; js=js+escape(window.location.href.substr(0,512))+"&a="+escape(navigator.userAgent.substr(0,512))+"&r="+escape(document.referrer.substr(0,512)); hm.src=js; var s=document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); });