(typeof(ET) != 'undefined') || (ET = {}); ET.Community = ET.Community || {}; ET.Community.ShareThis = ET.Community.ShareThis || {}; ET.Community.ShareThis = { Config: { MarketCode: 'cn', SingleCacheServer: 'http://cns2.ef-cdn.com' }, htmlTemplate: '
', Load: function () { var jsFileMergeHandler = '/community/_Scripts/ShareJs.aspx?ctr=cn'; var cssFileMergeHandler = 'http://cns2.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/article/halloween.html', sharingTitle: '#我刚在Englishtown英语社区发现了好东东,立马就想与你分享一下哈。#你知道万圣节的英语是什么吗?' }); } 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英语社区发现了好东东,立马就想与你分享一下哈。#你知道万圣节的英语是什么吗?', url: 'http://www.englishlive.cn/community/article/halloween.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英语社区发现了好东东,立马就想与你分享一下哈。#你知道万圣节的英语是什么吗?'; var url = 'http://www.englishlive.cn/community/article/halloween.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();