/*
*
* jQuery.fader 1.0
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 Halo Media LLC.
* http://halopowered.com
*
*
* Example
* $('.box').fader({
*    time: 300,
	 selectors: ".info, .timer"
* });
*
*/

(function($){
	$.fn.fader = function(options) {
		var
		  defaults = {
		  	time: 300,
			selectors: null
		  },
		  settings = $.extend({}, defaults, options);
		  
		  this.each(function() {
		  	var $this = $(this);
			
			$this.hover(function(){
				$this.find(settings.selectors).stop().animate({ 
						opacity: 1
			    }, settings.time );							   
			}, function() {
			  	$this.find(settings.selectors).stop().animate({ 
					opacity: 0
				  }, settings.time );
			});
		  });
		  // returns the jQuery object to allow for chainability.
		  return this;
	}
})(jQuery);

$(document).ready(function() {
	$('.thumbnail').fader({
		time: 300,
		selectors: ".toolTip"
	 });	   
});

