(typeof(ET) != 'undefined') || (ET = {}); ET.Community = ET.Community || {}; ET.Community.ShareThis = ET.Community.ShareThis || {}; ET.Community.ShareThis = { Config: { MarketCode: 'cn', SingleCacheServer: 'http://cns1.ef-cdn.com' }, htmlTemplate: '
', Load: function () { var jsFileMergeHandler = '/community/_Scripts/ShareJs.aspx?ctr=cn'; var cssFileMergeHandler = 'http://cns1.ef-cdn.com/community/_Styles/social/social_share.min.css'; var cssLink = document.createElement('link'); with(cssLink) { href = cssFileMergeHandler; rel = 'stylesheet'; type = 'text/css'; }; if (navigator.appName == 'Microsoft Internet Explorer') { if (parseInt(navigator.appVersion.replace(/.*?MSIE\s([\d\.]+).*/ig,"$1")) <= 6) { document.execCommand("BackgroundImageCache", false, true); } } document.getElementsByTagName('head')[0].appendChild(cssLink); document.write(ET.Community.ShareThis.htmlTemplate); ET.Community.ShareThis.UseJiaThis(); }, UseJiaThis: function() { if (jQuery('.jiathis:empty').share) { jQuery('.jiathis:empty').share({ sharingUrl: 'http://www.englishlive.cn/community/quiz/58.html', sharingTitle: '#我刚在Englishtown英语社区发现了好东东,立马就想与你分享一下哈。#世界杯常识(1)' }); } else { setTimeout('ET.Community.ShareThis.UseJiaThis();', 1000); } if (jQuery) { jQuery(function () { if (typeof(jiathis_config) == 'undefined') { window.jiathis_config = { sm: "qzone,tsina,msn,tqq,renren,kaixin001,t163,tsohu,xiaoyou,tieba,taobao,baidu", siteNum: 12, siteName: '分享到...', hideMore: true, hsf: false, leftLink: { url: '#', name: ' ' }, rightLink: { url: '/', name: '查看更多...' }, data_track_clickback: true, title: '#我刚在Englishtown英语社区发现了好东东,立马就想与你分享一下哈。#世界杯常识(1)', url: 'http://www.englishlive.cn/community/quiz/58.html' }; } if (typeof(JIATHIS_CONFIGS) == 'undefined') { document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src', '//v2.jiathis.com/code/jia.js?uid=899824'); } }); } }, UseCommonShare: function() { if (typeof(shareArray) != 'undefined') { window.switchTo5x = true; document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src', '//w.sharethis.com/button/buttons.js'); } else { setTimeout('ET.Community.ShareThis.UseCommonShare();', 1000); } }, UseCommonShareLoop: function() { if (typeof(stLight) != 'undefined') { stLight.options({ publisher: '15a855bd-c320-41ca-a4b6-ca3ea3e93cdc', embeds: 'true' }); var title = '#我刚在Englishtown英语社区发现了好东东,立马就想与你分享一下哈。#世界杯常识(1)'; var url = 'http://www.englishlive.cn/community/quiz/58.html'; jQuery(".share-container > span").each(function () { jQuery(this).attr({ st_url: url, st_title: title }); }); } else { setTimeout('ET.Community.ShareThis.UseCommonShareLoop();', 1000); } } }; ET.Community.ShareThis.Load();