// Custom js to handle AddThis social bookmarking

var addthis_config = {
	data_track_linkback:true, //Set to true to allow us to append a variable to your URLs upon sharing. Use this to track how many people come back to your content via links shared with AddThis. Highly recommended. Always global. 
	//data_track_addressbar:true,  //???
	
	services_compact: 'email, facebook, twitter, more',
	services_exclude: 'print',
	ui_cobrand: 'irishtimes.com',
	
	url_transforms : {
    shorten: {
        twitter: 'bitly'
    }
},

	shorteners : {
		bitly : {
			
		}
	}
};


var addthis_share =
{
    title:articleTitle, //from main xsl file (or php file for blogs)
	templates:{twitter: '{{title}}: {{url}} from @the_irish_times'}, //custom twitter text
	url_transforms : {
        clean: true,
        remove: ['cmpid', 'via']
    }
};


