$(document).ready(function() {
	$("a.ancLinks").click(function () {
		elementClick = $(this).attr("href");
		destination = $(elementClick).offset().top;
		$("html").animate({ scrollTop: destination + 20}, 400 );

		if ($(this).is('.back2faq')) {
		}
		else {
			$('.ancLinks').css('color','#0099FF');
			$('#faq H6').css('color','#000');
			$(this).css('color','#cccccc');
			$(elementClick).css('color','#ff3300');
		}
	});
});
