1var href=window.location.href.toString(); 2var fb_app_id="1419128435051478"; 3function linkedin2_click(b){ 4 var c=$(b); 5 var a={ 6 url:c.attr("data-returnURL"), 7 mini:true, 8 title:c.attr("data-title"), 9 summary:c.attr("data-description") 10 }; 11 _gaq.push(["_trackEvent","share","linkedin",href]); 12 window.open("https://www.linkedin.com/shareArticle?"+$.param(a)); 13 return false; 14} 15 16function fbs_click(){ 17 _gaq.push(["_trackEvent","share","fbsahre",href]); 18 window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(href)+"","sharer","toolbar=0,status=0,width=626,height=436"); 19 return false; 20} 21 22function fbf_click(c,b,a,e,f,g){ 23 _gaq.push(["_trackEvent","share","fbfeed",href]); 24 var d="http://www.facebook.com/dialog/feed?app_id="+c; 25 d+="&name="+b; 26 d+="&caption="+a; 27 d+="&description="+e; 28 d+="&picture="+f; 29 d+="&link="+encodeURIComponent(href)+"&redirect_uri="+encodeURIComponent(g)+""; 30 window.open(d,"sharer","toolbar=0,status=0,top=50,left=50,width=980,height=530"); 31 return false; 32} 33function fbf2_click(c){ 34 var b=$(c).attr("data-title"); 35 var a=encodeURIComponent($(c).attr("data-href")); 36 var e=$(c).attr("data-description");var f=$(c).attr("data-image"); 37 var g=$(c).attr("data-returnURL"); 38 var d="http://www.facebook.com/dialog/feed?app_id="+fb_app_id; 39 d+="&name="+b; 40 d+="&caption="+a; 41 d+="&description="+e; 42 if (typeof(f)!='undefined') d+="&picture="+f; 43 d+="&link="+encodeURIComponent($(c).attr("data-href"))+"&redirect_uri="+encodeURIComponent(g)+""; 44 window.open(d,"sharer","toolbar=0,status=0,top=50,left=50,width=980,height=530"); 45 return false; 46} 47 48function tweet(){ 49 _gaq.push(["_trackEvent","share","twitter",href]); 50 window.open("http://twitter.com/share?url="+encodeURIComponent(href)+"&text="+encodeURIComponent(document.title), 51 "sharer","toolbar=0,status=0,width=626,height=436"); 52 return false; 53} 54 55function tweet2(b){var a=$(b).attr("data-title"); 56 _gaq.push(["_trackEvent","share","twitter",$(b).attr("href")]); 57 window.open("http://twitter.com/share?url="+encodeURIComponent($(b).attr("href"))+"&text="+encodeURIComponent(a),"sharer","toolbar=0,status=0,width=626,height=436"); 58 return false; 59} 60 61function qqZone2_click(b){ 62 var c=$(b); 63 var a={ 64 url:c.attr("data-returnURL"),desc:c.attr("data-description"),summary:c.attr("data-summary"),title:c.attr("data-title") 65 }; 66 window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?"+$.param(a)); 67 return false; 68} 69 70function tqq_click(d,c,e,b,a,f){ 71 _gaq.push(["_trackEvent","share","tqq",href]); 72 window.open("http://share.v.t.qq.com/index.php?c=share&a=index&url="+encodeURIComponent(href)+"&url="+encodeURIComponent(d)+"&pic="+encodeURIComponent(c)+"&title="+encodeURIComponent(e)+"&line1="+encodeURIComponent(b)+"&line2="+encodeURIComponent(a)+"&line3="+encodeURIComponent(f),"sharer","toolbar=0,status=0,width=626,height=436"); 73 return false; 74} 75 76function tqq2_click(c){ 77 var b=$(c).attr("data-href"); 78 var e=$(c).attr("data-title"); 79 var d=$(c).attr("data-description"); 80 var a=$(c).attr("data-image"); 81 window.open("http://connect.qq.com/widget/shareqq/index.html?url="+encodeURIComponent(b)+"&pic="+encodeURIComponent(a)+"&summary="+encodeURIComponent(d)+"&desc="+encodeURIComponent(d)+"&title="+encodeURIComponent(e)+"&site="+encodeURIComponent(b),"sharer","toolbar=0,status=0,width=950,height=600"); 82 return false; 83} 84 85function sina_click(){ 86 _gaq.push(["_trackEvent","share","sina",href]); 87 window.open("http://v.t.sina.com.cn/share/share.php?url="+encodeURIComponent(href)+"&text="+encodeURIComponent(document.title),"sharer","toolbar=0,status=0,width=626,height=436"); 88 return false; 89} 90 91function sina2_click(b){ 92 var a=$(b).attr("data-href"); 93 var d=$(b).attr("data-title"); 94 var c=$(b).attr("data-description"); 95 window.open("http://v.t.sina.com.cn/share/share.php?url="+encodeURIComponent(a)+"&title="+encodeURIComponent(d)+"&content="+encodeURIComponent(c),"sharer","toolbar=0,status=0,width=950,height=600"); 96 return false; 97} 98 99function renren_click(b,d,c){ 100 _gaq.push(["_trackEvent","share","renren",href]); 101 var a={ 102 resourceUrl:encodeURIComponent(href),srcUrl:encodeURIComponent(href),pic:b,title:d,description:c 103 }; 104 rrShareOnclick(a); 105 return false; 106} 107 108function renren2_click(d){ 109 var c=$(d).attr("href"); 110 var f=$(d).attr("data-title");
111 var e=$(d).attr("data-description"); 112 var b=$(d).attr("data-image"); 113 _gaq.push(["_trackEvent","share","renren",c]); 114 var a={ 115 resourceUrl:encodeURIComponent(c), 116 srcUrl:encodeURIComponent(c), 117 pic:b, 118 title:f, 119 description:e 120 }; 121 rrShareOnclick(a); 122 return false; 123} 124 125function kaixin_click(b,f,e){ 126 _gaq.push(["_trackEvent","share","kaixin",href]); 127 var d={ 128 url:href, 129 content:e, 130 pic:b, 131 starid:0, 132 aid:0, 133 showcount:0, 134 style:11 135 }; 136 var a=[]; 137 for(var c in d){a.push(c+"="+encodeURIComponent(d[c]||""))}window.open("http://www.kaixin001.com/rest/records.php?"+a.join("&"),"sharer","toolbar=0,status=0,width=626,height=436"); 138 return false 139} 140 141function kaixin2_click(d){ 142 var c=$(d).attr("href"); 143 var h=$(d).attr("data-title"); 144 var g=$(d).attr("data-description"); 145 var b=$(d).attr("data-image"); 146 _gaq.push(["_trackEvent","share","kaixin",c]); 147 var f={url:c,content:g,pic:b,starid:0,aid:0,showcount:0,style:11}; 148 var a=[]; 149 for(var e in f){a.push(e+"="+encodeURIComponent(f[e]||""))}window.open("http://www.kaixin001.com/rest/records.php?"+a.join("&"),"sharer","toolbar=0,status=0,width=626,height=436"); 150 return false; 151} 152 153function add2favour(c){ 154 var b=jaaulde.utils.cookies.get("favourList"); 155 if(b==null||b.indexOf("#"+c+",")==-1){ 156 if(b==null){b="#"+c+"," 157 }else{ 158 b=b+"#"+c+"," 159 } 160 var a=new Date(); 161 a.setFullYear(new Date().getFullYear()+1);jaaulde.utils.cookies.set("favourList",b,{expiresAt:a}); 162 return true; 163 } 164 return false; 165} 166 167function removefavour(d){ 168 var c=""; 169 var b=String(jaaulde.utils.cookies.get("favourList")); 170 if(String(d).match(/^#\d{1,}/gi)){ 171 var a=new Date(); 172 a.setFullYear(new Date().getFullYear()+1); 173 jaaulde.utils.cookies.set("favourList",b.replace(d+",",""),{expiresAt:a}) 174 }else{ 175 c="id format error"; 176 } 177 return c; 178} 179 180function view(a){ 181 $.ajax({url:"/logivew.php?id="+a}) 182} 183 184function simpleAlert(b){ 185 var a=new SimpleModal({btn_ok:"OK"}); 186 a.show({ 187 title:"Fintv", 188 contents:b 189 }); 190} 191 192function wechat_share(a,b){ 193 console.log(a,b) 194 var weixin_env = navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == "micromessenger" 195 if(typeof(b) == 'undefined') return weixin_env ? wechatShare() : $(a).popover("toggle"); 196 if(weixin_env) return location.href = b + '#share'; 197 $(a).parents('.popover').animate({left:'-=80',top:'-=80'},150); 198 $(a).parents('.popover').animate({left:'-=80',top:'-=80'},150); 199 var c = $(a).parent('div').find('.wechat_qr').fadeIn(800); 200 var tg = $(c).children('div'); 201 if(tg.value == undefined){ 202 tg.value='.'; 203 jQuery(tg).qrcode({ 204 width: 150, 205 height: 150, 206 text: b 207 }); 208 } 209 $(a).prop('onclick',null).off('click'); 210 return false; 211} 212 213function sns_handler_mouseover(b){ 214 var a=$("body").width(); 215 if(a>680){ 216 $(this).find(".socialWrapper").css("visibility","visible") 217 } 218} 219 220function sns_handler_mouseout(b){ 221 var a=$("body").width(); 222 if(a>680){$(this).find(".socialWrapper").css("visibility","hidden"); 223 $(this).find(".socialWrapper .wechat_qr").hide()} 224} 225 226function reattachSNSHoverEvent(){$(".newsWrapper, .news_item, #stock_news").off().mouseover(sns_handler_mouseover).mouseout(sns_handler_mouseout);$("#three_block_area .block").off().mouseover(sns_handler_mouseover).mouseout(sns_handler_mouseout);$(".currentHomeItemCol .title").parent().off().mouseover(sns_handler_mouseover).mouseout(sns_handler_mouseout)}$(document).ready(function(){reattachSNSHoverEvent();$(window).resize(function(){var a=$("body").width();if(a<=680){$(this).find(".socialWrapper").removeAttr("style")}});$(".currentHomeItemCol .otherMessage .wechat_qr").css({position:"absolute",width:"250px",left:"-210px"});$("#three_block_area .block .wechat_qr").css({position:"absolute",width:"250px"})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.