// Q-Tip Tooltip Replacements

$('div.block ul li a[title]').qtip(
{
   position: {
      corner: {
         target: 'leftMiddle',
         tooltip: 'rightMiddle'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'rightMiddle',
      name: 'blue'
   }
});

$('#partnerLinks a[title]').qtip(
{
   position: {
      corner: {
         target: 'rightMiddle',
         tooltip: 'leftMiddle'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'leftMiddle',
      name: 'blue'
   }
});


$('acronym[title]').qtip(
{
   position: {
      corner: {
         target: 'bottomMiddle',
         tooltip: 'topLeft'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'topLeft',
      name: 'blue'
   }
});

$('a.sf-with-ul[title]').qtip(
{
   position: {
      corner: {
         target: 'bottomMiddle',
         tooltip: 'topMiddle'
      }
   },
   style: { 
   title: { 'font-size': '80%' },
      background: '#fff',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#2c5c79'
      },
      tip: 'topMiddle',
      name: 'blue',
	  width: 190
   }
});




$('#bcnav ul li a[title]').qtip(
{
   position: {
      corner: {
         target: 'bottomMiddle',
         tooltip: 'topLeft'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'topLeft',
      name: 'blue'
   }
});

$('#contentText img[alt]').qtip(
{
   position: {
      corner: {
         target: 'bottomMiddle',
         tooltip: 'topMiddle'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'topMiddle',
      name: 'blue'
   }
});

$('a.vidLink[title]').qtip(
{
   position: {
      corner: {
         target: 'bottomMiddle',
         tooltip: 'topMiddle'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'topMiddle',
      name: 'blue'
   }
});


$('.tipper').qtip(
{
   position: {
      corner: {
         target: 'bottomMiddle',
         tooltip: 'topRight'
      }
   },
   style: { 
   title: { 'font-size': 10 },
      background: '#F3F3F2',
      color: 'black',
      border: {
         width: 4,
         radius: 5,
         color: '#407798'
      },
      tip: 'topRight',
      name: 'blue'
   }
});

$('span.contactQuick').qtip(
      {
         content: {
            text: '<img class="throbber" src="images/loading.gif" alt="Loading..." />',
			url: 'includes/contact.htm',
            title: {
               text: 'Contact Us',
               button: 'Close' //change to image
            }
         },
         position: {
            corner: {
               target: 'bottomMiddle',
               tooltip: 'topMiddle'
            },
            adjust: {
               screen: true
            }
         },
         show: { 
            when: 'click', 
            solo: true
         },
         hide: 'unfocus',
         style: {
            tip: true,
            border: {
               width: 0,
               radius: 4
            },
            name: 'light',
            width: 370
         }
      });

