PageSourceSearch

https://apricode.co.il/wp-content/plugins/super-socializer/js/front/combined.js?ver=7.8.21

js apricode.co.il collected 2026-10-09 03:55:09 UTC 50,174 bytes, 862 lines download raw bytes

1theChampFBKey = typeof theChampFBKey != 'undefined' ? theChampFBKey : '', theChampFBLang = typeof theChampFBLang != 'undefined' ? theChampFBLang : 'en_US', theChampFbIosLogin = typeof theChampFbIosLogin != 'undefined' ? theChampFbIosLogin : 0;
2// general.js
3function theChampPopup(e){window.open(e,"popUpWindow","height=400,width=600,left=400,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes")}function theChampStrReplace(e,t,n){for(var r=0;r<e.length;r++){n=n.replace(new RegExp(e[r],"g"),t[r])}return n}function theChampCallAjax(e){if(typeof jQuery!="undefined"){e()}else{theChampGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}function theChampGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}function theChampGetElementsByClass(e,t){if(e.getElementsByClassName){return e.getElementsByClassName(t)}else{return function(e,t){if(t==null){t=document}var n=[],r=t.getElementsByTagName("*"),i=r.length,s=new RegExp("(^|\\s)"+e+"(\\s|$)"),o,u;for(o=0,u=0;o<i;o++){if(s.test(r[o].className)){n[u]=r[o];u++}}return n}(t,e)}}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}
4function heateorSsBrowserMsg(){var a=document.createElement("div");a.innerHTML='<button id="heateor_ss_browser_msg_close" class="close-button separated"><img src="'+theChampCloseIconPath+'" /></button><div id="the_champ_sharing_more_content"><div class="all-services" style="padding:20px 10px 0px 10px;height:auto;"><p>'+heateorSsSDKBlockedMsg+"</p></div></div>",a.setAttribute("id","the_champ_sharing_more_providers"),a.setAttribute("style","height:auto;");var b=document.createElement("div");b.setAttribute("id","heateor_ss_browser_popup_bg"),jQuery("body").append(a).append(b),document.getElementById("heateor_ss_browser_popup_bg").onclick=document.getElementById("heateor_ss_browser_msg_close").onclick=function(){a.parentNode.removeChild(a),b.parentNode.removeChild(b)}}
5"undefined"!=typeof heateorSsSDKBlockedMsg&&jQuery(function(){"shown"!=localStorage.getItem("heateorSsBrowserMsg")&&(jQuery("<img/>").attr("src","//apps.facebook.com/favicon.ico").error(function(){heateorSsBrowserMsg()}).css("display","none").appendTo(document.body),localStorage.setItem("heateorSsBrowserMsg","shown"))});
6function heateorSsLJLoginPopup(){var a=document.createElement("div");a.innerHTML='<button id="heateor_ss_lj_popup_close" class="close-button separated"><img src="'+theChampCloseIconPath+'" /></button><div id="the_champ_sharing_more_content"><div class="all-services" style="padding:20px 10px 0px 10px;height:auto;"><fieldset id="ss_openid"><legend>LiveJournal Login</legend><form action="'+theChampLJAuthUrl+'" method="post" onsubmit="this.login.disabled=true;"><input type="hidden" name="openid_action" value="SuperSocializerLogin"><div style="clear:both">'+theChampLJLoginUsernameString+'</div><div style="clear:both"><input type="text" name="openid_url" required class="openid_login"><input type="submit" name="login" value="Login"></div></form></fieldset></div></div></div>',a.setAttribute("id","the_champ_sharing_more_providers"),a.setAttribute("style","height:auto;");var b=document.createElement("div");b.setAttribute("id","heateor_ss_lj_popup_bg"),jQuery("body").append(a).append(b),document.getElementById("heateor_ss_lj_popup_bg").onclick=document.getElementById("heateor_ss_lj_popup_close").onclick=function(){a.parentNode.removeChild(a),b.parentNode.removeChild(b)}}
7if(typeof theChampLinkingRedirection=="undefined"){var theChampLinkingRedirection='';}
8// common.js
9function theChampLoadingIcon(){jQuery(".the_champ_login_container").html('<img id="the_champ_loading_image" src="'+theChampLoadingImgPath+'" />')}function theChampAjaxUserAuth(e,t){theChampLoadingIcon(),jQuery.ajax({type:"POST",dataType:"json",url:theChampAjaxUrl,data:{action:"the_champ_user_auth",profileData:e,provider:t,redirectionUrl:theChampTwitterRedirect?theChampTwitterRedirect:""},success:function(e){var t=theChampSiteUrl;if(1==e.status)t="register"==e.message?e.url&&""!=e.url?e.url:theChampRegRedirectionUrl+(theChampCommentFormLogin?"/#commentform":""):"linked"==e.message?theChampLinkingRedirection+"?linked=1":e.url&&""!=e.url?e.url:theChampRedirectionUrl+(theChampCommentFormLogin?"/#commentform":"");else if(null!==e.message.match(/ask/)){var a=e.message.split("|");t=theChampSiteUrl+"?SuperSocializerEmail=1&par="+a[1]}else 0==e.status&&"registration disabled"==e.message?t="undefined"!=typeof theChampDisableRegRedirect?theChampDisableRegRedirect:decodeURIComponent(theChampTwitterRedirect):"unverified"==e.message?t=theChampSiteUrl+"?SuperSocializerUnverified=1":"not linked"==e.message?t=theChampLinkingRedirection+"?linked=0":"provider exists"==e.message&&(t=theChampLinkingRedirection+"?linked=2");location.href=t},error:function(){location.href=decodeURIComponent(theChampRedirectionUrl)}})}
10function theChampInitiateLogin(a){var b=a.getAttribute("alt");if("Login with Facebook"==b)navigator.userAgent.match("CriOS")?location.href="https://www.facebook.com/dialog/oauth?client_id="+theChampFBKey+"&redirect_uri="+theChampRedirectionUrl+"&scope="+theChampFacebookScope:theChampAuthUserFB();else if("Login with Twitch"==b)theChampPopup(theChampTwitchAuthUrl);else if("Login with LiveJournal"==b)heateorSsLJLoginPopup();else if("Login with Steam"==b)theChampPopup(theChampSteamAuthUrl);else if("Login with Twitter"==b)theChampPopup(theChampTwitterAuthUrl);else if("Login with Xing"==b)theChampPopup(theChampXingAuthUrl);else{if("Login with Linkedin"==b)return IN.User.authorize(),!1;"Login with Google"==b?theChampInitializeGPLogin():"Login with Vkontakte"==b?theChampInitializeVKLogin():"Login with Instagram"==b&&theChampInitializeInstaLogin()}}
11function theChampDisplayLoginIcon(e,t){if("undefined"!=typeof jQuery)for(var a=0;a<t.length;a++)jQuery("."+t[a]).css("display","block");else for(var a=0;a<t.length;a++)for(var i=theChampGetElementsByClass(e,t[a]),h=0;h<i.length;h++)i[h].style.display="block"}function theChampValidateEmail(e){var t=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)}function the_champ_save_email(e){var t=document.getElementById("the_champ_email").value.trim(),a=document.getElementById("the_champ_confirm_email").value.trim();return"save"!=e.id||theChampValidateEmail(t)?t!=a?(document.getElementById("the_champ_error").innerHTML="Email addresses do not match",void jQuery("#TB_ajaxContent").css("height","auto")):void theChampCallAjax(function(){theChampSaveEmail(e.id,t)}
11):(document.getElementById("the_champ_error").innerHTML=theChampEmailPopupErrorMsg,void jQuery("#TB_ajaxContent").css("height","auto"))}function theChampSaveEmail(e,t){document.getElementById("the_champ_error").innerHTML='<img src="'+theChampLoadingImgPath+'" />',jQuery.ajax({type:"POST",dataType:"json",url:theChampAjaxUrl,data:{action:"the_champ_save_email",elemId:e,email:t,id:theChampEmailPopupUniqueId},success:function(e){window.history.pushState({html:"html",pageTitle:"page title"},"","?done=1"),1==e.status&&e.message.response&&"success"==e.message.response?location.href=e.message.url:1==e.status&&"success"==e.message?location.href=theChampRegRedirectionUrl:1==e.status&&"cancelled"==e.message?tb_remove():1==e.status&&"verify"==e.message?document.getElementById("TB_ajaxContent").innerHTML="<strong>"+theChampEmailPopupVerifyMessage+"</strong>":0==e.status&&(document.getElementById("the_champ_error").innerHTML=e.message,jQuery("#TB_ajaxContent").css("height","auto"))},error:function(){location.href=decodeURIComponent(theChampRedirectionUrl)}})}function theChampCapitaliseFirstLetter2(e){return e.charAt(0).toUpperCase()+e.slice(1)}theChampVerified&&theChampLoadEvent(function(){tb_show(theChampPopupTitle,theChampAjaxUrl)}),theChampEmailPopup&&theChampLoadEvent(function(){tb_show(theChampEmailPopupTitle,theChampEmailAjaxUrl)});var theChampCommentFormLogin=!1;
12// Google.js
13function theChampGoogleOnLoad(){theChampDisplayLoginIcon(document,["theChampGoogleButton","theChampGoogleLogin"])}function theChampInitializeGPLogin(){gapi.auth.signIn({callback:theChampGPSignInCallback,clientid:theChampGoogleKey,cookiepolicy:"single_host_origin",scope:"profile email"})}function theChampGPSignInCallback(a){a.status.signed_in&&"PROMPT"==a.status.method?gapi.client.load("plus","v1",function(){a.access_token?theChampGetProfile():""}):""}function theChampGetProfile(){theChampLoadingIcon();var a=gapi.client.plus.people.get({userId:"me"});a.execute(function(a){return a.error?void("Access Not Configured. Please use Google Developers Console to activate the API for your project."==a.message&&(alert(theChampGoogleErrorMessage),window.open("http://support.heateor.com/how-to-get-google-plus-client-id/"))):void(a.id&&theChampCallAjax(function(){if(heateorMSEnabled == 1){a.mc_subscribe = 1;}theChampAjaxUserAuth(a,"google")}))})}!function(){var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://apis.google.com/js/client:platform.js?onload=theChampGoogleOnLoad";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}();
14// linkedin.js
15function theChampLinkedInOnLoad(){theChampDisplayLoginIcon(document,["theChampLinkedinButton", "theChampLinkedinLogin"])}typeof IN!="undefined"&&IN.Event.on(IN,"auth",function(){theChampLoadingIcon();IN.API.Profile("me").fields(["email-address","id","picture-urls::(original)","first-name","last-name","headline","picture-url","public-profile-url","num-connections"]).result(function(e){if(e.values[0].id&&e.values[0].id!=""){theChampCallAjax(function(){if(heateorMSEnabled == 1){e.values[0].mc_subscribe = 1;}theChampAjaxUserAuth(e.values[0],"linkedin")})}})})
16// vkontakte.js
17function theChampInitializeVKLogin(){VK.Auth.login(function(t){t.session.mid&&VK.Api.call("getProfiles",{uids:t.session.mid,fields:"uid, first_name, last_name, nickname, photo, photo_big"},function(t){t.response[0].uid&&theChampCallAjax(function(){if(heateorMSEnabled == 1){t.response[0].mc_subscribe = 1;}theChampAjaxUserAuth(t.response[0],"vkontakte")})})})}if(typeof theChampVkKey!="undefined"){window.vkAsyncInit=function(){VK.init({apiId:theChampVkKey}),theChampDisplayLoginIcon(document,["theChampVkontakteButton","theChampVkontakteLogin"])},setTimeout(function(){var t=document.getElementsByTagName("head")[0],e=document.createElement("script");e.type="text/javascript",e.src="//vk.com/js/api/openapi.js",e.async=!0,t.appendChild(e)},0);}
18// instagram.js
19function theChampInitializeInstaLogin(){var e=typeof theChampLinkingRedirection!="undefined"&&theChampLinkingRedirection!=""?theChampLinkingRedirection:theChampTwitterRedirect;theChampPopup("https://instagram.com/oauth/authorize/?client_id="+theChampInstaId+"&redirect_uri="+encodeURI(theChampSiteUrl+"?ssredirect="+e)+"&response_type=token")}function theChampGetHashValue(e){if(typeof e!=="string"){e=""}else{e=e.toLowerCase()}var t=location.hash.toLowerCase().match(new RegExp(e+"=([^&]*)"));var n="";if(t){n=t[1]}return n}function theChampGetParameterByName(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)"),n=t.exec(location.search);return n===null?"":decodeURIComponent(n[1].replace(/\+/g," "))}var theChampInstagramHash=theChampGetHashValue("access_token");if(theChampInstagramHash!=""){var redirection = theChampGetParameterByName("ssredirect");redirection = redirection + (window.opener.heateorMSEnabled == 1 ? (redirection.indexOf('?') >= 0 ? '&' : '?') + "heateorMSEnabled=1" : '');window.opener.location.href=theChampSiteUrl+"?SuperSocializerInstaToken="+theChampInstagramHash+"&super_socializer_redirect_to="
19+(redirection?redirection:theChampTwitterRedirect);window.close()}
20// sdk.js
21function theChampInitiateFB(){FB.init({appId:theChampFBKey,channelUrl:"//"+theChampSiteUrl+"/channel.html",status:!0,cookie:!0,xfbml:!0,version:"v2.8"})}window.fbAsyncInit = function() {
22        theChampInitiateFB(), theChampFbIosLogin && theChampAuthUserFB(), "function" == typeof theChampDisplayLoginIcon && theChampDisplayLoginIcon(document, ["theChampFacebookButton", "theChampFacebookLogin"]), ((typeof theChampCommentNotification != 'undefined' && theChampCommentNotification == 1) || (typeof theChampHeateorFcmRecentComments != 'undefined' && theChampHeateorFcmRecentComments == 1)) && FB.Event.subscribe("comment.create", function(e) {
23            if(typeof e.commentID != 'undefined' && e.commentID){
24            	if(typeof theChampCommentNotification != 'undefined' && theChampCommentNotification == 1){
25            		jQuery.ajax({
26		                type: "POST",
27		                dataType: "json",
28		                url: theChampSiteUrl + "/index.php",
29		                data: {
30		                    action: "the_champ_moderate_fb_comments",
31		                    data: e
32		                },
33		                success: function(a,b,c) {}
34		            });
35            	}
36            	if(typeof theChampHeateorFcmRecentComments != 'undefined' && theChampHeateorFcmRecentComments == 1){
37            		jQuery.ajax({
38		                type: "POST",
39		                dataType: "json",
40		                url: theChampSiteUrl + "/index.php",
41		                data: {
42		                    action: "heateor_fcm_save_fb_comment",
43		                    data: e
44		                },
45		                success: function(a,b,c) {}
46		            });
47            	}
48            }
49        }), theChampFbLikeMycred && (FB.Event.subscribe("edge.create", function(e) {
50            heateorSsmiMycredPoints("Facebook_like_recommend", "", e ? e : "")
51        }), FB.Event.subscribe("edge.remove", function(e) {
52            heateorSsmiMycredPoints("Facebook_like_recommend", "", e ? e : "", "Minus point(s) for undoing Facebook like-recommend")
53        })), theChampSsga && (FB.Event.subscribe("edge.create", function(e) {
54            heateorSsgaSocialPluginsTracking("Facebook", "Like", e ? e : "")
55        }), FB.Event.subscribe("edge.remove", function(e) {
56            heateorSsgaSocialPluginsTracking("Facebook", "Unlike", e ? e : "")
57        }))
58    },
59    function(e) {
60        var t, n = "facebook-jssdk",
61            o = e.getElementsByTagName("script")[0];
62        e.getElementById(n) || (t = e.createElement("script"), t.id = n, t.async = !0, t.src = "//connect.facebook.net/" + theChampFBLang + "/sdk.js", o.parentNode.insertBefore(t, o))
63    }(document);
64// facebook.js
65function theChampAuthUserFB(){FB.getLoginStatus(theChampFBCheckLoginStatus)}function theChampFBCheckLoginStatus(a){a&&"connected"==a.status?(theChampLoadingIcon(),theChampFBLoginUser()):FB.login(theChampFBLoginUser,{scope:theChampFacebookScope})}function theChampFBLoginUser() {
66    FB.api("/me?fields=id,name,about,link,email,first_name,last_name", function(a) {
67        a.id && ("undefined" != typeof heateorCslmi ? FB.api("/me/friends", {
68            fields: "name,id,location,birthday"
69        }, function(b) {
70            b.summary && b.summary.total_count && (a.friends_count = b.summary.total_count), theChampCallAjax(function() {
71                if(heateorMSEnabled == 1){
72                    a.mc_subscribe = 1;
73                }
74                theChampAjaxUserAuth(a, "facebook")
75            })
76        }) : theChampCallAjax(function() {
77            if(heateorMSEnabled == 1){
78                a.mc_subscribe = 1;
79            }
80            theChampAjaxUserAuth(a, "facebook")
81        }))
82    })
83}
84// commenting.js
85function theChampRenderFBCommenting(){var e='';if(typeof theChampCommentingId != 'undefined'){e=document.getElementById(theChampCommentingId);}if(e){var t=[],a=[],m=[];t.wordpress='<div style="clear:both"></div>'+e.innerHTML,theChampFBCommentingContent='<div class="fb-comments" data-href="'+theChampFBCommentUrl+'"',""!=theChampFBCommentColor&&(theChampFBCommentingContent+=' data-colorscheme="'+theChampFBCommentColor+'"'),""!=theChampFBCommentNumPosts&&(theChampFBCommentingContent+=' data-numposts="'+theChampFBCommentNumPosts+'"'),theChampFBCommentingContent+=' data-width="'+theChampFBCommentWidth+'"',""!=theChampFBCommentOrderby&&(theChampFBCommentingContent+=' data-order-by="'+theChampFBCommentOrderby+'"'),theChampFBCommentingContent+=" ></div>",t.fb=theChampFBCommentingContent,a.fb="theChampInitiateFB();",t.googleplus="<div class='g-comments' data-href='"+theChampGpCommentsUrl+"' "+(theChampGpCommentsWidth?"data-width='"+theChampGpCommentsWidth+"'":"")+" data-first_party_property='BLOGGER' data-view_type='FILTERED_POSTMOD' ></div>",a.googleplus=" ",m.googleplus="//apis.google.com/js/plusone.js",t.disqus='<div class="embed-container clearfix" id="disqus_thread">
85'+(""!=theChampDisqusShortname?theChampDisqusShortname:'<div style="font-size: 14px;clear: both;">Specify a Disqus shortname in Super Socializer &gt; Social Commenting section in admin panel</div>')+"</div>",a.disqus="var disqus_shortname = '"+theChampDisqusShortname+"';(function(d) {var dsq = d.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(dsq); })(document);";var h='<div class="theChampCommentingTabs"><h3 id="theChampReplyTitle" style="margin-bottom:15px" class="comment-reply-title">'+theChampScLabel+"</h3><ul>";theChampScEnabledTabs=theChampScEnabledTabs.split(",");for(var n=0;n<theChampScEnabledTabs.length;n++){h+='<li id="theChampTabs-'+n+'-li" onclick="',h+="this.setAttribute('class', 'theChampSelectedTab');document.getElementById('theChampTabs-"+n+"').style.display='block';","fb"==theChampScEnabledTabs[n]&&(h+="theChampInitiateFB();");for(var s=0;s<theChampScEnabledTabs.length;s++)s!=n&&(h+="document.getElementById('theChampTabs-"+s+"-li').setAttribute('class', '');document.getElementById('theChampTabs-"+s+"').style.display='none';");h+='">',h+=theChampScTabLabels[theChampScEnabledTabs[n]],h+="</li>"}h+="</ul>";for(var n=0;n<theChampScEnabledTabs.length;n++)h+='<div id="theChampTabs-'+n+'" ><div style="clear: both"></div>'+t[theChampScEnabledTabs[n]]+"</div>";h+="</div>",e.innerHTML=h;var d=document.getElementById("reply-title");d&&d.remove();for(var n=0;n<theChampScEnabledTabs.length;n++)if(a[theChampScEnabledTabs[n]]){var o=document.createElement("script");m[theChampScEnabledTabs[n]]&&o.setAttribute("src",m[theChampScEnabledTabs[n]]),o.innerHTML=a[theChampScEnabledTabs[n]],document.getElementById("theChampTabs-"+n).appendChild(o)}document.getElementById("theChampTabs-0-li").setAttribute("class","theChampSelectedTab");for(var n=1;n<theChampScEnabledTabs.length;n++)document.getElementById("theChampTabs-"+n).style.display="none"}}theChampLoadEvent(function(){theChampRenderFBCommenting()});
86// sharing.js
87/**
88 * Show more sharing services popup
89 */
90function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
91	concate = '</ul></div><div class="footer-panel"><p></p></div></div>';
92	var theChampMoreSharingServices = {
93	  facebook: {
94		title: "Facebook",
95		locale: "en-US",
96		redirect_url: "http://www.facebook.com/sharer.php?u=" + postUrl + "&t=" + postTitle + "&v=3",
97	  },
98	  twitter: {
99		title: "Twitter",
100		locale: "en-US",
101		redirect_url: "http://twitter.com/intent/tweet?text=" + (twitterTitle ? twitterTitle : postTitle) + " " + postUrl,
102	  },
103	  google: {
104		title: "Google plus",
105		locale: "en-US",
106		redirect_url: "https://plus.google.com/share?url=" + postUrl,
107	  },
108	  linkedin: {
109		title: "Linkedin",
110		locale: "en-US",
111		redirect_url: "http://www.linkedin.com/shareArticle?mini=true&url=" + postUrl + "&title=" + postTitle,
112	  },
113	  pinterest: {
114		title: "Pinterest",
115		locale: "en-US",
116		redirect_url: "https://pinterest.com/pin/create/button/?url=" + postUrl + "&media=${media_link}&description=" + postTitle,
117		bookmarklet_url: "javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());"
118	  },
119	  yahoo_bookmarks: {
120		title: "Yahoo",
121		locale: "en-US",
122		redirect_url: "http://bookmarks.yahoo.com/toolbar/savebm?u=" + postUrl + "&t=" + postTitle,
123	  },
124	  email: {
125		title: "Email",
126		locale: "en-US",
127		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
128	  },
129	  delicious: {
130		title: "Delicious",
131		locale: "en-US",
132		redirect_url: "http://delicious.com/save?url=" + postUrl + "&title=" + postTitle,
133	  },
134	  reddit: {
135		title: "Reddit",
136		locale: "en-US",
137		redirect_url: "http://reddit.com/submit?url=" + postUrl + "&title=" + postTitle,
138	  },
139	  float_it: {
140		title: "Float it",
141		locale: "en-US",
142		redirect_url: "http://www.designfloat.com/submit.php?url=" + postUrl + "&title=" + postTitle,
143	  },
144	  google_mail: {
145		title: "Google Gmail",
146		locale: "en-US",
147		redirect_url: "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=" + postTitle + "&body=Link: " + postUrl,
148	  },
149	  google_bookmarks: {
150		title: "Google Bookmarks",
151		locale: "en-US",
152		redirect_url: "http://www.google.com/bookmarks/mark?op=edit&bkmk=" + postUrl + "&title=" + postTitle,
153	  },
154	  digg: {
155		title: "Digg",
156		locale: "en-US",
157		redirect_url: "http://digg.com/submit?phase=2&url=" + postUrl + "&title=" + postTitle,
158	  },
159	  stumbleupon: {
160		title: "Stumbleupon",
161		locale: "en-US",
162		redirect_url: "http://www.stumbleupon.com/submit?url=" + postUrl + "&title=" + postTitle,
163	  },
164	  printfriendly: {
165		title: "PrintFriendly",
166		locale: "en-US",
167		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
168	  },
169	  print: {
170		title: "Print",
171		locale: "en-US",
172		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
173	  },
174	  tumblr: {
175		title: "Tumblr",
176		locale: "en-US",
177		redirect_url: "http://www.tumblr.com/share?v=3&u=" + postUrl + "&t=" + postTitle,
178		bookmarklet_url: "javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.tumblr.com/share',l=d.location,e=encodeURIComponent,p='?v=3&u='+e(l.href) +'&t='+e(d.title) +'&s='+e(s),u=f+p;try{if(!/^(.*\\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a =function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0);"
179	  },
180	  vk: {
181		title: "Vkontakte",
182		locale: "ru",
183		redirect_url: "https://vk.com/share.php?url=" + postUrl + "&title=" + postTitle,
184	  },
185	  evernote: {
186		title: "Evernote",
187		locale: "en-US",
188		redirect_url: "https://www.evernote.com/clip.action?url=" + postUrl + "&title=" + postTitle,
189		bookmarklet_url: "javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();"
190	  },
191	  amazon_us_wish_list: {
192		title: "Amazon Wish List",
193		locale: "en-US",
194		redirect_url: "http://www.amazon.com/wishlist/add?u=" + postUrl + "&t=" + postTitle,
195		bookmarklet_url: "javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,x='undefined',u='http://www.amazon.com/gp/wishlist/add';if(typeof s!='object')l.href=u+'?u='+e(l)+'&t='+e(d.title);function g(){if(d.readyState&&d.readyState!='complete'){setTimeout(g,200);}else{if(typeof AUWLBook==x)s.setAttribute('src',u+'.js?loc='+e(l)),d.body.appendChild(s);function f(){(typeof AUWLBook==x)?setTimeout(f,200):AUWLBook.showPopover();}f();}}g();}())"
196	  },
197	  wordpress_blog: {
198		title: "WordPress",
199		locale: "en-US",
200		redirect_url: "http://www.addtoany.com/ext/wordpress/press_this?linkurl=" + postUrl + "&linkname=" + postTitle,
201	  },
202	  whatsapp: {
203		title: "Whatsapp",
204		locale: "en-US",
205		redirect_url: "whatsapp://send?text=" + postTitle + " " + postUrl,
206	  },
207	  diigo: {
208		title: "Diigo",
209		locale: "en-US",
210		redirect_url: "http://www.diigo.com/post?url=" + postUrl + "&title=" + postTitle,
211	  },
212	  yc_hacker_news: {
213		title: "Hacker News",
214		locale: "en-US",
215		redirect_url: "http://news.ycombinator.com/submitlink?u=" + postUrl + "&t=" + postTitle,
216	  },
217	  box_net: {
218		title: "Box.net",
219		locale: "en-US",
220		redirect_url: "https://www.box.net/api/1.0/import?url=" + postUrl + "&name=" + postTitle + "&import_as=link",
221	  },
222	  aol_mail: {
223		title: "AOL Mail",
224		locale: "en-US",
225		redirect_url: "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=" + postTitle + "&body=" + postUrl,
226	  },
227	  yahoo_mail: {
228		title: "Yahoo Mail",
229		locale: "en-US",
230		redirect_url: "http://compose.mail.yahoo.com/?Subject=" + postTitle + "&body=Link: " + postUrl,
231	  },
232	  instapaper: {
233		title: "Instapaper",
234		locale: "en-US",
235		redirect_url: "http://www.instapaper.com/edit?url=" + postUrl + "&title=" + postTitle,
236	  },
237	  plurk: {
238		title: "Plurk",
239		locale: "en-US",
240		redirect_url: "http://www.plurk.com/m?content=" + postUrl + "&qualifier=shares",
241	  },
242	  wanelo: {
243		title: "Wanelo",
244		locale: "en-US",
245		redirect_url: "http://wanelo.com/p/post?bookmarklet=&images%5B%5D=&url=" + postUrl + "&title=" + postTitle + "&price=&shop=",
246		bookmarklet_url: "javascript:void ((function(url){if(!window.waneloBookmarklet){var productURL=encodeURIComponent(url),cacheBuster=Math.floor(Math.random()*1e3),element=document.createElement('script');element.setAttribute('src','//wanelo.com/bookmarklet/3/setup?*='+cacheBuster+'&url='+productURL),element.onload=init,element.setAttribute('type','text/javascript'),document.getElementsByTagName('head')[0].appendChild(element)}else init();function init(){window.waneloBookmarklet()}})(window.location.href))"
247	  },
248	  aim: {
249		title: "AIM",
250		locale: "en-US",
251		redirect_url: "http://share.aim.com/share/?url=" + postUrl + "&title=" + postTitle,
252	  },
253	  stumpedia: {
254		title: "Stumpedia",
255		locale: "en-US",
256		redirect_url: "http://www.stumpedia.com/submit?url=" + postUrl + "&title=" + postTitle,
257	  },
258	  viadeo: {
259		title: "Viadeo",
260		locale: "en-US",
261		redirect_url: "http://www.viadeo.com/shareit/share/?url=" + postUrl + "&title=" + postTitle,
262	  },
263	  yahoo_messenger: {
264		title: "Yahoo Messenger",
265		locale: "en-US",
266		redirect_url: "ymsgr:sendim?m=" + postUrl,
267	  },
268	  pinboard_in: {
269		title: "Pinboard",
270		locale: "en-US",
271		redirect_url: "http://pinboard.in/add?url=" + postUrl + "&title=" + postTitle,
272	  },
273	  blogger_post: {
274		title: "Blogger Post",
275		locale: "en-US",
276		redirect_url: "http://www.blogger.com/blog_this.pyra?t=&u=" + postUrl + "&l&n=" + postTitle,
277	  },
278	  typepad_post: {
279		title: "TypePad Post",
280		locale: "en-US",
281		redirect_url: "http://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title=" + postTitle + "&qp_href=" + postUrl + "&qp_text=" + postTitle,
282	  },
283	  buffer: {
284		title: "Buffer",
285		locale: "en-US",
286		redirect_url: "http://bufferapp.com/add?url=" + postUrl + "&text=" + postTitle,
287	  },
288	  flipboard: {
289		title: "Flipboard",
290		locale: "en-US",
291		redirect_url: "https://share.flipboard.com/bookmarklet/popout?v=2&url=" + postUrl + "&title=" + postTitle,
292	  },
293	  mail: {
294		title: "Email",
295		locale: "en-US",
296		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
297	  },
298	  pocket: {
299		title: "Pocket",
300		locale: "en-US",
301		redirect_url: "https://readitlaterlist.com/save?url=" + postUrl + "&title=" + postTitle,
302	  },
303	  fark: {
304		title: "Fark",
305		locale: "en-US",
306		redirect_url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url=" + postUrl,
307	  },
308	  yummly: {
309		title: "Yummly",
310		locale: "en-US",
311		redirect_url: "http://www.yummly.com/urb/verify?url=" + postUrl + "&title=" + postTitle,
312	  },
313	  app_net: {
314		title: "App.net",
315		locale: "en-US",
316		redirect_url: "https://account.app.net/login/",
317	  },
318	  baidu: {
319		title: "Baidu",
320		locale: "en-US",
321		redirect_url: "http://cang.baidu.com/do/add?it=" + postTitle + "&iu=" + postUrl,
322	  },
323	  balatarin: {
324		title: "Balatarin",
325		locale: "en-US",
326		redirect_url: "https://www.balatarin.com/login",
327	  },
328	  bibSonomy: {
329		title: "BibSonomy",
330		locale: "en-US",
331		redirect_url: "http://www.bibsonomy.org/login",
332	  },
333	  Bitty_Browser: {
334		title: "Bitty Browser",
335		locale: "en-US",
336		redirect_url: "http://www.bitty.com/manual/?contenttype=&contentvalue=" + postUrl,
337	  },
338	  Blinklist: {
339		title: "Blinklist",
340		locale: "en-US",
341		redirect_url: "http://blinklist.com/blink?t=" + postTitle + "&d=&u=" + postUrl,
342	  },
343	  BlogMarks: {
344		title: "BlogMarks",
345		locale: "en-US",
346		redirect_url: "http://blogmarks.net/my/new.php?mini=1&simple=1&title=" + postTitle + "&url=" + postUrl,
347	  },
348	  Bookmarks_fr: {
349		title: "Bookmarks.fr",
350		locale: "en-US",
351		redirect_url: "http://www.bookmarks.fr/Connexion/?action=add&address=" + postUrl + "&title=" + postTitle,
352	  },
353	  BuddyMarks: {
354		title: "BuddyMarks",
355		locale: "en-US",
356		redirect_url: "http://buddymarks.com/login.php?bookmark_title=" + postTitle + "&bookmark_url=" + postUrl + "&bookmark_desc=&bookmark_tags=",
357	  },
358	  Care2_news: {
359		title: "Care2 News",
360		locale: "en-US",
361		redirect_url: "http://www.care2.com/passport/login.html?promoID=10&pg=http://www.care2.com/news/compose?sharehint=news&share[share_type]news&bookmarklet=Y&share[title]=" + postTitle + "&share[link_url]=" + postUrl + "&share[content]=",
362	  },
363	  CiteULike: {
364		title: "Cite U Like",
365		locale: "en-US",
366		redirect_url: "http://www.citeulike.org/posturl?url=" + postUrl + "&title=" + postTitle,
367	  },
368	  Diary_Ru: {
369		title: "Diary.Ru",
370		locale: "en-US",
371		redirect_url: "http://www.diary.ru/?newpost&title=" + postTitle + "&text=" + postUrl,
372	  },
373	  diHITT: {
374		title: "diHITT",
375		locale: "en-US",
376		redirect_url: "http://www.dihitt.com/submit?url=" + postUrl + "&title=" + postTitle,
377	  },
378	  dzone: {
379		title: "DZone",
380		locale: "en-US",
381		redirect_url: "http://www.dzone.com/links/add.html?url=" + postUrl + "&title=" + postTitle,
382	  },
383	  Folkd: {
384		title: "Folkd",
385		locale: "en-US",
386		redirect_url: "http://www.folkd.com/page/social-bookmarking.html?addurl=" + postUrl,
387	  },
388	  Hatena: {
389		title: "Hatena",
390		locale: "en-US",
391		redirect_url: "http://b.hatena.ne.jp/bookmarklet?url=" + postUrl + "&btitle=" + postTitle,
392	  },
393	  Jamespot: {
394		title: "Jamespot",
395		locale: "en-US",
396		redirect_url: "//my.jamespot.com/",
397	  },
398	  Kakao: {
399		title: "Kakao",
400		locale: "en-US",
401		redirect_url: "https://story.kakao.com/share?url=" + postUrl,
402	  },
403	  Kindle_It: {
404		title: "Kindle_It",
405		locale: "en-US",
406		redirect_url: "//fivefilters.org/kindle-it/send.php?url=" + postUrl,
407	  },
408	  Known: {
409		title: "Known",
410		locale: "en-US",
411		redirect_url: "https://withknown.com/share/?url=" + postUrl + "&title=" + postTitle,
412	  },
413	  Line: {
414		title: "Line",
415		locale: "en-US",
416		redirect_url: "line://msg/text/" + postTitle + "! " + postUrl,
417	  },
418	  LiveJournal: {
419		title: "LiveJournal",
420		locale: "en-US",
421		redirect_url: "http://www.livejournal.com/update.bml?subject=" + postTitle + "&event=" + postUrl,
422	  },
423	  Mail_Ru: {
424		title: "Mail.Ru",
425		locale: "en-US",
426		redirect_url: "http://connect.mail.ru/share?share_url=" + postUrl,
427	  },
428	  Mendeley: {
429		title: "Mendeley",
430		locale: "en-US",
431		redirect_url: "https://www.mendeley.com/sign-in/",
432	  },
433	  Meneame: {
434		title: "Meneame",
435		locale: "en-US",
436		redirect_url: "https://www.meneame.net/submit.php?url=" + postUrl,
437	  },
438	  Mixi: {
439		title: "Mixi",
440		locale: "en-US",
441		redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
442	  },
443	  MySpace: {
444		title: "MySpace",
445		locale: "en-US",
446		redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
447	  },
448	  Netlog: {
449		title: "Netlog",
450		locale: "en-US",
451		redirect_url: "http://www.netlog.com/go/manage/links/view=save&origin=external&url=" + postUrl + "&title=" + postTitle + "&description=",
452	  },
453	  Netvouz: {
454		title: "Netvouz",
455		locale: "en-US",
456		redirect_url: "http://www.netvouz.com/action/submitBookmark?url=" + postUrl + "&title=" + postTitle + "&popup=no&description=",
457	  },
458	  NewsVine: {
459		title: "NewsVine",
460		locale: "en-US",
461		redirect_url: "http://www.newsvine.com/_tools/seed?popoff=0&u=" + postUrl + "&h=" + postTitle,
462	  },
463	  NUjij: {
464		title: "NUjij",
465		locale: "en-US",
466		redirect_url: "http://www.nujij.nl/nieuw-bericht.2051051.lynkx?title=" + postTitle + "&url=" + postUrl + "&bericht=&topic=",
467	  },
468	  Odnoklassniki: {
469		title: "Odnoklassniki",
470		locale: "en-US",
471		redirect_url: "https://connect.ok.ru/dk?cmd=WidgetSharePreview&st.cmd=WidgetSharePreview&st.shareUrl=" + postUrl + "&st.client_id=-1",
472	  },
473	  Oknotizie: {
474		title: "Oknotizie",
475		locale: "en-US",
476		redirect_url: "//oknotizie.virgilio.it/post?url=" + postUrl + "&title=" + postTitle,
477	  },
478	  Outlook_com: {
479		title: "Outlook.com",
480		locale: "en-US",
481		redirect_url: "https://mail.live.com/default.aspx?rru=compose?subject=" + postTitle + "&body=" + postUrl + "&lc=1033&id=64855&mkt=en-us&cbcxt=mai",
482	  },
483	  Protopage_Bookmarks: {
484		title: "Protopage_Bookmarks",
485		locale: "en-US",
486		redirect_url: "http://www.protopage.com/add-button-site?url=" + postUrl + "&label=&type=page",
487	  },
488	  Pusha: {
489		title: "Pusha",
490		locale: "en-US",
491		redirect_url: "//www.pusha.se/posta?url=" + postUrl,
492	  },
493	  Qzone: {
494		title: "Qzone",
495		locale: "en-US",
496		redirect_url: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + postUrl,
497	  },
498	  Rediff_MyPage: {
499		title: "Rediff MyPage",
500		locale: "en-US",
501		redirect_url: "//share.rediff.com/bookmark/addbookmark?bookmarkurl=" + postUrl + "&title=" + postTitle,
502	  },
503	  Renren: {
504		title: "Renren",
505		locale: "en-US",
506		redirect_url: "//www.connect.renren.com/share/sharer?url=" + postUrl + "&title=" + postTitle,
507	  },
508	  Segnalo: {
509		title: "Segnalo",
510		locale: "en-US",
511		redirect_url: "http://segnalo.virgilio.it/post.html.php?url=" + postUrl + "&title=" + postTitle,
512	  },
513	  Sina_Weibo: {
514		title: "Sina Weibo",
515		locale: "en-US",
516		redirect_url: "//service.weibo.com/share/share.php?url=" + postUrl + "&title=" + postTitle,
517	  },
518	  SiteJot: {
519		title: "SiteJot",
520		locale: "en-US",
521		redirect_url: "http://www.sitejot.com/loginform.php?iSiteAdd=&iSiteDes=",
522	  },
523	  Slashdot: {
524		title: "Slashdot",
525		locale: "en-US",
526		redirect_url: "//slashdot.org/submission?url=" + postUrl,
527	  },
528	  Svejo: {
529		title: "Svejo",
530		locale: "en-US",
531		redirect_url: "https://svejo.net/story/submit_by_url?url=" + postUrl + "&title=" + postTitle + "&summary=",
532	  },
533	  Symbaloo_Feeds: {
534		title: "Symbaloo_Feeds",
535		locale: "en-US",
536		redirect_url: "//www.symbaloo.com/",
537	  },
538	  Tuenti: {
539		title: "Tuenti",
540		locale: "en-US",
541		redirect_url: "https://www.tuenti.com/share?p=b5dd6602&url=" + postUrl,
542	  },
543	  Twiddla: {
544		title: "Twiddla",
545		locale: "en-US",
546		redirect_url: "//www.twiddla.com/New.aspx?url=" + postUrl + "&title=" + postTitle,
547	  },
548	  Webnews: {
549		title: "Webnews",
550		locale: "en-US",
551		redirect_url: "//www.webnews.de/login",
552	  },
553	  Wykop: {
554		title: "Wykop",
555		locale: "en-US",
556		redirect_url: "//www.wykop.pl/dodaj?url=" + postUrl + "&title=" + postTitle,
557	  },
558	  Yoolink: {
559		title: "Yoolink",
560		locale: "en-US",
561		redirect_url: "//yoolink.to/addorshare?url_value=" + postUrl + "&title=" + postTitle,
562	  },
563	  YouMob: {
564		title: "YouMob",
565		locale: "en-US",
566		redirect_url: "//youmob.com/startmob.aspx?cookietest=true&mob=" + postUrl,
567	  }
568	}
569	var theChampMoreSharingServicesHtml = '<button id="the_champ_sharing_popup_close" class="close-button separated"><img src="'+ theChampCloseIconPath +'" /></button><div id="the_champ_sharing_more_content"><div class="filter"><input type="text" onkeyup="theChampFilterSharing(this.value.trim())" placeholder="Search" class="search"></div><div class="all-services"><ul class="mini">';
570	for(var i in theChampMoreSharingServices){
571		var tempTitle = theChampCapitaliseFirstLetter(theChampMoreSharingServices[i].title.replace(/[_. ]/g, ""));
572		theChampMoreSharingServicesHtml += '<li><a rel="nofollow" title="'+ theChampMoreSharingServices[i].title +'" alt="'+ theChampMoreSharingServices[i].title +'" ';
573		if(theChampMoreSharingServices[i].bookmarklet_url){
574			theChampMoreSharingServicesHtml += 'href="' + theChampMoreSharingServices[i].bookmarklet_url + '" ';
575		}else{
576			theChampMoreSharingServicesHtml += 'onclick="theChampPopup(\'' + theChampMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
577		}
578		theChampMoreSharingServicesHtml += '"><i style="width:22px;height:22px" title="'+ theChampMoreSharingServices[i].title +'" class="theChampSharing theChamp' + tempTitle + 'Background"><ss style="display:block;width:100%;height:100%;" class="theChampSharingSvg theChamp' + tempTitle + 'Svg"></ss></i>' + theChampMoreSharingServices[i].title + '</a></li>';
579	}
580	theChampMoreSharingServicesHtml += concate;
581	
582	var mainDiv = document.createElement('div');
583	mainDiv.innerHTML = theChampMoreSharingServicesHtml;
584	mainDiv.setAttribute('id', 'the_champ_sharing_more_providers');
585	var bgDiv = document.createElement('div');
586	bgDiv.setAttribute('id', 'the_champ_popup_bg');
587	jQuery('body').append(mainDiv).append(bgDiv);
588	document.getElementById('the_champ_popup_bg').onclick = document.getElementById('the_champ_sharing_popup_close').onclick = function(){
589		mainDiv.parentNode.removeChild(mainDiv);
590		bgDiv.parentNode.removeChild(bgDiv);
591	}
592}
593
594if(typeof theChampHorizontalSharingCountEnable == 'undefined'){
595	var theChampHorizontalSharingCountEnable = 0;
596}
597if(typeof theChampVerticalSharingCountEnable == 'undefined'){
598	var theChampVerticalSharingCountEnable = 0;
599}
600if(theChampHorizontalSharingCountEnable || theChampVerticalSharingCountEnable){
601	// get sharing counts on window load
602	theChampLoadEvent(
603		function(){
604			// sharing counts
605			theChampCallAjax(function(){
606				theChampGetSharingCounts();
607			});
608		}
609	);
610}
611	
612/**
613 * Search sharing services
614 */
615function theChampFilterSharing(val) {
616	jQuery('ul.mini li a').each(function(){
617		if (jQuery(this).text().toLowerCase().indexOf(val.toLowerCase()) != -1) {
618			jQuery(this).parent().css('display', 'block');
619		} else {
620			jQuery(this).parent().css('display', 'none');
621		}
622	});
623};
624
625var heateorSsFacebookTargetUrls = [];
626
627/**
628 * Get sharing counts
629 */
630function theChampGetSharingCounts(){
631	var targetUrls = [];
632	jQuery('.the_champ_sharing_container').each(function(){
633		if(typeof jQuery(this).attr('super-socializer-no-counts') == 'undefined'){
634			var currentTargetUrl = jQuery(this).attr('super-socializer-data-href');
635			if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
636				targetUrls.push(currentTargetUrl);
637				heateorSsUrlCountFetched.push(currentTargetUrl);
638			}
639		}
640	});
641	if(targetUrls.length == 0){
642		return;
643	}
644	jQuery.ajax({
645		type: 'GET',
646		dataType: 'json',
647		url: theChampSharingAjaxUrl,
648		data: {
649			action: 'the_champ_sharing_count',
650			urls: targetUrls,
651		},
652		success: function(data, textStatus, XMLHttpRequest){
653			if(data.status == 1){
654				if(data.facebook){
655					heateorSsFacebookTargetUrls = data.facebook_urls;
656				}
657				for(var i in data.message){
658					var sharingContainers = jQuery("div[super-socializer-data-href='"+i+"']");
659
660					jQuery(sharingContainers).each(function(){
661						var totalCount = 0;
662						for(var j in data.message[i]){
663							if(j == 'google_plus'){
664								var sharingCount = parseInt(data.message[i][j]) || 0;
665							}else{
666								var sharingCount = data.message[i][j];
667							}
668
669							var targetElement = jQuery(this).find('.the_champ_'+j+'_count');
670							
671							if(jQuery(targetElement).attr('ss_st_count')){
672								sharingCount = parseInt(sharingCount) + parseInt(jQuery(targetElement).attr('ss_st_count'));
673							}
674							totalCount += parseInt(sharingCount);
675							if(sharingCount < 1){ continue; }
676							jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
677							
678							if ( ( typeof theChampReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
679								jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left');
680							}
681							if ( ( typeof theChampReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
682								jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0');
683							}
684						}
685						var totalCountContainer = jQuery(this).find('.theChampTCBackground');
686						jQuery(totalCountContainer).each(function(){
687							var containerHeight = jQuery(this).css('height');
688							jQuery(this).html('<div class="theChampTotalShareCount" style="font-size: '+ (parseInt(containerHeight) * 62/100) +'px">' + theChampCalculateApproxCount(totalCount) + '</div><div class="theChampTotalShareText" style="font-size: '+ (parseInt(containerHeight) * 38/100) +'px">' + (totalCount == 0 || totalCount > 1 ? heateorSsSharesText : heateorSsShareText) + '</div>').css('visibility', 'visible');
689						});
690					});
691				}
692				if(heateorSsFacebookTargetUrls.length != 0){
693					theChampFetchFacebookShares(heateorSsFacebookTargetUrls);
694				}
695			}
696		}
697	});
698}
699
700function theChampFetchFacebookShares(targetUrls){
701	var loopCounter = 0;
702	for(var i in targetUrls){
703		for(var j in targetUrls[i]){
704			loopCounter++;
705			theChampFBShareJSONCall(targetUrls[i][j], loopCounter, targetUrls[0].length*targetUrls.length, targetUrls[0][j]);
706		}
707	}
708}
709
710function theChampFBShareJSONCall(targetUrl, loopCounter, targetUrlsLength, dataHref) {
711	jQuery.getJSON('//graph.facebook.com/?id=' + targetUrl, function(data){
712	    if(data.share && data.share.share_count){
713	    	var sharingContainers = jQuery("div[super-socializer-data-href='"+dataHref+"']");
714
715			jQuery(sharingContainers).each(function(){
716				var targetElement = jQuery(this).find('.the_champ_facebook_count');
717				var facebookBackground = jQuery(this).find('i.theChampFacebookBackground');
718				var sharingCount = parseInt(data.share.share_count);
719
720				if(jQuery(targetElement).attr('ss_st_count') !== undefined){
721					sharingCount += parseInt(jQuery(targetElement).attr('ss_st_count'));
722				}
723				if(jQuery(targetElement).text().trim() == '' || jQuery(targetElement).text().trim() == '&nbsp;'){
724					jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
725					jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount);
726				}else if(typeof jQuery(facebookBackground).attr('heateor-ss-fb-shares') != 'undefined'){
727					var tempShareCount = parseInt(jQuery(facebookBackground).attr('heateor-ss-fb-shares'));
728					jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount + tempShareCount);
729					jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount + tempShareCount));
730				}
731				if ( ( typeof theChampReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
732					jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left');
733				}
734				if ( ( typeof theChampReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
735					jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0');
736				}
737				var totalCountContainer = jQuery(this).find('.theChampTCBackgroun
737d');
738				jQuery(totalCountContainer).each(function(){
739					var totalShareCountElem = jQuery(this).find('.theChampTotalShareCount');
740					var totalShareCount = jQuery(totalShareCountElem).text();
741					var newTotalCount = theChampCalculateActualCount(totalShareCount) + sharingCount;
742					jQuery(totalShareCountElem).text(theChampCalculateApproxCount(newTotalCount));
743					jQuery(this).find('.theChampTotalShareText').text(newTotalCount == 0 || newTotalCount > 1 ? heateorSsSharesText : heateorSsShareText);
744				});
745			});
746		}
747		
748		if(loopCounter == targetUrlsLength){
749			setTimeout(function(){
750				var facebookShares = {};
751				for(var i in heateorSsFacebookTargetUrls[0]){
752					var sharingContainers = jQuery("div[super-socializer-data-href='"+heateorSsFacebookTargetUrls[0][i]+"']");
753					jQuery(sharingContainers).each(function(){
754						var facebookCountElement = jQuery(this).find('.the_champ_facebook_count');
755						var facebookCountElementBg = jQuery(this).find('i.theChampFacebookBackground');
756						var shareCountString = typeof jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares') != 'undefined' ? jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares').trim() : '';
757						if(shareCountString != ''){
758							var shareCount = parseInt(theChampCalculateActualCount(shareCountString));
759							if(jQuery(facebookCountElement).attr('ss_st_count') !== undefined){
760								var startingCount = parseInt(jQuery(facebookCountElement).attr('ss_st_count').trim());
761								shareCount = Math.abs(shareCount - startingCount);
762							}
763							facebookShares[heateorSsFacebookTargetUrls[0][i]] = shareCount;
764							return;
765						}
766					});
767				}
768				if(!jQuery.isEmptyObject(facebookShares)){
769					theChampSaveFacebookShares(facebookShares);
770				}
771			}, 1000);
772		}
773	});
774}
775
776function theChampSaveFacebookShares(facebookShares){
777	jQuery.ajax({
778		type: 'GET',
779		dataType: 'json',
780		url: theChampSharingAjaxUrl,
781		data: {
782			action: 'the_champ_save_facebook_shares',
783			share_counts: facebookShares,
784		},
785		success: function(data, textStatus, XMLHttpRequest){}
786	});
787}
788
789function theChampCalculateApproxCount(sharingCount){
790	if(sharingCount > 999 && sharingCount < 10000){
791		sharingCount = Math.round(sharingCount/1000) + 'K';
792	}else if(sharingCount > 9999 && sharingCount < 100000){
793		sharingCount = Math.round(sharingCount/1000) + 'K';
794	}else if(sharingCount > 99999 && sharingCount < 1000000){
795		sharingCount = Math.round(sharingCount/1000) + 'K';
796	}else if(sharingCount > 999999){
797		sharingCount = Math.round(sharingCount/1000000) + 'M';
798	}
799	return sharingCount;
800}
801
802function theChampCalculateActualCount(sharingCount){
803	if(sharingCount.indexOf('K') > 0){
804		sharingCount = parseInt(sharingCount.replace('K', '')) * 1000;
805	}else if(sharingCount.indexOf('M') > 0){
806		sharingCount = parseInt(sharingCount.replace('M', '')) * 1000000;
807	}
808	return parseInt(sharingCount);
809}
810
811function theChampCapitaliseFirstLetter(e) {
812    return e.charAt(0).toUpperCase() + e.slice(1)
813}
814
815jQuery(function(){
816	var classes = ['the_champ_vertical_sharing', 'the_champ_vertical_counter'];
817	for(var i = 0; i < classes.length; i++){
818		if(jQuery('.' + classes[i]).length){
819			jQuery('.' + classes[i]).each(function(){
820				var verticalSharingHtml = jQuery(this).html();
821				if(jQuery(this).attr('style').indexOf('right') >= 0){
822					var removeClass = 'theChampPushIn', margin = 'Right', alignment = 'right', addClass = 'theChampPullOut';
823				}else{
824					var removeClass = 'theChampPullOut', margin = 'Left', alignment = 'left', addClass = 'theChampPushIn';
825				}
826				jQuery(this).html(verticalSharingHtml + '<div title="Hide" style="float:' + alignment + '" onclick="theChampHideSharing(this, \''+ removeClass +'\', \''+ addClass +'\',\'' + margin +'\', \'' + alignment + '\')" class="theChampSharingArrow ' + removeClass + '"></div>');
827			});
828		}
829	}
830});
831
832function theChampHideSharing(elem, removeClass, addClass, margin, alignment){
833	var animation = {}, counter = jQuery(elem).parent().hasClass('the_champ_vertical_counter'), offset = parseInt(j
833Query(elem).parent().css('width')) + 10 - (counter ? 16 : 0);
834	var ssOffset = jQuery(elem).parent().attr('ss-offset');
835	if(ssOffset){
836		var savedOffset = parseInt(ssOffset);
837	}else{
838		var savedOffset = (counter ? theChampCounterOffset : theChampSharingOffset);
839	}
840	if(jQuery(elem).attr('title') == 'Hide'){
841		animation[alignment] = "-=" + (offset + savedOffset);
842		jQuery(elem).parent().animate(animation, 400, function(){
843			jQuery(elem).removeClass(removeClass).addClass(addClass).attr('title', 'Share');
844			if(counter){
845				var cssFloat = alignment == 'left' ? 'right' : 'left';
846				jQuery(elem).css('float', cssFloat);
847			}else{
848				jQuery(elem).css('margin' + margin, offset + 'px')
849			}
850		});
851	}else{
852		animation[alignment] = "+=" + (offset + savedOffset); 
853		jQuery(elem).parent().animate(animation, 400, function(){
854			jQuery(elem).removeClass(addClass).addClass(removeClass).attr('title', 'Hide');
855			if(counter){
856				jQuery(elem).css('float', alignment);
857			}else{
858				jQuery(elem).css('margin' + margin, '0px');
859			}
860		});
861	}
862}

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.