  var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-9368519-15']);//----------------------------inserire analitycs ID
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/u/ga_beta.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    
window.___gcfg = {lang: 'it'};
 
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = '//apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();

$(document).ready(function(){
	$.ajax({cache:true});	
	$.getScript('/js/ga_social_tracking.js',function()
	{
		$.getScript('//platform.twitter.com/widgets.js',function()
		{
			_ga.trackTwitter();	
		});
		$.getScript('//connect.facebook.net/it_IT/all.js',function()
		{
				FB.init({appId: '171190556290298', status: true, cookie: true,xfbml: true});//------------------inserire facebook appId
				_ga.trackFacebook();
		});
	});
 
});

