jQuery(window).on('load', function() { new JCaption('img.caption'); }); jQuery(document).ready(function(){WfMediabox.init({"base":"\/","theme":"standard","width":"","height":"","lightbox":0,"shadowbox":0,"icons":1,"overlay":1,"overlay_opacity":0.8,"overlay_color":"#000000","transition_speed":500,"close":2,"scrolling":"fixed","labels":{"close":"Close","next":"Next","previous":"Previous","cancel":"Cancel","numbers":"{{numbers}}","numbers_count":"{{current}} of {{total}}","download":"Download"}});}); jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} }); try{ jQuery.urlShortener.settings.apiKey="AIzaSyB9Z_0jbJ4-cZAis8KkEgZE2iGWFTQd8nE"; jQuery.urlShortener({ longUrl: "http://www.federhockey.it/home/fih/comunicati-stampa/archivio-comunicati-stampa/103-2019/11446-fih-e-gewiss-insieme-a-roma,-per-illustrare-gli-asset-del-fornitore-ufficiale-federale.html", success: function (shortUrl) { //shortUrl -> Shortened URL jQuery("meta[property='og:url']").attr('content',shortUrl); href=jQuery("#twitterhref").attr('href'); jQuery("#twitterhref").attr('href',href+'&url='+shortUrl); }, error: function(err) { //alert(JSON.stringify(err)); } }); } catch (e){ console.log(e); } try{ jQuery.urlShortener.settings.apiKey="AIzaSyB9Z_0jbJ4-cZAis8KkEgZE2iGWFTQd8nE"; jQuery.urlShortener({ longUrl: "http://www.federhockey.it/home/fih/comunicati-stampa/archivio-comunicati-stampa/103-2019/11422-gewiss,-soluzioni-per-campi-da-hockey-su-prato.html", success: function (shortUrl) { //shortUrl -> Shortened URL jQuery("meta[property='og:url']").attr('content',shortUrl); href=jQuery("#twitterhref").attr('href'); jQuery("#twitterhref").attr('href',href+'&url='+shortUrl); }, error: function(err) { //alert(JSON.stringify(err)); } }); } catch (e){ console.log(e); } try{ jQuery.urlShortener.settings.apiKey="AIzaSyB9Z_0jbJ4-cZAis8KkEgZE2iGWFTQd8nE"; jQuery.urlShortener({ longUrl: "http://www.federhockey.it/home/fih/comunicati-stampa/archivio-comunicati-stampa/103-2019/11047-gewiss-e’-gold-sponsor-e-fornitore-ufficiale-della-federazione-italiana-hockey.html", success: function (shortUrl) { //shortUrl -> Shortened URL jQuery("meta[property='og:url']").attr('content',shortUrl); href=jQuery("#twitterhref").attr('href'); jQuery("#twitterhref").attr('href',href+'&url='+shortUrl); }, error: function(err) { //alert(JSON.stringify(err)); } }); } catch (e){ console.log(e); } try{ jQuery.urlShortener.settings.apiKey="AIzaSyB9Z_0jbJ4-cZAis8KkEgZE2iGWFTQd8nE"; jQuery.urlShortener({ longUrl: "http://www.federhockey.it/home/fih/comunicati-stampa/archivio-comunicati-stampa/102-2018/10854-fih-a-roma-il-corso-di-formazione-per-formatori-tecnici-con-ics-come-partner.html", success: function (shortUrl) { //shortUrl -> Shortened URL jQuery("meta[property='og:url']").attr('content',shortUrl); href=jQuery("#twitterhref").attr('href'); jQuery("#twitterhref").attr('href',href+'&url='+shortUrl); }, error: function(err) { //alert(JSON.stringify(err)); } }); } catch (e){ console.log(e); } try{ jQuery.urlShortener.settings.apiKey="AIzaSyB9Z_0jbJ4-cZAis8KkEgZE2iGWFTQd8nE"; jQuery.urlShortener({ longUrl: "http://www.federhockey.it/home/fih/comunicati-stampa/archivio-comunicati-stampa/102-2018/10774-fih-accordo-con-ethic-sport-per-le-società-italiane-di-hockey.html", success: function (shortUrl) { //shortUrl -> Shortened URL jQuery("meta[property='og:url']").attr('content',shortUrl); href=jQuery("#twitterhref").attr('href'); jQuery("#twitterhref").attr('href',href+'&url='+shortUrl); }, error: function(err) { //alert(JSON.stringify(err)); } }); } catch (e){ console.log(e); }