WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 6.1.2.0

Version Description

  • Fix for Facebook Like button error (Facebook now requires non-encoded URL's to be passed)
Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 6.1.2.0
Comparing to
See all releases

Code changes from version 6.1.1.0 to 6.1.2.0

readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
3
  Tags: SexyBookmarks, SexyBookmark, Facebook, Twitter, LinkedIn, URL Shortener, Bitly, TinyURL, Supr, Goo.gl, Google +1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Google Gmail, Google Notebook, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, Bebo, Mister Wong, Evernote, Twine, Diigo, add this, addtoany, share this, share and follow, share and enjoy, sharing is sexy, sharing is caring, Mail, Yahoo, Reddit, Techmeme, Hacker News, Tweet Button, Twitter Button, Fark, Buffer, MySpace, Orkut, Plurk, Identi.ca, Hyves, Netlog, HubSpot, WeHeartIt, Yandex, PrintFriendly, Print, ReadItLater, Yammer, Pinterest, Google Translate, Pinboard, Shareaholic, Shareholic, Bookmarks, Social, Email Button, Social Share, Bookmark Button, Share Button, Social Bookmarking, Bookmarks Menu, Bookmarking, Share, Share Count, Sharebar, Social Media, SEO, Analytics, Stats, Sharing, Saving, Posting, Facebook Like, Facebook Recommend, Facebook Send, WPMU, nrelate, outbrain, linkwithin, Related Content, Related Posts, Thumbnails, Recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.5
6
- Stable tag: 6.1.1.0
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
@@ -125,6 +125,9 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
125
 
126
  == Changelog ==
127
 
 
 
 
128
  = 6.1.1.0 =
129
  * JavaScript is now hosted on Amazon's CDN to make everything blazing fast!
130
  * Removed Strands, FAQPal, Tipd, Sphinn, Twittley (services have shut down)
3
  Tags: SexyBookmarks, SexyBookmark, Facebook, Twitter, LinkedIn, URL Shortener, Bitly, TinyURL, Supr, Goo.gl, Google +1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Google Gmail, Google Notebook, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, Bebo, Mister Wong, Evernote, Twine, Diigo, add this, addtoany, share this, share and follow, share and enjoy, sharing is sexy, sharing is caring, Mail, Yahoo, Reddit, Techmeme, Hacker News, Tweet Button, Twitter Button, Fark, Buffer, MySpace, Orkut, Plurk, Identi.ca, Hyves, Netlog, HubSpot, WeHeartIt, Yandex, PrintFriendly, Print, ReadItLater, Yammer, Pinterest, Google Translate, Pinboard, Shareaholic, Shareholic, Bookmarks, Social, Email Button, Social Share, Bookmark Button, Share Button, Social Bookmarking, Bookmarks Menu, Bookmarking, Share, Share Count, Sharebar, Social Media, SEO, Analytics, Stats, Sharing, Saving, Posting, Facebook Like, Facebook Recommend, Facebook Send, WPMU, nrelate, outbrain, linkwithin, Related Content, Related Posts, Thumbnails, Recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.5
6
+ Stable tag: 6.1.2.0
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
125
 
126
  == Changelog ==
127
 
128
+ = 6.1.2.0 =
129
+ * Fix for Facebook Like button error (Facebook now requires non-encoded URL's to be passed)
130
+
131
  = 6.1.1.0 =
132
  * JavaScript is now hosted on Amazon's CDN to make everything blazing fast!
133
  * Removed Strands, FAQPal, Tipd, Sphinn, Twittley (services have shut down)
sexy-bookmarks.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Shareaholic* | share buttons, analytics, related content
4
  Plugin URI: https://shareaholic.com/publishers/
5
  Description: Shareaholic adds a (X)HTML compliant list of social bookmarking icons to each of your posts. See <a href="admin.php?page=sexy-bookmarks.php">configuration panel</a> for more settings.
6
- Version: 6.1.1.0
7
  Author: Shareaholic
8
  Author URI: https://shareaholic.com
9
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
10
  */
11
 
12
- define('SHRSB_vNum','6.1.1.0');
13
 
14
  /*
15
  * @desc Create Text Domain For Translations
3
  Plugin Name: Shareaholic* | share buttons, analytics, related content
4
  Plugin URI: https://shareaholic.com/publishers/
5
  Description: Shareaholic adds a (X)HTML compliant list of social bookmarking icons to each of your posts. See <a href="admin.php?page=sexy-bookmarks.php">configuration panel</a> for more settings.
6
+ Version: 6.1.2.0
7
  Author: Shareaholic
8
  Author URI: https://shareaholic.com
9
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
10
  */
11
 
12
+ define('SHRSB_vNum','6.1.2.0');
13
 
14
  /*
15
  * @desc Create Text Domain For Translations
spritegen_default/jquery.shareaholic-publishers-sb.min.js CHANGED
@@ -67,7 +67,7 @@ a.count};i&&SHR4P.utils.getTwitShrCnt(decodeURIComponent(a),d)}var m=a,o={title:
67
  SHR4P.fbUtil={fbConnectAdd:0,renderFBWidgetCalled:!1,likeButtonsToRender:[],hasFB:function(){return typeof window.FB=="object"&&FB.Event&&typeof FB.Event.subscribe=="function"},addLikeButton:function(b,c){if(SHR4P.fbUtil.hasFBNameSpace()){var a=SHR4P.jQuery('<fb:like href="'+c+'"layout="button_count" show_faces="true" width="60" font=""></fb:like>').appendTo(b);typeof window.FB!="undefined"&&FB.XFBML&&FB.XFBML.parse?FB.XFBML.parse(a.get(0)):SHR4P.fbUtil.likeButtonsToRender.push(a.get(0))}else SHR4P.jQuery('<iframe src="https://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+
68
  c+'&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>').appendTo(b)},renderFBWidgets:function(){if(!SHR4P.fbUtil.renderFBWidgetCalled){setTimeout("SHR4P.fbUtil.renderFBLikeButtons()",0);setTimeout("SHR4P.fbUtil.renderFBSendButtons()",0);for(var b=0;b<SHR4P.fbUtil.likeButtonsToRender.length;++b)typeof window.FB!=
69
  "undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(SHR4P.fbUtil.likeButtonsToRender[b]);SHR4P.fbUtil.renderFBWidgetCalled=true}},renderFBSendButtons:function(){SHR4P.jQuery(".shareaholic-fbsend",".shareaholic-like-buttonset").each(function(){if(SHR4P.fbUtil.hasFBNameSpace()){var b=SHR4P.jQuery(this),c=b.attr("data-shr_href");if(typeof c=="undefined"||!c)c=encodeURIComponent(document.location.href);var a=SHR4P.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);
70
- b.replaceWith(a);SHR4P.ga.socialAction({serviceId:5,serviceAction:"render",link:c});b=SHR4P.jQuery('<fb:send href="'+c+'" width="60" font=""></fb:send>').appendTo(a);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(b.get(0))}})},renderFBLikeButtons:function(){SHR4P.jQuery(".shareaholic-fblike",".shareaholic-like-buttonset").each(function(){var b=SHR4P.jQuery(this),c=b.attr("data-shr_href");if(typeof c=="undefined"||!c)c=encodeURIComponent(document.location.href);var a=b.attr("data-shr_layout");
71
  if(typeof a=="undefined"||!a)a="button_count";var f=b.attr("data-shr_showfaces");if(typeof f=="undefined"||!f)f="true";var d=b.attr("data-shr_send");if(typeof d=="undefined"||!d)d="false";var g=b.attr("data-shr_action");if(typeof g=="undefined"||!g||g.toLowerCase()!="recommend"&&g.toLowerCase()!="like")g="like";var e=SHR4P.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);b.replaceWith(e);if(SHR4P.fbUtil.hasFBNameSpace()){a=SHR4P.jQuery('<fb:like action="'+
72
  g+'" send = "'+d+'" href="'+c+'"layout="'+a+'" show_faces="'+f+'" width="60" font=""></fb:like>').appendTo(e);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(a.get(0))}else{b="30";d="60";switch(a){case "button_count":d="90";b="21";break;case "box_count":d="60";b="90";break;default:d="60";b="80"}SHR4P.jQuery('<iframe src="https://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+c+"&amp;send=false&amp;layout="+a+"&amp;width="+d+"&amp;show_faces="+f+"&amp;action="+
73
  g+"&amp;colorscheme=light&amp;font&amp;height="+b+'" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:'+d+"px; height:"+b+'px;" allowTransparency="true"></iframe>').appendTo(e)}SHR4P.ga.socialAction({serviceId:5,serviceAction:"render",link:c})})},addFBConnect:function(){SHR4P.fbUtil.addFBNameSpace();if(!SHR4P.fbUtil.fbConnectAdd){SHR4P.jQuery('<div id="fb-root"></div>').appendTo("body");window.fbAsyncInit=function(){FB.init({appId:"207766518608",status:true,cookie:true,xfbml:true});
67
  SHR4P.fbUtil={fbConnectAdd:0,renderFBWidgetCalled:!1,likeButtonsToRender:[],hasFB:function(){return typeof window.FB=="object"&&FB.Event&&typeof FB.Event.subscribe=="function"},addLikeButton:function(b,c){if(SHR4P.fbUtil.hasFBNameSpace()){var a=SHR4P.jQuery('<fb:like href="'+c+'"layout="button_count" show_faces="true" width="60" font=""></fb:like>').appendTo(b);typeof window.FB!="undefined"&&FB.XFBML&&FB.XFBML.parse?FB.XFBML.parse(a.get(0)):SHR4P.fbUtil.likeButtonsToRender.push(a.get(0))}else SHR4P.jQuery('<iframe src="https://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+
68
  c+'&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>').appendTo(b)},renderFBWidgets:function(){if(!SHR4P.fbUtil.renderFBWidgetCalled){setTimeout("SHR4P.fbUtil.renderFBLikeButtons()",0);setTimeout("SHR4P.fbUtil.renderFBSendButtons()",0);for(var b=0;b<SHR4P.fbUtil.likeButtonsToRender.length;++b)typeof window.FB!=
69
  "undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(SHR4P.fbUtil.likeButtonsToRender[b]);SHR4P.fbUtil.renderFBWidgetCalled=true}},renderFBSendButtons:function(){SHR4P.jQuery(".shareaholic-fbsend",".shareaholic-like-buttonset").each(function(){if(SHR4P.fbUtil.hasFBNameSpace()){var b=SHR4P.jQuery(this),c=b.attr("data-shr_href");if(typeof c=="undefined"||!c)c=encodeURIComponent(document.location.href);var a=SHR4P.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);
70
+ b.replaceWith(a);SHR4P.ga.socialAction({serviceId:5,serviceAction:"render",link:c});b=SHR4P.jQuery('<fb:send href="'+c+'" width="60" font=""></fb:send>').appendTo(a);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(b.get(0))}})},renderFBLikeButtons:function(){SHR4P.jQuery(".shareaholic-fblike",".shareaholic-like-buttonset").each(function(){var b=SHR4P.jQuery(this),c=decodeURIComponent(b.attr("data-shr_href"));if(typeof c=="undefined"||!c)c=document.location.href;var a=b.attr("data-shr_layout");
71
  if(typeof a=="undefined"||!a)a="button_count";var f=b.attr("data-shr_showfaces");if(typeof f=="undefined"||!f)f="true";var d=b.attr("data-shr_send");if(typeof d=="undefined"||!d)d="false";var g=b.attr("data-shr_action");if(typeof g=="undefined"||!g||g.toLowerCase()!="recommend"&&g.toLowerCase()!="like")g="like";var e=SHR4P.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);b.replaceWith(e);if(SHR4P.fbUtil.hasFBNameSpace()){a=SHR4P.jQuery('<fb:like action="'+
72
  g+'" send = "'+d+'" href="'+c+'"layout="'+a+'" show_faces="'+f+'" width="60" font=""></fb:like>').appendTo(e);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(a.get(0))}else{b="30";d="60";switch(a){case "button_count":d="90";b="21";break;case "box_count":d="60";b="90";break;default:d="60";b="80"}SHR4P.jQuery('<iframe src="https://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+c+"&amp;send=false&amp;layout="+a+"&amp;width="+d+"&amp;show_faces="+f+"&amp;action="+
73
  g+"&amp;colorscheme=light&amp;font&amp;height="+b+'" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:'+d+"px; height:"+b+'px;" allowTransparency="true"></iframe>').appendTo(e)}SHR4P.ga.socialAction({serviceId:5,serviceAction:"render",link:c})})},addFBConnect:function(){SHR4P.fbUtil.addFBNameSpace();if(!SHR4P.fbUtil.fbConnectAdd){SHR4P.jQuery('<div id="fb-root"></div>').appendTo("body");window.fbAsyncInit=function(){FB.init({appId:"207766518608",status:true,cookie:true,xfbml:true});
spritegen_default/jquery.shareaholic-share-buttons.min.js CHANGED
@@ -38,7 +38,7 @@ SHR4P.dough=SHR4P.dough||function(a,b){return function(){if(typeof SHRSB_Globals
38
  SHR4P.TB.fbUtil={fbConnectAdd:0,renderFBWidgetCalled:!1,likeButtonsToRender:[],hasFB:function(){return typeof window.FB=="object"&&FB.Event&&typeof FB.Event.subscribe=="function"},addLikeButton:function(a,b){if(SHR4P.TB.fbUtil.hasFBNameSpace()){var c=SHR4P.TB.jQuery('<fb:like href="'+b+'"layout="button_count" show_faces="true" width="60" font=""></fb:like>').appendTo(a);typeof window.FB!="undefined"&&FB.XFBML&&FB.XFBML.parse?FB.XFBML.parse(c.get(0)):SHR4P.TB.fbUtil.likeButtonsToRender.push(c.get(0))}else SHR4P.TB.jQuery('<iframe src="http://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+
39
  b+'&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>').appendTo(a)},renderFBWidgets:function(){if(!SHR4P.TB.fbUtil.renderFBWidgetCalled){setTimeout("SHR4P.TB.fbUtil.renderFBLikeButtons()",0);setTimeout("SHR4P.TB.fbUtil.renderFBSendButtons()",0);for(var a=0;a<SHR4P.TB.fbUtil.likeButtonsToRender.length;++a)typeof window.FB!=
40
  "undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(SHR4P.TB.fbUtil.likeButtonsToRender[a]);SHR4P.TB.fbUtil.renderFBWidgetCalled=true}},renderFBSendButtons:function(){SHR4P.TB.jQuery(".shareaholic-fbsend",".shareaholic-like-buttonset").each(function(){if(SHR4P.TB.fbUtil.hasFBNameSpace()){var a=SHR4P.TB.jQuery(this),b=a.attr("data-shr_href");if(typeof b=="undefined"||!b)b=encodeURIComponent(document.location.href);var c=SHR4P.TB.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);
41
- a.replaceWith(c);a=SHR4P.TB.jQuery('<fb:send href="'+b+'" width="60" font=""></fb:send>').appendTo(c);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(a.get(0))}})},renderFBLikeButtons:function(){SHR4P.TB.jQuery(".shareaholic-fblike",".shareaholic-like-buttonset").each(function(){var a=SHR4P.TB.jQuery(this),b=a.attr("data-shr_href");if(typeof b=="undefined"||!b)b=encodeURIComponent(document.location.href);var c=a.attr("data-shr_layout");if(typeof c=="undefined"||!c)c="button_count";
42
  var e=a.attr("data-shr_showfaces");if(typeof e=="undefined"||!e)e="true";var d=a.attr("data-shr_send");if(typeof d=="undefined"||!d)d="false";var f=a.attr("data-shr_action");if(typeof f=="undefined"||!f||f.toLowerCase()!="recommend"&&f.toLowerCase()!="like")f="like";var g=SHR4P.TB.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);a.replaceWith(g);if(SHR4P.TB.fbUtil.hasFBNameSpace()){b=SHR4P.TB.jQuery('<fb:like action="'+f+'" send = "'+d+'" href="'+b+
43
  '"layout="'+c+'" show_faces="'+e+'" width="60" font=""></fb:like>').appendTo(g);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(b.get(0))}else{a="30";d="60";switch(c){case "button_count":d="90";a="21";break;case "box_count":d="60";a="90";break;default:d="60";a="80"}SHR4P.TB.jQuery('<iframe src="http://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+b+"&amp;send=false&amp;layout="+c+"&amp;width="+d+"&amp;show_faces="+e+"&amp;action="+f+"&amp;colorscheme=light&amp;font&amp;height="+
44
  a+'" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:'+d+"px; height:"+a+'px;" allowTransparency="true"></iframe>').appendTo(g)}})},addFBConnect:function(){SHR4P.TB.fbUtil.addFBNameSpace();if(!SHR4P.TB.fbUtil.fbConnectAdd){SHR4P.TB.jQuery('<div id="fb-root"></div>').appendTo("body");window.fbAsyncInit=function(){FB.init({appId:"207766518608",status:true,cookie:true,xfbml:true});SHR4P.TB.fbUtil.tryAddFBSubscription()};SHR4P.TB.fbUtil.renderFBWidgetHandlerAttached=true;var a=
38
  SHR4P.TB.fbUtil={fbConnectAdd:0,renderFBWidgetCalled:!1,likeButtonsToRender:[],hasFB:function(){return typeof window.FB=="object"&&FB.Event&&typeof FB.Event.subscribe=="function"},addLikeButton:function(a,b){if(SHR4P.TB.fbUtil.hasFBNameSpace()){var c=SHR4P.TB.jQuery('<fb:like href="'+b+'"layout="button_count" show_faces="true" width="60" font=""></fb:like>').appendTo(a);typeof window.FB!="undefined"&&FB.XFBML&&FB.XFBML.parse?FB.XFBML.parse(c.get(0)):SHR4P.TB.fbUtil.likeButtonsToRender.push(c.get(0))}else SHR4P.TB.jQuery('<iframe src="http://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+
39
  b+'&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>').appendTo(a)},renderFBWidgets:function(){if(!SHR4P.TB.fbUtil.renderFBWidgetCalled){setTimeout("SHR4P.TB.fbUtil.renderFBLikeButtons()",0);setTimeout("SHR4P.TB.fbUtil.renderFBSendButtons()",0);for(var a=0;a<SHR4P.TB.fbUtil.likeButtonsToRender.length;++a)typeof window.FB!=
40
  "undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(SHR4P.TB.fbUtil.likeButtonsToRender[a]);SHR4P.TB.fbUtil.renderFBWidgetCalled=true}},renderFBSendButtons:function(){SHR4P.TB.jQuery(".shareaholic-fbsend",".shareaholic-like-buttonset").each(function(){if(SHR4P.TB.fbUtil.hasFBNameSpace()){var a=SHR4P.TB.jQuery(this),b=a.attr("data-shr_href");if(typeof b=="undefined"||!b)b=encodeURIComponent(document.location.href);var c=SHR4P.TB.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);
41
+ a.replaceWith(c);a=SHR4P.TB.jQuery('<fb:send href="'+b+'" width="60" font=""></fb:send>').appendTo(c);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(a.get(0))}})},renderFBLikeButtons:function(){SHR4P.TB.jQuery(".shareaholic-fblike",".shareaholic-like-buttonset").each(function(){var a=SHR4P.TB.jQuery(this),b=decodeURIComponent(a.attr("data-shr_href"));if(typeof b=="undefined"||!b)b=document.location.href;var c=a.attr("data-shr_layout");if(typeof c=="undefined"||!c)c="button_count";
42
  var e=a.attr("data-shr_showfaces");if(typeof e=="undefined"||!e)e="true";var d=a.attr("data-shr_send");if(typeof d=="undefined"||!d)d="false";var f=a.attr("data-shr_action");if(typeof f=="undefined"||!f||f.toLowerCase()!="recommend"&&f.toLowerCase()!="like")f="like";var g=SHR4P.TB.jQuery("<div style='float:left;padding-top:0px !important; margin:0px 5px !important;'/>").get(0);a.replaceWith(g);if(SHR4P.TB.fbUtil.hasFBNameSpace()){b=SHR4P.TB.jQuery('<fb:like action="'+f+'" send = "'+d+'" href="'+b+
43
  '"layout="'+c+'" show_faces="'+e+'" width="60" font=""></fb:like>').appendTo(g);typeof window.FB!="undefined"&&(FB.XFBML&&FB.XFBML.parse)&&FB.XFBML.parse(b.get(0))}else{a="30";d="60";switch(c){case "button_count":d="90";a="21";break;case "box_count":d="60";a="90";break;default:d="60";a="80"}SHR4P.TB.jQuery('<iframe src="http://www.facebook.com/plugins/like.php?app_id=207766518608&amp;href='+b+"&amp;send=false&amp;layout="+c+"&amp;width="+d+"&amp;show_faces="+e+"&amp;action="+f+"&amp;colorscheme=light&amp;font&amp;height="+
44
  a+'" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:'+d+"px; height:"+a+'px;" allowTransparency="true"></iframe>').appendTo(g)}})},addFBConnect:function(){SHR4P.TB.fbUtil.addFBNameSpace();if(!SHR4P.TB.fbUtil.fbConnectAdd){SHR4P.TB.jQuery('<div id="fb-root"></div>').appendTo("body");window.fbAsyncInit=function(){FB.init({appId:"207766518608",status:true,cookie:true,xfbml:true});SHR4P.TB.fbUtil.tryAddFBSubscription()};SHR4P.TB.fbUtil.renderFBWidgetHandlerAttached=true;var a=