/*
 * fadeLinks
 * jquery based script for color fading inline text links 
 * author: Alen Grakalic
 * more info on http://cssglobe.com/
 *
 * Copyright (c) 2008 Alen Grakalic (cssglobe.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 */


this.fadeLinks = function() {	
	
	var selector = ".fdlinkclass a"; //modify this line to set the selectors
	var speed = "normal" // adjust the fading speed ("slow", "normal", "fast")
	
	var bgcolor = "#fff"; 	// unfortunately we have to set bg color because of that freakin' IE *!$%#!!?!?%$! 
							//please use the same background color in your links as it is in your document. 
	
							
	$(selector).each(function(){ 

		$(this).hover(
			function(){
				$(this).animate({ color: "#069" },500);
			},
			function(){
				$(this).animate({ color: "#f30" },500);
			}			
		)
	});
};

$(document).ready(function(){	
	fadeLinks();
});
