$(function() {
		$('#menutabs').tabs({ fx: { opacity: 'toggle' } });
	});

//tooltips

$.fn.qtip.styles.gravitystyle = { // Last part is the name of the style
   width: 275,
   background: '#CFE9AA',
   color: '#4f6b34',
   textAlign: 'left',
   border: { width: 3, radius: 6, color: '#A9DC66' },
   tip: 'bottomLeft'
}

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

jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox()
})

$(document).ready(function() {
			$(".fadeNext").click(function(){   
  				$(this).next().fadeSliderToggle()
 				 return false;
 			})
 		});