var Photos = new Class({
	init: function()
	{
		this.addTracking();
	},
	
	addTracking: function()
	{
		$$('A.box1').addEvent('click', function(event)
		{
			var imagePath = event.target.getParent().getAttribute('href').replace("/en_GB/", "");
			
			console.log(imagePath);
			urchinTracker(imagePath);
		});
	}
});

var photos = new Photos();

window.addEvent('domready', function() { photos.init(); });