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