$(document).ready(function(){
	// opacity effect - section picrures
	$("#sections a").css('opacity', 0.8); 
	$("#sections a").each(function() { 
		$(this).hover(function() { 
			var offset = $(this).offset();
			var width = $(this).width();
			var height = $(this).height();
			var leftVal = offset.left + "px";
			var topVal = offset.top + 222 + "px";
			this.t = this.title;
			this.title = "";
			$("div.onetip").text(this.t).css({left:leftVal,top:topVal,opacity:0.9}).stop().fadeIn(500);
			$(this).stop().animate({ opacity: 1.0 }, 500); 
		}, 
		function() { 
			$(this).stop().animate({ opacity: 0.8 }, 500); 
			$("div.onetip").fadeOut(200);
			this.title = this.t;
		}); 
	});
});



