/*
	Class:    	dwFadingLinks
	Author:   	David Walsh
	Website:    http://davidwalsh.name
	Version:  	1.0.0
	Date:     	10/08/2008
	Built For:  jQuery 1.2.6
	Modifications:
		Added .stop(true) to mouseover because it looks better - 03/09/2010 KT

*/

jQuery.fn.dwFadingLinks = function(settings) {
	settings = jQuery.extend({
		color: '#ff8c00',
		duration: 500
	}, settings);
	return this.each(function() {
		var original = $j(this).css('color');
		$j(this).mouseover(function() { $j(this).stop(true).animate({ color: settings.color },settings.duration); });
		$j(this).mouseout(function() { $j(this).animate({ color: original },settings.duration); });
	});
};
