$(document).ready(function()
{
	
	$('#follower').hide().animate({opacity: .5});
	//console.log("Document has been loaded");
	/*$("#navigation a").click(function()
	{
		console.log($(this).html());
	});*/
	
	$("#navigation a").hover(function()
	{
		//mouse on				
		var position = $(this).position();
		var theWidth = $(this).width();
		//console.log("a's Width " + theWidth);
		
		$("#follower").hide().css('left', position.left + 5).slideDown("slow").width(theWidth+20);	
		
	}, function()
	{
		//mouse out
		//console.log("mouse off");
		
		var position = $(this).position();

		//console.log(position.left);
		
		$("#follower").hide();;
	});
	
	$("#thumbs a").overlay({ 
 
    // each trigger uses the same overlay with the id "gallery" 
    target: '#gallery', 
 
    // optional exposing effect 
    expose: '#f1f1f1' 
 
// let the gallery plugin do its magic! 
}).gallery({ 
 
    // the plugin accepts its own set of configuration options 
    speed: 800 
});
	
	
	
});