// FOR THE A - Z LINKS
$(document).ready(function() {
	anchor.init()
});

anchor = {
	init : function()  {
		$("a.anchorLink").click(function () {	
			elementClick = $(this).attr("href")
			destination = $(elementClick).offset().top;
			$("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, 3000 );
		  	return false;
		})
	}
}





// FOR THE FLOATING ARROW
var name = "#floatMenu";  
var menuYloc = null;

$(document).ready(function(){
	menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")))
	$(window).scroll(function()
	{
	  $('#floatMenu').animate({top:$(window).scrollTop()+"px" },{queue: false, duration: 900});
	});
});


