// JavaScript Document
$(function(){
	$('ul.drawers').accordion({
			header: 'H2.drawer-handle',
			selectedClass: 'open',
			event: 'mouseover',
			autoheight: false
		});//http://jqueryfordesigners.com/slide-out-and-drawer-effect/
	
	$('.drawer li').mouseover(function() {
		$(this).find("a").css({'color': '#FFF'});
		$(this).css({'background': '#215281'});
	   }).mouseout(function() {
		$(this).find("a").css({'color': '#333'});
		$(this).css({'background': '#FFF'});
	});
	
	$(".drawer li").click(function(){
	  //get the url from href attribute and launch the url
	  window.location=$(this).find("a").attr("href"); return false;
	})
		
	$('#Evento1').hide();
	$('#Evento2').hide();
	
	$('#expert_tooltip').tooltip({ //http://sorgalla.com/jcarousel/
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});	
	
	$('#expert_tooltip1').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip2').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip3').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip4').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip5').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip6').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip7').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip8').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip9').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip10').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip11').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip12').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip13').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip14').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip15').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip16').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
	
	$('#expert_tooltip17').tooltip({ 
		track: true,
		delay: 0, 
		showURL: false, 
		//showBody: " - ", 
		extraClass: "fancy", 
		fixPNG: true, 
		opacity: 0.95, 
		left: -120,
		/*bodyHandler: function() { 
			return $("<img/>").attr("src", this.src); 
		} */
	});
});
