// Initialization
$.fadeText = {
	init: function() {
		for (module in $.fadeText) {
			if ($.fadeText[module].init)
				$.fadeText[module].init();
		}
	}
};

$(document).ready($.fadeText.init);

$.fadeText.fn = {
	init: function() {
		$('a.fadeText')
			.bind('click', this.click)
			.bind('mouseover', this.enter)
			.bind('mouseout', this.exit)
			.each(this.preload);
	},
	preload: function(fn) {
//		$(this);
		$(this).delay(1000).css({color:'#fff', visibility:'visible'}).animate({color:"#999999"},1000);
//		this.color = $(this).css('color');
	},
	click: function() {
		return false;
	},
	enter: function() {
		$(this).stop(true,true);
		$(this).animate({color:'#b3b3b3'},1000);
	},
	exit: function() {
		$(this).stop(true,true);
		$(this).animate({color:'#999999'},500);
	}
};

//EOF
