/*
	Class:    	dwFadingLinks
	Author:   	David Walsh
	Website:    http://davidwalsh.name
	Version:  	1.0.0
	Date:     	10/08/2008
	Built For:  jQuery 1.2.6
*/

jQuery.fn.dwFadingLinks = function(settings) {
	settings = jQuery.extend({
		color: '#000000',
		duration: 200
	}, settings);
	return this.each(function() {
		var original = $j(this).css('color');
		$j(this).mouseover(function() { $j(this).animate({ color: settings.color },settings.duration); });
		$j(this).mouseout(function() { $j(this).animate({ color: original },settings.duration); });
	});
};

/* sample usage 

$(window).bind('load', function() {
	$('a.fade').fadingLinks('#f00',1000);
});

*/

