/* 
Nombre: Efectos
Autor: Degt.cl
*/

 /*      Extending Mootools Tips  *      by Timo Henke / artness.de  *      ---------------------------------------------------  *  *      Fixed the element.getParent() is not a function bug  *      by not only checking for element but for the  *      getParent() as a function  *  *      Works for Moo-More 1.2.4.1+2  */        var TipsFixed = new Class({                Extends: Tips,        /*         *      ---------------------------------------------------         *      Fixed the element.getParent() is not a function bug         *      by not only checking for element but for the         *      getParent() as a function         *         *      Works for Moo-More 1.2.4.1+2         *      ---------------------------------------------------         */                fireForParent: function(event, element){                        if( element && typeof element.getParent() == 'function' ){                                parentNode = element.getParent();                                if (parentNode == document.body) return;                                if (parentNode.retrieve('tip:enter')) parentNode.fireEvent ('mouseenter', event);                                else this.fireForParent(parentNode, event);                        }                        else return;                }        });

window.addEvent('domready', function(){
	var myTips = new TipsFixed('.autor_list a', {
		"fixed": true,
		"offset": {x: -50, y: -55},
		"text": '',
		"className": 'ToolTip',
		"showDelay":200
	});
		
	myTips.addEvent('show', function(tip, el){
    	tip.fade('in');
	});
	
	myTips.addEvent('hide', function(tip, el){
	    tip.fade('out');
	});

});