$(document).ready(function() {
		function addMega(){
		  $(this).addClass("hovering");
		  }
		function removeMega(){
		  $(this).removeClass("hovering");
		  }
		var megaConfig = {    
			     interval: 100,
			     sensitivity: 4,
			     over: addMega,
			     timeout: 0,
			     out: removeMega
			     };
	
		$("li.mega").hoverIntent(megaConfig);


		for (var i = 1; i <= 6; i++) {
		    $("a.inline" + i).attr("href", "#data" + i).fancybox({
			 'hideOnContentClick': false,
			 'frameWidth': 500,
			 'frameHeight': 326
		    });
		}
});

	
