Index: /extensions/addThis/admin/AddThis.php
===================================================================
--- /extensions/addThis/admin/AddThis.php	(revision 3595)
+++ /extensions/addThis/admin/AddThis.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
+ * Version: 0.0.3
  * Description: Addthis activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293
@@ -19,7 +19,7 @@
 
 $template->append('head_elements',
-		   '<script type="text/javascript" src="./plugins/AddThis/farbtastic/farbtastic.js"></script>
-<link href="./plugins/AddThis/js/addthis.css" rel="stylesheet" type="text/css" />
-<link href="./plugins/AddThis/farbtastic/farbtastic.css" rel="stylesheet" type="text/css"  />');
+		   '<script type="text/javascript" src="'.ADDTHIS_PATH.'farbtastic/farbtastic.js"></script>
+<link href="'.ADDTHIS_JS_PATH.'addthis.css" rel="stylesheet" type="text/css" />
+<link href="'.ADDTHIS_PATH.'farbtastic/farbtastic.css" rel="stylesheet" type="text/css"  />');
 $template->set_filenames( array('plugin_admin_content' => ADDTHIS_ROOT.'/admin/AddThis.tpl') );
 
Index: /extensions/addThis/admin/AddThis.tpl
===================================================================
--- /extensions/addThis/admin/AddThis.tpl	(revision 3595)
+++ /extensions/addThis/admin/AddThis.tpl	(revision 3596)
@@ -79,5 +79,5 @@
 							<td><input name="HomeButton" type="radio" value="8" {$Homebutton8_checked} /></td>
 							<td><input name="CategoryButton" type="radio" value="8" {$Categorybutton8_checked} /></td>
-							<td><input name="ImageButton" type="radio" value="8" {$Imagebutton8_checked} /></td>
+							<td>&nbsp;</td>
 						</tr>
 
Index: /extensions/addThis/admin/AddThis_admin.php
===================================================================
--- /extensions/addThis/admin/AddThis_admin.php	(revision 3595)
+++ /extensions/addThis/admin/AddThis_admin.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
+ * Version: 0.0.3
  * Description: Addthis activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293?eid=293
@@ -30,5 +30,5 @@
 $tabsheet->add('AddThis',
 				l10n('AddThis'),
-               $my_base_url.'&amp;tab=addthis');
+               $my_base_url.'&amp;tab=AddThis');
 $tabsheet->assign();
 
Index: /extensions/addThis/include/AddThis.class.php
===================================================================
--- /extensions/addThis/include/AddThis.class.php	(revision 3595)
+++ /extensions/addThis/include/AddThis.class.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
+ * Version: 0.0.3
  * Description: AddThis activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293
@@ -19,21 +19,16 @@
 	    global $template, $page, $user;
 
-			if (  (isset($page['page']) && ($page['page']) == 'plugin')
-				&&(isset($page['body_id']) && isset($page['section']) && ($page['section']) == 'theAdminPage'))
-					$cssfile = '<link href="./plugins/AddThis/js/addthis.css" rel="stylesheet" type="text/css" />';
-			else
-			{
-				if (isset($page['section']) && ($page['section']) == 'categories')
-				{			
-					// Selection du mode 'icones'
-					if (	(isset($page['image_id']) && $this->my_config['ImageButton'] == 8)
-						 ||	(empty($page['category']) && $this->my_config['HomeButton'] == 8)
-						 ||	(isset($page['category']) && $this->my_config['CategoryButton'] == 8)
-						)
-						$cssfile = '<link href="./plugins/AddThis/js/addthis.css" rel="stylesheet" type="text/css" />';
-				}
-			}
-			if (isset($cssfile))		
-				$template->append('head_elements',$cssfile);		
+        if (isset($page['section']) && ($page['section']) == 'categories')
+        {			
+            // Selection du mode 'icones'
+            if (	(isset($page['image_id']) && $this->my_config['ImageButton'] == 8)
+                 ||	(empty($page['category']) && $this->my_config['HomeButton'] == 8)
+                 ||	(isset($page['category']) && $this->my_config['CategoryButton'] == 8)
+                )
+//						$cssfile = '<link href="./plugins/AddThis/js/addthis.css" rel="stylesheet" type="text/css" />';
+                $cssfile = '<link href="'.ADDTHIS_JS_PATH.'addthis.css" rel="stylesheet" type="text/css" />';
+        }
+        if (isset($cssfile))		
+            $template->append('head_elements',$cssfile);		
 	    
 	}
@@ -69,4 +64,14 @@
 						);
 
+		// Taille des boutons
+		$addthis_img_size = array(
+			'',
+			'125',
+			'83',
+			'123',
+			'83',
+			'125',
+			'16',
+			'');					
 		$addthis_option = '';
 		$addthis_img = 0;
@@ -89,5 +94,5 @@
 		}
 		// pas d'affichage sur selection = 'desactive' ou si selection = 'icones'
-		if ($addthis_img > 0 && $addthis_img < 8)
+		if ($addthis_img > 0 && $addthis_img < 9)
 		{
 			foreach ($this->my_config['addthis_options'] as $key => $value) 
@@ -102,64 +107,84 @@
 	                                                          
 
-				$tpl_code = (isset($page['image_id']) ? "\n".'<p align="left">' :"\n<li>")
-				.'<script type="text/javascript">'
-				.(strlen($addthis_option) != 0 ? 'var addthis_options = \''.$addthis_option.'\'': '')
-				.(strlen($this->my_config['addthis_pub']) != 0 ? "\n".'var addthis_pub = "'.$this->my_config['addthis_pub'].'";' : '')
-				.(strlen($this->my_config['addthis_brand']) != 0 ? "\n".'var addthis_brand = "'.$this->my_config['addthis_brand'].'";' : '')
-				.(strlen($this->my_config['addthis_header_color']) != 0 ? "\n".'var addthis_header_color = "'.$this->my_config['addthis_header_color'].'";' : '')
-				.(strlen($this->my_config['addthis_header_background']) != 0 ? "\n".'var addthis_header_background = "'.$this->my_config['addthis_header_background'].'";' : '')
-
-				.(strlen($this->my_config['addthis_offset_top']) != 0 ? "\n".'var addthis_offset_top = '.$this->my_config['addthis_offset_top'].';' : '')
-				.(strlen($this->my_config['addthis_offset_left']) != 0 ? "\n".'var addthis_offset_left = '.$this->my_config['addthis_offset_left'].';' : '')
-				.(strlen($this->my_config['addthis_hover_delay']) != 0 ? "\n".'var addthis_hover_delay = '.$this->my_config['addthis_hover_delay'].';' : '')
-				.(strlen($this->my_config['addthis_language']) != 0 ? "\n".'var addthis_language = "'.$this->my_config['addthis_language'].'";' : '')
-
-				.'</script>
-				<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()">'
+            $tpl_code = (isset($page['image_id']) ? "\n" :"\n<li>")
+            .'<script type="text/javascript">'
+            .(strlen($this->my_config['addthis_pub']) != 0 ? "\n".'var addthis_pub = "'.$this->my_config['addthis_pub'].'";' : '')
+            .(strlen($this->my_config['addthis_brand']) != 0 ? "\n".'var addthis_brand = "'.$this->my_config['addthis_brand'].'";' : '')
+            .(strlen($this->my_config['addthis_header_color']) != 0 ? "\n".'var addthis_header_color = "'.$this->my_config['addthis_header_color'].'";' : '')
+            .(strlen($this->my_config['addthis_header_background']) != 0 ? "\n".'var addthis_header_background = "'.$this->my_config['addthis_header_background'].'";' : '')
+            .(strlen($this->my_config['addthis_offset_top']) != 0 ? "\n".'var addthis_offset_top = '.$this->my_config['addthis_offset_top'].';' : '')
+            .(strlen($this->my_config['addthis_offset_left']) != 0 ? "\n".'var addthis_offset_left = '.$this->my_config['addthis_offset_left'].';' : '')
+            .(strlen($this->my_config['addthis_hover_delay']) != 0 ? "\n".'var addthis_hover_delay = '.$this->my_config['addthis_hover_delay'].';' : '')
+            .(strlen($this->my_config['addthis_language']) != 0 ? "\n".'var addthis_language = "'.$this->my_config['addthis_language'].'";' : '')
+             ."\n" ;
+                
+            if ($addthis_img > 0 && $addthis_img < 8)
+            {
+                $tpl_code.=(strlen($addthis_option) != 0 ? 'var addthis_options = \''.$addthis_option.'\'': '')
+                ."\n"
+                .'</script>';
+
+                
+				$tpl_code .= '<a style="padding:4px;'.(isset($addthis_img_size[$addthis_img]) ? 'width:'.$addthis_img_size[$addthis_img].'px;' : '').'" href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()">'
+                 ."\n" 
 				.$addthis_img_src[$addthis_img]
+                 ."\n"
 				// si selection du 7
 				.($addthis_img == 7 ? (strlen($this->my_config['addthis_icon_text']) != 0 ? $this->my_config['addthis_icon_text'] : 'Share' ) : '')
-				.'</a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>'
-				.(isset($page['image_id']) ? '</p>' :'</li>');
-
-		}
-		else if ($addthis_img == 8)
-		{
-
-			$tpl_code = '
-			<script type="text/javascript">	
-			addthis_title 	= document.title;
-			addthis_url 	= window.location.href;
-			addthis_clickout= true;'
-			.(strlen($this->my_config['addthis_pub']) != 0 ? "\n".'addthis_id = \''.$this->my_config['addthis_pub'].'\';' : '')
-			.'</script>'
-			."\n";
-			$nb_icons = 1;
-			foreach ($this->my_config['addthis_options'] as $key => $value) 
-			{
-				if ($nb_icons <= $this->my_config['addthis_icon_nb'])
-				{
-					if ($value == true)
-					{		
-						$nb_icons++;
-
-						$tpl_code .= (isset($page['image_id']) ? '' : '<li>')
-						.'<a href="/" title="'.$key.'" onclick="return addthis_invoke(\''.$key.'\', addthis_url, addthis_title, addthis_id);" class="at15t at15t_'.$key.'"> &nbsp;'.$key.'</span></a>'
-						.(isset($page['image_id']) ? '' : '</li>')
-						."\n";	
-
-//						$tpl_code .= '<td width="10"></td><td class="c1"><a href="javascript:sets(\''.$key.'\');" class="c1a" onclick="return omc(\''.$key.'\')"><span class="at15t at15t_'.$key.'"></span></a></td>';
-//					$tpl_code .= '<li class="at15t at15t_'.$key.'"><a  href="/" title="'.$key.'" onclick="return addthis_invoke(\''.$key.'\', addthis_url, addthis_title, addthis_id);" ></a></li>';					
-					}
-				}
-			}
-			$tpl_code .= '<script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>'."\n";
-
-		}
-			
+				."\n"
+                .'</a><script type="text/javascript" src="'.ADDTHIS_JS_PATH.'addthis_widget.js"></script>'
+				."\n"
+                .(isset($page['image_id']) ? '' :'</li>');
+            }
+
+            else if ($addthis_img == 8)
+            {
+                $tpl_code .= '</script>';
+
+                $tpl_code .= '
+                <script type="text/javascript">	
+                addthis_title 	= document.title;
+                addthis_url 	= window.location.href;
+                addthis_clickout= true;'
+                .(strlen($this->my_config['addthis_pub']) != 0 ? 'addthis_id = \''.$this->my_config['addthis_pub'].'\';' : '')
+                ."\n"
+                .'</script>'
+                ."\n";
+                
+                $nb_icons = 1;
+
+                $tpl_code .= (isset($page['image_id']) ? '' : '<li>');
+
+                $tpl_code .= '<div class="addthis_toolbox addthis_default_style">';
+
+                foreach ($this->my_config['addthis_options'] as $key => $value) 
+                {
+                    if ($nb_icons <= $this->my_config['addthis_icon_nb'])
+                    {
+                        if ($value == true)
+                        {		
+                            $nb_icons++;
+                            if ($key == "more")	
+                            {
+    							$tpl_code .='<span class="addthis_separator" style="padding:1px;">|</span>';
+                                $tpl_code .='<a href="http://www.addthis.com/bookmark.php?v=250" class="addthis_button_compact""></a>';
+                            }
+                            else
+                                $tpl_code .='<a class="addthis_button_'.$key.'" ></a>';
+
+                        }
+                    }
+                }
+//                $tpl_code .= '<script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>'."\n";
+                $tpl_code .= '<script type="text/javascript" src="'.ADDTHIS_JS_PATH.'addthis_widget.js"></script>'."\n";
+    			$tpl_code .= (isset($page['image_id']) ? '' : '</li>');
+
+                
+            }
+
+		}
 		if (isset($tpl_code))
 		{
 			if (isset($page['image_id']))
-//				$template->concat('PLUGIN_PICTURE_BEFORE', $tpl_code);
 				$template->concat('PLUGIN_PICTURE_ACTIONS', $tpl_code);
 			else
@@ -170,6 +195,4 @@
 
 
-	// Add piclens pics to start slideshow
-	// Another thanks to P@t
 
 	/* Loading of the configuration file - If not exist -> load default values */
@@ -222,20 +245,4 @@
 	}
 	
-		  
-	function add_AddThis_action()
-	{
-		global $template, $page;
-
-			$tpl_code = '<script type="text/javascript">var addthis_pub="4a0c1f674d14de33";</script>
-<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()" class="button"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" ></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>';
-
-		if (isset($tpl_code))
-		{
-//			$template->concat('PLUGIN_INDEX_ACTIONS', $tpl_code);
-			$template->concat('PLUGIN_PICTURE_BEFORE', $tpl_code);
-	
-		}
-	}
-
 	
 	function AddThis_admin_menu($menu)
Index: /extensions/addThis/include/constants.inc.php
===================================================================
--- /extensions/addThis/include/constants.inc.php	(revision 3595)
+++ /extensions/addThis/include/constants.inc.php	(revision 3596)
@@ -2,7 +2,7 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
- * Description: Addthiss activation
- * Plugin URI: http://fr.piwigo.org/ext/extension_view.php
+ * Version: 0.0.3
+ * Description: Addthis activation
+ * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293
  * Author: Tiico
  * Author URI: 
Index: /extensions/addThis/include/default_values.inc.php
===================================================================
--- /extensions/addThis/include/default_values.inc.php	(revision 3595)
+++ /extensions/addThis/include/default_values.inc.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
+ * Version: 0.0.3
  * Description: Addthiss activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293
Index: /extensions/addThis/js/addthis.css
===================================================================
--- /extensions/addThis/js/addthis.css	(revision 3595)
+++ /extensions/addThis/js/addthis.css	(revision 3596)
@@ -1,59 +1,78 @@
-.at15t{display:inline-block!important;height:16px!important;line-height:16px!important;padding-left:20px!important;background:url(../img/icons.gif) no-repeat left;cursor:pointer;}
-.at15t_more{background-position:0px 100px}
-.at15t_000{background-position:0px -0px}
-.at15t_aim{background-position:0px -16px;}
-.at15t_ask{background-position:0px -32px}
-.at15t_backflip{background-position:0px -48px}
-.at15t_ballhype{background-position:0px -64px}
-.at15t_bebo{background-position:0px -80px}
-.at15t_blinklist{background-position:0px -96px}
-.at15t_blogmarks{background-position:0px -112px}
-.at15t_buzz{background-position:0px -128px}
-.at15t_delicious{background-position:0px -144px}
-.at15t_digg{background-position:0px -160px}
-.at15t_diigo{background-position:0px -176px}
-.at15t_email{background-position:0px -192px}
-.at15t_facebook{background-position:0px -208px}
-.at15t_fark{background-position:0px -224px}
-.at15t_faves{background-position:0px -240px}
-.at15t_favorites{background-position:0px -256px}
-.at15t_feedmelinks{background-position:0px -272px}
-.at15t_friendfeed{background-position:0px -288px}
-.at15t_furl{background-position:0px -304px}
-.at15t_google{background-position:0px -320px}
-.at15t_kaboodle{background-position:0px -336px}
-.at15t_kirtsy{background-position:0px -352px}
-.at15t_linkagogo{background-position:0px -368px}
-.at15t_linkedin{background-position:0px -384px}
-.at15t_live{background-position:0px -400px}
-.at15t_misterwong{background-position:0px -416px}
-.at15t_mixx{background-position:0px -432px}
-.at15t_multiply{background-position:0px -448px}
-.at15t_myaol{background-position:0px -464px}
-.at15t_myspace{background-position:0px -480px}
-.at15t_netvibes{background-position:0px -496px}
-.at15t_netvouz{background-position:0px -512px}
-.at15t_newsvine{background-position:0px -528px}
-.at15t_pownce{background-position:0px -544px}
-.at15t_print{background-position:0px -560px}
-.at15t_propeller{background-position:0px -576px}
-.at15t_reddit{background-position:0px -592px}
-.at15t_segnalo{background-position:0px -608px}
-.at15t_shadows{background-position:0px -624px}
-.at15t_simpy{background-position:0px -640px}
-.at15t_slashdot{background-position:0px -672px}
-.at15t_spurl{background-position:0px -688px}
-.at15t_stumbleupon{background-position:0px -704px}
-.at15t_stylehive{background-position:0px -720px}
-.at15t_tailrank{background-position:0px -736px}
-.at15t_technorati{background-position:0px -752px}
-.at15t_thisnext{background-position:0px -768px}
-.at15t_twitter{background-position:0px -784px}
-.at15t_yahoobkm{background-position:0px -800px}
-.at15t_yardbarker{background-position:0px -816px}
-.at15t_netscape{background-position:0px -576px}
-
 #colorpicker{
 	float:right;
 	margin-left:10px;
 }
+
+.at15t{display:block!important;height:16px!important;line-height:16px!important;padding-left:20px!important;background:url(../img/widget01.png) no-repeat left;cursor:pointer}.addthis_button {    cursor:pointer}
+.addthis_toolbox.addthis_default_style span {   line-height:16px;   } 
+.addthis_default_style {display:inline-block! important ;   line-height:16px;  padding:4px; height:16px }
+.addthis_default_style .addthis_separator {    margin:0px 5px;   display:inline-block}
+div.atclear {    clear:both}/* float rule */
+.addthis_default_style .addthis_separator,.addthis_default_style .at300b,.addthis_default_style .at300m,.addthis_default_style .at300bs {}
+.at300b img {    border:0}/* float padding */
+.addthis_default_style .at300b,.addthis_default_style .at300m {    padding:0px 2px}/* cursor rule */.at300b,.at300m,.at300bs {cursor:pointer}
+.at300bs {background:url(../img/widget01.png) no-repeat left;   overflow:hidden;   display:block;   height:16px;   width:16px;line-height:16px!important}
+.at300bs
+.at15t_expanded,.at300bs
+.at15t_compact {    background:url(../img/logo1414.gif) no-repeat left;margin-right:4px}
+.at15t_more{background:url(../img/logo1414.gif) no-repeat left !important} /*;background-position:0px 100px}*/
+.at15t_000{background-position:0px -0px}
+.at15t_aim{background-position:0px -16px!important}
+.at15t_amazonwishlist{background-position:0px -32px!important}
+.at15t_ask{background-position:0px -48px!important}
+.at15t_backflip{background-position:0px -64px!important}
+.at15t_ballhype{background-position:0px -80px!important}
+.at15t_bebo{background-position:0px -96px!important}
+.at15t_blogger{background-position:0px -112px!important}
+.at15t_blogmarks{background-position:0px -128px!important}
+.at15t_buzz{background-position:0px -144px!important}
+.at15t_delicious{background-position:0px -160px!important}
+.at15t_digg{background-position:0px -176px!important}
+.at15t_diigo{background-position:0px -192px!important}
+.at15t_email{background-position:0px -208px!important}
+.at15t_facebook{background-position:0px -224px!important}
+.at15t_fark{background-position:0px -240px!important}
+.at15t_faves{background-position:0px -256px!important}
+.at15t_favorites{background-position:0px -272px!important}
+.at15t_friendfeed{background-position:0px -288px!important}
+.at15t_friendster{background-position:0px -304px!important}
+.at15t_google{background-position:0px -320px!important}
+.at15t_hatena{background-position:0px -336px!important}
+.at15t_hi5{background-position:0px -352px!important}
+.at15t_kaboodle{background-position:0px -368px!important}
+.at15t_kirtsy{background-position:0px -384px!important}
+.at15t_linkagogo{background-position:0px -400px!important}
+.at15t_linkedin{background-position:0px -416px!important}
+.at15t_live{background-position:0px -432px!important}
+.at15t_meneame{background-position:0px -448px!important}
+.at15t_misterwong{background-position:0px -464px!important}
+.at15t_mixx{background-position:0px -480px!important}
+.at15t_multiply{background-position:0px -496px!important}
+.at15t_myaol{background-position:0px -512px!important}
+.at15t_myspace{background-position:0px -528px!important}
+.at15t_netvibes{background-position:0px -544px!important}
+.at15t_netvouz{background-position:0px -560px!important}
+.at15t_newsvine{background-position:0px -576px!important}
+.at15t_nujij{background-position:0px -592px!important}
+.at15t_orkut{background-position:0px -608px!important}
+.at15t_plaxo{background-position:0px -624px!important}
+.at15t_print{background-position:0px -640px!important}
+.at15t_propeller{background-position:0px -656px!important}
+.at15t_reddit{background-position:0px -672px!important}
+.at15t_segnalo{background-position:0px -688px!important}
+.at15t_simpy{background-position:0px -704px!important}
+.at15t_slashdot{background-position:0px -720px!important}
+.at15t_spurl{background-position:0px -736px!important}
+.at15t_stumbleupon{background-position:0px -752px!important}
+.at15t_stylehive{background-position:0px -768px!important}
+.at15t_tailrank{background-position:0px -784px!important}
+.at15t_technorati{background-position:0px -800px!important}
+.at15t_thisnext{background-position:0px -816px!important}
+.at15t_tipd{background-position:0px -832px!important}
+.at15t_tumblr{background-position:0px -848px!important}
+.at15t_twitter{background-position:0px -864px!important}
+.at15t_typepad{background-position:0px -880px!important}
+.at15t_wordpress{background-position:0px -896px!important}
+.at15t_yahoobkm{background-position:0px -912px!important}
+.at15t_yardbarker{background-position:0px -928px!important}
+.at15t_netscape{background-position:0px -656px!important}
Index: /extensions/addThis/js/addthis_widget.js
===================================================================
--- /extensions/addThis/js/addthis_widget.js	(revision 3596)
+++ /extensions/addThis/js/addthis_widget.js	(revision 3596)
@@ -0,0 +1,2 @@
+/* (c) 2008, 2009 Add This, LLC */
+if(!window._ate){var _atd="www.addthis.com/",_atr="//s7.addthis.com/",_euc=encodeURIComponent,_duc=decodeURIComponent,_atu="undefined",_atc={dr:0,ver:250,loc:0,enote:"",cwait:500,tamp:1,samp:0.01,camp:0.05,vamp:1,addr:-1,addt:1,xfl:!!window.addthis_disable_flash,abf:!!window.addthis_do_ab};(function(){try{var l=window.location;if(l.protocol.indexOf("file")===0){_atr="http:"+_atr;}if(l.hostname.indexOf("localhost")!=-1){_atc.loc=1;}}catch(e){}var ua=navigator.userAgent.toLowerCase(),d=document,w=window,wa=w.addEventListener,we=w.attachEvent,dl=d.location,b={win:/windows/.test(ua),chr:/chrome/.test(ua),iph:/iphone/.test(ua),saf:(/webkit/.test(ua))&&!(/chrome/.test(ua)),opr:/opera/.test(ua),msi:(/msie/.test(ua))&&!(/opera/.test(ua)),ffx:/firefox/.test(ua),ie6:/msie 6.0/.test(ua),mod:-1},_9={isBound:false,isReady:false,readyList:window.addthis_onload||[],onReady:function(){if(!_9.isReady){_9.isReady=true;var l=_9.readyList;for(var fn=0;fn<l.length;fn++){l[fn].call(window);}_9.readyList=[];}},addLoad:function(_c){var _d=w.onload;if(typeof w.onload!="function"){w.onload=_c;}else{w.onload=function(){if(_d){_d();}_c();};}},bindReady:function(){if(r.isBound){return;}r.isBound=true;if(d.addEventListener&&!b.opr){d.addEventListener("DOMContentLoaded",r.onReady,false);}var _e=window.addthis_product;if(_e&&_e.indexOf("f")>-1){r.onReady();return;}if(b.msi&&window==top){(function(){if(r.isReady){return;}try{d.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}r.onReady();})();}if(b.opr){d.addEventListener("DOMContentLoaded",function(){if(r.isReady){return;}for(var i=0;i<d.styleSheets.length;i++){if(d.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}}r.onReady();},false);}if(b.saf){var _10;(function(){if(r.isReady){return;}if(d.readyState!="loaded"&&d.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(_10===undefined){var _12=d.gn("link");for(var i=0;i<_12.length;i++){if(_12[i].getAttribute("rel")=="stylesheet"){_10++;}}var _14=d.gn("style");_10+=_14.length;}if(d.styleSheets.length!=_10){setTimeout(arguments.callee,0);return;}r.onReady();})();}r.addLoad(r.onReady);},append:function(fn,_16){r.bindReady();if(r.isReady){fn.call(window,[]);}else{r.readyList.push(function(){return fn.call(window,[]);});}}},r=_9,_17={vst:[],rev:"$Rev: 64569 $",bro:b,clck:1,show:1,dl:dl,camp:_atc.camp-Math.random(),samp:_atc.samp-Math.random(),vamp:_atc.vamp-Math.random(),tamp:_atc.tamp-Math.random(),ab:"-",scnt:1,seq:1,inst:1,wait:500,tmo:null,cvt:[],svt:[],sttm:new Date().getTime(),max:268435455,pix:"tev",sid:0,sub:!!window.at_sub,uid:null,oot:null,swf:"//bin.clearspring.com/at/v/1/button1.6.swf",evu:"//e1.clearspring.com/at/",off:function(){return Math.floor((new Date().getTime()-_17.sttm)/100).toString(16);},ran:function(){return Math.floor(Math.random()*4294967295).toString(36);},srd:function(){if(_17.dr){return"&pre="+_euc(_17.dir);}else{return"";}},cst:function(c){return"CXNID=2000001.521545608054043907"+(c||2)+"NXC";},img:function(i,c){if(!window.at_sub){var a=_17,dr=a.dr;if(dr){dr=(dr.split("?")).shift();dr=(dr.split("http://")).pop();if(dr.length>25){dr=dr.substr(0,25);}}new Image().src=_atr+"live/t00/"+i+".gif?"+(a.uid!==null?"uid="+a.uid+"&":"")+a.ran()+"&"+a.cst(c)+(a.pub()?"&pub="+a.pub():"")+(dr?"&dr="+_euc(dr):"");}},cuid:function(){return(_17.sttm&_17.max).toString(16)+(Math.floor(Math.random()*_17.max)).toString(16);},ssid:function(){if(_17.sid===0){_17.sid=_17.cuid();}return _17.sid;},sev:function(id,_1e){_17.pix="sev-"+(typeof(id)!=="number"?_euc(id):id);_17.svt.push(id+";"+_17.off());if(_1e===1){_17.xmi(true);}else{_17.sxm(true);}},cev:function(k,v){_17.pix="cev-"+_euc(k);_17.cvt.push(_euc(k)+"="+_euc(v)+";"+_17.off());_17.sxm(true);},sxm:function(b){if(_17.tmo!==null){clearTimeout(_17.tmo);}if(b){_17.tmo=_17.sto("_ate.xmi(false)",_17.wait);}},sto:function(c,t){return setTimeout(c,t);},sta:function(){var a=_17;return"AT-"+(a.pub()?a.pub():"unknown")+"/-/"+a.ab+"/"+a.ssid()+"/"+(a.seq++)+(a.uid!==null?"/"+a.uid:"");},xmi:function(_25){var a=_17,h=a.dl?a.dl.hostname:"";if(!a.uid){a.dck("X"+a.cuid());}else{a.coo();}if(a.cvt.length+a.svt.length>0){a.sxm(false);if(a.seq===1){a.cev("pin",a.inst);}if(_atc.xtr){return;}if(h.indexOf(".gov")>-1||h.indexOf(".mil")>-1){_atc.xck=1;}var urp=a.pix+"-"+a.ran()+".png?ev="+_17.sta()+"&se="+a.svt.join(",")+"&ce="+a.cvt.join(",")+(_atc.xck?"&xck=1":""),url=a.evu+urp;a.cvt=[];a.svt=[];if(_25){var d=document,i=d.ce("iframe");i.id="_atf";i.src=url;_17.opp(i.style);d.body.appendChild(i);i=d.getElementById("_atf");}else{(new Image()).src=url;}}},loc:function(){return _atc.loc;},opp:function(st){st.width="1px";st.height="1px";st.position="absolute";st.zIndex=100000;},pub:function(){return window.addthis_config&&addthis_config.username?_euc(addthis_config.username):(window.addthis_pub||"");},plo:[],lad:function(x){_17.plo.push(x);},lng:function(al){var d=document;if(al&&(al.toLowerCase()).indexOf("en")!==0&&!_17.pll){var o=d.ce("script");o.src=_atr+"static/r07/lang00.js";d.gn("head")[0].appendChild(o);_17.pll=o;}},jlo:function(){try{var d=document,al=(window.addthis_language||addthis_config.ui_language||(_17.bro.msi?navigator.userLanguage:navigator.language));_17.lng(al);if(!_17.pld){var m=d.ce("script");m.src=_atr+"static/r07/menu20.js";d.gn("head")[0].appendChild(m);_17.pld=m;}}catch(e){}},igv:function(){if(!w.addthis_share){w.addthis_share={url:w.addthis_url,title:w.addthis_title};}if(!w.addthis_config){w.addthis_config={username:w.addthis_pub};}else{if(addthis_config.data_use_flash===false){_atc.xfl=1;}if(addthis_config.data_use_cookies===false){_atc.xck=1;}}},lod:function(arg){try{var w=window,a=_17,hp=0,f=((arg===1||w.addthis_load_flash)&&!_atc.abf),dr=d.referer||d.referrer||"",du=dl?dl.href:null,si=du?du.indexOf("sms_ss"):-1,al=(w.addthis_language||(w.addthis_config?w.addthis_config.ui_language:null)||(_17.bro.msi?navigator.userLanguage:navigator.language)),_3d="email,favorites,print,delicious,digg,google,myspace,live,facebook,stumbleupon,twitter,more";a.igv();a.dr=dr;a.ab=(!window.addthis_options||addthis_options==_3d)?w.addthis_ab||Math.round(a.tamp*100/4.55):0;if(a.ab>11){a.ab="f"+(a.ab-11);}else{a.ab="t"+a.ab;}if(!f){if(a.samp>=0&&!a.sub){a.sev("20");a.cev("plo",Math.round(1/_atc.samp));if(a.dr){a.cev("pre",a.dr);hp=1;}}if(a.camp>=0&&du&&dl&&dl.protocol&&(dr.indexOf("com/search")>-1)&&(dl.protocol.indexOf("https")==-1)){dr=dr.split("?").pop();var t=dr.split("&"),fnd=0,quo=-1,ts="";for(var i=0;i<t.length;i++){if(t[i].indexOf("q=")==0||t[i].indexOf("p=")==0){t=_duc(t[i].substr(2)).replace(/\+/g," ");fnd=1;break;}}if(fnd){for(var i=0;i<t.length;i++){switch(t[i]){case" ":if(i>0&&t[i-1]!=" "&&quo==-1){ts+=",";}break;case"\"":if(quo>=0){ts+=t.substr(quo+1,(i)-(quo+1));quo=-1;}else{quo=i;}break;default:if(quo==-1){ts+=t[i];}}}}if(!_17.xck&&ts!=_atu&&ts.length&&ts!==" "&&ts.indexOf(_atu)==-1){new Image().src="//cf.addthis.com/redirector?url="+_euc(du)+"&terms="+ts;}}if(si>-1){var sm=du.substr(si),am=sm.indexOf("&");if(am>-1){sm=sm.substr(0,am);}sm=(sm.split("="))[1];if(a.vamp>=0&&!a.sub&&sm.length){a.cev("plv",Math.round(1/_atc.vamp));a.cev("rsc",sm);}}a.img(_atc.ver+"lo","2");}if(a.plo.length>0){a.jlo();}if(a.swf&&!_atc.xfl&&!(a.loc())&&!_atc.abf&&(f||a.uid===null||(a.uid!=="anonymous"&&((new Date()).getTime()-a.oot>60480000)))){var _45=function(o,n,v){var c=d.createElement("param");c.name=n;c.value=v;o.appendChild(c);};var o=d.createElement("object");a.opp(o.style);o.id="atff";if(b.msi){o.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";_45(o,"movie",a.swf);}else{o.data=a.swf;o.quality="high";o.type="application/x-shockwave-flash";}_45(o,"wmode","transparent");_45(o,"allowScriptAccess","always");d.body.insertBefore(o,d.body.firstChild);if(b.msi){o.outerHTML+=" ";}}}catch(e){}},unl:function(){var a=_17;if(a.samp>=0&&!a.sub&&!_atc.abf){a.sev("21",1);a.cev("pun",1/_atc.samp);}return true;},kck:function(k){var d=document;if(d.cookie){d.cookie=k+"= ; expires=Tue, 31 Mar 2009 05:47:11 UTC; path=/";}},rck:function(k){var d=document;if(d.cookie){var ck=d.cookie.split(";");for(var i=0;i<ck.length;i++){var c=ck[i],x=c.indexOf(k+"=");if(x>=0){return c.substring(x+(k.length+1));}}}return;},coo:function(){if(_17.uid=="anonymous"&&!_17.oot){_17.xck=1;_17.sck("_csoot",(new Date().getTime()));}},dck:function(c){_17.uid=c;_17.sck("_csuid",c);_17.coo();},sck:function(u,v,s){var h=_17.dl?_17.dl.hostname:"";if(h.indexOf(".gov")>-1||h.indexOf(".mil")>-1){_atc.xck=1;_atc.xfl=1;}var p=_17.pub(),x=["usarmymedia","gobiernousa","govdelivery"];for(i in x){if(p==x[i]){_atc.xck=1;_atc.xfl=1;break;}}if(!_atc.xck){d.cookie=u+"="+v+(!s?"; expires=Wed, 04 Oct 2028 03:19:53 GMT":"")+"; path=/";}},fcl:null,asetup:function(x){var a=_17;try{if(x!==null&&x!==_atu){a.dck(x);}if(a.fcl){a.fcl();}}catch(e){}return x;},ao:function(elt,_5f,_60,_61,_62,_63){_17.lad(["open",elt,_5f,_60,_61,_62,_63]);_17.jlo();return false;},ac:function(){},as:function(s,cf,sh){_17.lad(["send",s,cf,sh]);_17.jlo();}},a=_17;w._ate=a;w._adr=r;d.ce=d.createElement;d.gn=d.getElementsByTagName;r.bindReady();if(wa){wa("unload",a.unl,false);}else{if(we){we("onunload",a.unl);}else{w.onunload=a.unl;}}if(!_atc.ost){if(!w.addthis_conf){w.addthis_conf={};}for(var i in addthis_conf){_atc[i]=addthis_conf[i];}_atc.ost=1;}r.append(a.lod);if(d.cookie){var ck=d.cookie.split(";");for(var i=0;i<ck.length;i++){var c=ck[i],x=c.indexOf("_csuid="),y=c.indexOf("_csoot=");if(x>=0){_17.uid=c.substring(x+7);}else{if(y>=0){_17.oot=c.substring(y+7);}}}}try{var l=d.ce("link");l.rel="stylesheet";l.type="text/css";l.href=_atr+"static/r07/widget07.css";l.media="all";d.gn("head")[0].appendChild(l);}catch(e){}var ss=d.gn("script"),s=ss[ss.length-1],q=s.src.replace(/^[^\?]+\??/,""),pq=function(q){var p={};if(!q){return p;}var ps=q.split(/[;&]/);for(var i=0;i<ps.length;i++){var kv=ps[i].split("=");if(!kv||kv.length!=2){continue;}var k=_duc(kv[0]),v=_duc(kv[1]);v=v.replace(/\+/g," ");ps[k]=v;}return ps;},p=pq(q);if(p.pub){w.addthis_pub=_duc(p.pub);if(w.addthis_config){w.addthis_config.username=w.addthis_pub;}}else{if(p.username){w.addthis_pub=_duc(p.username);if(w.addthis_config){w.addthis_config.username=w.addthis_pub;}}}if(p.domready){_atc.dr=1;}try{if(_atc.ver===120){var rc="atb"+w._ate.cuid();d.write("<span id=\""+rc+"\"></span>");w._ate.igv();w._ate.lad(["span",rc,addthis_share.url||"[url]",addthis_share.title||"[title]"]);}if(w.addthis_clickout){_17.lad(["cout"]);}}catch(e){}})();function addthis_open(elt,_7a,_7b,_7c,_7d,_7e){if(typeof _7d=="string"){_7d=null;}return _ate.ao(elt,_7a,_7b,_7c,_7d,_7e);}function addthis_close(){_ate.ac();}function addthis_sendto(s,cf,sh){_ate.as(s,cf,sh);return false;}if(_atc.dr){_adr.onReady();}}else{_ate.inst++;}if(_atc.abf){addthis_open(document.getElementById("ab"),"emailab",window.addthis_url||"[URL]",window.addthis_title||"[TITLE]");}if(!window.addthis||window.addthis.nodeType!==undefined){window.addthis={ost:0,cache:{},plo:[],links:[],button:function(){this.plo.push({call:"button",args:arguments});},toolbox:function(){this.plo.push({call:"toolbox",args:arguments});},update:function(){this.plo.push({call:"update",args:arguments});}};}_adr.append((function(){if(!window.addthis.ost){var d=document,u=undefined,w=window,_4=w.addthis_config,_5=w.addthis_share,_6={},_7={},_8=d.gn("body").item(0),_9=function(o,n){if(n&&o!==n){for(var k in n){if(o[k]===u){o[k]=n[k];}}}},_d=function(o,n){var r={};for(var k in o){if(n[k]){r[k]=n[k];}else{r[k]=o[k];}}return r;},_12=window.addthis,_13=function(_14,tag,_16,_17){tag=tag.toUpperCase();var els=(_14==_8&&_12.cache[tag]?_12.cache[tag]:(_14||_8).getElementsByTagName(tag)),rv=[],o;if(_14==_8){_12.cache[tag]=els;}_16=_16.replace(/\-/g,"\\-");var rx=new RegExp("(^|\\s)"+_16+(_17?"\\w*":"")+"(\\s|$)");for(var i=0;i<els.length;i++){o=els[i];if(rx.test(o.className)){rv.push(o);}}return(rv);},_1d={"aim":"AIM","kirtsy":"kIRTSY","linkagogo":"Link-a-Gogo","meneame":"Men&eacute;ame","misterwong":"Mister Wong","myaol":"myAOL","myspace":"MySpace","yahoobkm":"Y! Bookmarks","typepad":"TypePad","wordpress":"WordPress"},_1e={email:"Email",print:"Print",favorites:"Save to Favorites",twitter:"Tweet This",digg:"Digg This"},_1f={services_custom:1},_20={more:1,email:1},_21={email:1,print:1,more:1,favorites:1},_22=["username","services_custom","services_custom_name","services_custom_url","services_custom_title","services_exclude","services_compact","services_expanded","ui_click","ui_hide_embed","ui_delay","ui_hover_direction","ui_language","ui_offset_top","ui_offset_left","ui_header_color","ui_header_background","ui_icons","ui_cobrand","data_use_flash","data_use_cookies","data_track_linkback"],_23=["url","title","templates","content"],_24=d.getElementsByClassname||_13,_25=function(_26,_27){var sv=_26.services instanceof Array?_26.services[0]:_26.services||"";return"http://"+_atd+"bookmark.php?v="+_atc.ver+"&pub="+_euc(_ate.pub())+"&s="+sv+(_27.url?"&url="+_euc(_27.url):"")+(_27.title?"&title="+_euc(_27.title):"");},_29=function(_2a){if(typeof _2a=="string"){var c=_2a.substr(0,1);if(c=="#"){_2a=d.getElementById(_2a.substr(1));}else{if(c=="."){_2a=_24(_8,"*",_2a.substr(1));}else{}}}if(!(_2a instanceof Array)){_2a=[_2a];}return _2a;},_2c=function(el,_2e,_2f,_30){var rv={};_2f=_2f||{};for(var i=0;i<_2e.length;i++){if(_2f[_2e[i]]&&!_30){rv[_2e[i]]=_2f[_2e[i]];}else{if(el){var p="addthis:"+_2e[i],v=el.getAttribute?el.getAttribute(p)||el[p]:el[p];if(v){rv[_2e[i]]=v;}else{if(_2f[_2e[i]]){rv[_2e[i]]=_2f[_2e[i]];}}}}if(rv[_2e[i]]!==undefined&&_1f[_2e[i]]&&(typeof rv[_2e[i]]=="string")){eval("var e = "+rv[_2e[i]]);rv[_2e[i]]=e;}}return rv;},_35=function(el,_37,_38,_39){var rv={conf:_37||{},share:_38||{}};rv.conf=_2c(el,_22,_37,_39);rv.share=_2c(el,_23,_38,_39);return rv;},_3b=function(_3c,_3d,_3e){if(_3c){_3d=_3d||{};_3e=_3e||{};var _3f=_3d.conf||_4,_40=_3d.share||_5;var _41=_3e.onmouseover,_42=_3e.onmouseout,_43=_3e.onclick,_44=_3e.internal,ss=_3e.singleservice;if(ss){_3f.product="tbx-"+_atc.ver;if(_43===u){_43=_20[ss]?function(el,_47,_48){var s=_d(_48,_7);return addthis_open(el,ss,s.url,s.title,_d(_47,_6),s);}:_21[ss]?function(el,_4b,_4c){var s=_d(_4c,_7);return addthis_sendto(ss,_d(_4b,_6),s);}:null;}}else{if(!_3e.noevents){if(!_3e.nohover&&(!_3f||!_3f.ui_click)){if(_41===u){_41=function(el,_4f,_50){return addthis_open(el,"",null,null,_4f,_50);};}if(_42===u){_42=function(el){return addthis_close();};}if(_43===u){_43=function(el,_53,_54){return addthis_sendto("more",_53,_54);};}}else{if(!_3f||!_3f.ui_click){if(_43===u){_43=function(el,_56,_57){return addthis_open(el,"more");};}}else{if(_43===u){_43=function(el,_59,_5a){return addthis_open(el,"",null,null,_59,_5a);};}}}}}_3c=_29(_3c);for(var i=0;i<_3c.length;i++){var o=_3c[i],_5d=_35(o,_3f,_40)||{};_9(_5d.conf,_4);_9(_5d.share,_5);o.conf=_5d.conf;o.share=_5d.share;if(o.conf.ui_language){_ate.lng(o.conf.ui_language);}if(_41){o.onmouseover=function(){return _41(this,this.conf,this.share);};}if(_42){o.onmouseout=function(){return _42(this);};}if(_43){o.onclick=function(){return _43(this,this.conf,this.share);};}if(o.tagName.toLowerCase()=="a"){if(ss){o.conf.product="tbx-"+_atc.ver;if((_ate.bro.ffx||_ate.bro.chr)&&!_21[ss]){var _5e=o.share.templates&&o.share.templates[ss]?o.share.templates[ss]:"";o.href="//"+_atd+"bookmark.php?pub="+_euc(addthis_config.username||o.conf.username||_ate.pub())+"&v="+_atc.ver+"&source=tbx-"+_atc.ver+"&s="+ss+"&url="+_euc(_5d.share.url||addthis_share.url||"")+"&title="+_euc(_5d.share.title||addthis_share.title||"")+"&content="+_euc(_5d.share.content||addthis_share.content||"")+(_5e?"&template="+_euc(_5e):"")+(o.conf.data_track_linkback?"&sms_ss=1":"");o.target="_blank";_12.links.push(o);}else{if(!_21[ss]){o.onclick=function(){return addthis_sendto.call(this,ss,_d(this.conf,_6),_d(this.share,_7));};}else{if(ss=="email"&&_ate.bro.iph){o.href=w.genieu(this.share);o.email=true;o.target="_blank";_12.links.push(o);}}}if(!o.title){o.title=_1e[ss]?_1e[ss]:"Send to "+(_1d[ss]?_1d[ss]:ss.substr(0,1).toUpperCase()+ss.substr(1));}}}if(_44){var app=_44;if(!o.hasChildNodes()){if(_44=="img"){var img=d.ce("img");img.width=125;img.height=16;img.border=0;img.alt="Share";img.src="//s7.addthis.com/static/btn/lg-share-en.gif";app=img;}o.appendChild(app);}}}}},_61=_13(_8,"A","addthis_button_",true),_62=function(_63,_64,_65,_66){for(var i=0;i<_63.length;i++){var b=_63[i];if(b==null){continue;}if(_66!==false||!b.ost){var _64=_64||_4;_65=_65||_5;attr=_35(b,_64,_65,true),hc=0,a="at300";c=b.className||"",s=c.match(/addthis_button_(\w+)(?:\s|$)/),opts=u,sv=s&&s.length?s[1]:0;if(sv){if(!b.childNodes.length){var sp=d.ce("span");b.appendChild(sp);sp.className=a+"bs at15t_"+sv;}else{if(b.childNodes.length==1){var cn=b.childNodes[0];if(cn.nodeType==3){var sp=d.ce("span"),tv=cn.nodeValue;b.insertBefore(sp,cn);sp.className=a+"bs at15t_"+sv;}}else{hc=1;}}if(sv==="compact"){if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"m";}}else{if(sv==="expanded"){if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"m";}opts={nohover:true};}else{if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"b";}opts={singleservice:sv};}}_3b([b],attr,opts);b.ost=1;}}}};_12.update=function(_6c,_6d,_6e){if(_6c=="share"){if(!window.addthis_share){window.addthis_share={};}window.addthis_share[_6d]=_6e;_7[_6d]=_6e;for(var i in _12.links){var o=_12.links[i],rx=new RegExp("&"+_6d+"=(.*)&");if(o.email){o.href=w.genieu(addthis_share);}else{o.href=o.href.replace(rx,"&"+_6d+"="+_euc(_6e)+"&");}}}else{if(_6c=="config"){if(!window.addthis_config){window.addthis_config={};}window.addthis_config[_6d]=_6e;_6[_6d]=_6e;}}};_12.button=function(_72,_73,_74){_3b(_72,{conf:_73,share:_74},{internal:"img"});};_12.toolbox=function(_75,_76,_77){var _78=_29(_75);for(var i=0;i<_78.length;i++){var tb=_78[i],_7b=_35(tb,_76,_77),sp=d.ce("div"),c=tb.getElementsByTagName("a");if(c){_62(c,_7b.conf,_7b.share);}tb.appendChild(sp);sp.className="atclear";}};_12.ready=function(){if(this.ost){return;}this.ost=1;var a=".addthis_";_12.toolbox(a+"toolbox");_12.button(a+"button");_62(_61,null,null,false);for(var i=0;i<this.plo.length;i++){_12[this.plo[i].call].apply(this,this.plo[i].args);}};window.addthis=_12;window.addthis.ready();}}));
Index: /extensions/addThis/language/en_UK/plugin.lang.php
===================================================================
--- /extensions/addThis/language/en_UK/plugin.lang.php	(revision 3595)
+++ /extensions/addThis/language/en_UK/plugin.lang.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
+ * Version: 0.0.3
  * Description: Addthis activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php
Index: /extensions/addThis/language/fr_FR/plugin.lang.php
===================================================================
--- /extensions/addThis/language/fr_FR/plugin.lang.php	(revision 3595)
+++ /extensions/addThis/language/fr_FR/plugin.lang.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.1
+ * Version: 0.0.3
  * Description: Addthis activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php
Index: /extensions/addThis/main.inc.php
===================================================================
--- /extensions/addThis/main.inc.php	(revision 3595)
+++ /extensions/addThis/main.inc.php	(revision 3596)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: AddThis
- * Version: 0.0.2
+ * Version: 0.0.3
  * Description: AddThis activation
  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293
@@ -11,5 +11,8 @@
 /* 0.0.1 --> Initial version    */
 /* 0.0.2 --> Correction isset    */
-
+/* 0.0.3 --> Correction style des boutons (merci mistic100) */
+/*                Mise à jour nouvelle version AddThis */
+/*                Correction affichage miniature uniquement (désactivé sur les images car ne fonctionne pas) */
+  
 /********* TODO  *********/
 //- 
@@ -24,4 +27,5 @@
 define('ADDTHIS_PATH' , PHPWG_PLUGINS_PATH . ADDTHIS_DIR . '/');
 define('ADDTHIS_INC_PATH' , PHPWG_PLUGINS_PATH . ADDTHIS_DIR . '/include/');
+define('ADDTHIS_JS_PATH' , PHPWG_PLUGINS_PATH . ADDTHIS_DIR . '/js/');
 define('ADDTHIS_IMG_PATH' , PHPWG_PLUGINS_PATH . ADDTHIS_DIR . '/img/');
 define('ADDTHIS_ADMIN_PATH' , PHPWG_PLUGINS_PATH . ADDTHIS_DIR . '/admin/');
@@ -38,5 +42,4 @@
 add_event_handler('loc_end_index', array(&$obj, 'add_AddThis_icon'));
 
-//add_event_handler('loc_begin_picture', array(&$obj, 'add_AddThis_action'));
 add_event_handler('loc_begin_picture', array(&$obj, 'add_AddThis_icon')); 
 add_event_handler('get_admin_plugin_menu_links', array(&$obj, 'addthis_admin_menu') );
