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