/*$(document).ready(function (){
			analize();
		});
		
		function analize(){
			$('.jlink').click(function(e){
				e.preventDefault();
				gotourl($(this).attr('href'));
			});
			$('.transp').css('opacity','0');
			$("a#inline").fancybox({
				'hideOnContentClick': true
			});
			$("a.desc_event").fancybox({
				'titlePosition'		: 'outside',
				'transitionIn'		: 'fade',
				'transitionOut'		: 'fade'
				
			});
		}
		
		function gotourl(url) {
			$.post(url, { jquery: "1" },function(data) {
				var cont = jQuery("<div>" + data + "</div>").find("#cont_act");
				var ancla = url.split('#');
				if(ancla[1]){
					if(ancla[1] == 'enrico' || ancla[1] == 'david') $('html,body').animate({scrollTop: 1000},1000);
					if(ancla[1] == 'chandru' || ancla[1] == 'tuya') $('html,body').animate({scrollTop: 1800},1000);
				}
				$('#cont_act').html(cont.html());
				analize();
				
				try{
					animation();
				}
				catch(err){
					
				}
			});
		}*/
		
		function animation(){
			$('.transp').css('opacity','0');
			$('map').hover(
				function(){
					$('#i'+ $(this).attr('id')).animate({
						opacity: 1
					  }, 1000, function() {
						// Animation complete.
					 });					
				},
				function(){
					$('#i'+ $(this).attr('id')).animate({
						opacity: 0
					  }, 1000, function() {
						// Animation complete.
					  });						
				}
			);
		}
