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