$(document).ready(function() 
{
   $('#deutsch a[href]').each(function()
   {
		 	$(this).qtip({
  						content: {
      					url: 'tooltip.php',
      					data: { snr: $(this).attr('tooltip') },  //$(this).attr('tooltip')
      					method: 'get'
   						} , // Set the tooltip content to the current corner
  						position: {
					      corner: {
         					target: 'bottomMiddle',
         					tooltip: 'topRight'
      					},
      					adjust: { x: 0, y: 5 }
   						},
               style: {
                  border: {
                     width: 5,
                     radius: 5,
                     color: '#8FC071'
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, // Give it a speech bubble tip with automatic corner detection
                  name: 'light', // Style it according to the preset 'cream' style
                  width: 350,
                  color: '#111111',
									delay: 300
                  
               }
				 });
   });

   $('#personenliste a[href]').each(function()
   {
		 	$(this).qtip({
  						content: {
      					url: 'tooltip.php',
      					data: { snr: $(this).attr('tooltip') },  //$(this).attr('tooltip')
      					method: 'get'
   						} , // Set the tooltip content to the current corner
  						position: {
					      corner: {
         					target: 'bottomMiddle',
         					tooltip: 'bottomLeft'
      					},
      					adjust: { x: 0, y: -15 }
   						},
               style: {
                  border: {
                     width: 5,
                     radius: 5,
                     color: '#8FC071'
                  },
                  padding: 10, 
                  textAlign: 'left',
                  tip: true, // Give it a speech bubble tip with automatic corner detection
                  name: 'light', // Style it according to the preset 'cream' style
                  width: 350,
                  color: '#111111',
									delay: 300
                  
               }
				 });
   });

});

