    // Create the tooltips only on document load
    $(document).ready(function() 
    {
       // Use the each() method to gain access to each elements attributes
       $('#footer a#companyInfo[rel]').each(function()
       {
          $(this).qtip(
          {
             content: {
                // Set the text to an image HTML string with the correct src URL to the loading image you want to use
                text: '<img class="throbber" src="/_templates/images/loading.gif" alt="caricamento..." />',
                url: $(this).attr('rel') // Use the rel attribute of each element for the url to load
             },
             position: {
                corner: {
                   target: 'topMiddle', // Position the tooltip above the link
                   tooltip: 'bottomMiddle'
                },
				//	target: 'mouse',
   				//	adjust: { mouse: false }

                adjust: {
                   screen: true // Keep the tooltip on-screen at all times
              }
             },
            show: { when: { 
			target: false,
			event: 'click' } },
            // hide: 'click',
			hide: 'unfocus', 
             style: {
                tip: true, // Apply a speech bubble tip to the tooltip at the designated tooltip corner
                width: 280,// Set the tooltip width
                padding: 10,
                background: '#EEDEB5',
                color: '#353535',
                textAlign: 'left',
                border: {
                 width: 1,
                 radius: 0,
                 color: '#D9B453'
                         },
                name: 'light' // Use the default light style
               
             }
          })
       });
	   // Use the each() method to gain access to each elements attributes
       $('.linkboxSx a.txtsmall[rel]').each(function()
       {
          $(this).qtip(
          {
             content: {
                // Set the text to an image HTML string with the correct src URL to the loading image you want to use
                text: '<img class="throbber" src="/_templates/images/loading.gif" alt="caricamento..." />',
                url: $(this).attr('rel') // Use the rel attribute of each element for the url to load
             },
             position: {
                corner: {
                   target: 'topMiddle', // Position the tooltip above the link
                   tooltip: 'bottomMiddle'
                },
				//	target: 'mouse',
   				//	adjust: { mouse: false }

                adjust: {
                   screen: true // Keep the tooltip on-screen at all times
              }
             },
            show: { when: { 
			target: false,
			event: 'click' } },
            // hide: 'click',
			hide: 'unfocus', 
             style: {
                tip: true, // Apply a speech bubble tip to the tooltip at the designated tooltip corner
                width: 300,// Set the tooltip width
                padding: 0,
                background: '#EBEDF1',
                color: '#353535',
                textAlign: 'left',
                border: {
                 width: 1,
                 radius: 0,
                 color: '#353535'
                         },
                name: 'light' // Use the default light style
               
             }
          })
       });
    });
