$(function() {
	$('.service').each( function () {
		var service = $(this);
		var imageLinks = $("a", service);
		if (!imageLinks.length) {
			return;
		}
		imageLinks.lightBox();
		service.click( function () { $("a", this).first().click(); });
	});
});


var common = function()
{
	this.init = function()
	{
		$(".shareToolTip a").easyTooltip
		(
			{
				tooltipId: "shareToolTip",
				xOffset: -15,
				yOffset: 70
			}
		);	
		
		$(".followToolTip a").easyTooltip
		(
			{
				tooltipId: "followToolTip",
				xOffset: -15,
				yOffset: 70
			}
		);	
	};
	
	this.init();   
}

$(document).ready( function() { new common(); } );
