$(function(){ var oKf=new DoKf(1,"2754067847","0592-2529380","13600926405",""); var goTarget={u:"",q:""}; function fFastBuy(iAuto){ if((""==goTarget.u) || (typeof(WebSocket)=="undefined")){ var sUrl="//tr.cg160.cn/?pg=Message&ft=1&fto=783912&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=783912&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); });