
$(document).ready(function(){
	
	 $("#Map area").each(function(){
	 	var href=$(this).attr("rel");
	 	if(href !="home" && href !="myLeap"){
		 	$(this).qtip(
		      {
		         content: '', // Give it some content
		         show:{
		         	delay: 0
	         	},
		         position: 'topLeft', // Set its position
		         hide: {
		            fixed: true // Make it fixed so it can be hovered over
		         },
		         style: { 
			       border: {
				      width: 0,
				      color: '#FFFFFF'
				   },
				   name: 'light' 
				 },
				 api: {
			         // Retrieve the content when tooltip is first rendered
			         onRender: function()
			         {
			            var self = this;
			            self.loadContent('/xhr/index/case/getSub/page/'+href,{},'GET');
			         },
			         onContentLoad: function()
			         {
			         	var self = this;
			         	var width=0;
			         	self.updateWidth(150);
			         }
			      }
				 
		      });
		}
	 });
     
   

});

///calender en timeline

