//breaking news slider
//use directly after including jquery library to avoid conflict with mootools

 jQuery.noConflict(); // add to avoid conflict / use jQuery inplace of $
 
 jQuery.fn.fadeSlide = function(settings) {
 	 settings = jQuery.extend({
		speed:500,
		easing : "swing"
	}, settings)
	
	caller = this
 	if(jQuery(caller).css("display") == "none"){
 		jQuery(caller).animate({
 			opacity: 1,
 			height: 'toggle'
 		}, settings.speed, settings.easing);
	}else{
		jQuery(caller).animate({
 			opacity: 0,
 			height: 'toggle'
 		}, settings.speed, settings.easing);
	}
}; 
   // on clicking breaking news link (specific to breaking news)
	jQuery(document).ready(function() {
		jQuery(".slider").click(function(){   
			jQuery(this).next().fadeSlide()
			 return false;
		})
	});	
