If HTTPS is being used, then use it also for the AddToAny script url.

The https url is here: http://www.addtoany.com/buttons/examples/https_ssl/

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>

Index: addtoany/addtoany.module
===================================================================
--- addtoany.orig/addtoany.module
+++ addtoany/addtoany.module
@@ -131,7 +131,13 @@
 	
 	if ( ! $_addtoany_script_init) {
 		$_addtoany_script .= variable_get('addtoany_additional_js', '');
-		$_addtoany_script .= '</script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>';
+
+		if ($_SERVER['HTTPS'])
+			$script_url = 'http://addtoany.simplecdn.net/menu/page.js';
+		else
+			$script_url = 'http://static.addtoany.com/menu/page.js';
+
+		$_addtoany_script .= '</script><script type="text/javascript" src="' . $script_url . '"></script>';
 	} else {
 		$_addtoany_script .= 'a2a_init("page");</script>';
 	}
