jQuery(document).ready(function(){

// superfish
		
jQuery(function(){
	jQuery('ul.sf-menu').superfish({
		delay:       500,                 // one second delay on mouseout 
  	animation:   {opacity:'show'},  	// fade-in and slide-down animation 
  	speed:       'slow',              // faster animation speed 
  	autoArrows:  false,               // disable generation of arrow mark-up 
  	dropShadows: false                // disable drop shadows 
	});
});

//tooltips

jQuery.fn.qtip.styles.taglink = { // Last part is the name of the style
	width: 275,
	background: '#ffffcc',
	color: '#4d4d3d',
	textAlign: 'left',
	border: { width: 3, radius: 6, color: '#e5e5b8' },
	tip: 'bottomLeft'
}

// Create the tooltips only on document load
jQuery(document).ready(function() 
{
	// Notice the use of the each() method to acquire access to each elements attributes
	jQuery('a[tooltip]').each(function()
	{
		jQuery(this).qtip({
    	content: jQuery(this).attr('tooltip'), // Use the tooltip attribute of the element for the content
      style: 'taglink', // custom tooltip style
      position: {
      	corner: {
        	target: 'topRight',
        	tooltip: 'bottomLeft'
      		}
  		}
    });
  });
});


});



