/*******

	***	Anchor Slider by Cedric Dugas   ***
	*** Http://www.position-absolute.com ***
	
	Step 1: Plug the jquery library and my script in your head document.
	
	Step 2: in your anchor link add the class anchorLink
			<a href="#anchorTarget" class="anchorLink">
	
	Step 3: in your anchor target put an id and a name for your html anchor.
			<a name="anchorTarget" id="anchorTarget">
	
	And you are done, this script is free to use for whatever you see fit,
	just leave my script comments as credit!

*****/
		
$(document).ready(function() {
	$("a.anchorLink").click(function () {	
		elementClick = $(this).attr("href")
		destination = $(elementClick).offset().top;
		$("html:not(:animated),body:not(:animated)").animate({scrollTop: destination-142}, 800 );
		return false;
	})
});
