﻿jQuery.fn.fadeTo = function(speed, to, callback) {
    
    return this.animate({ opacity: to }, speed, function() {
        
        if (to==1 && jQuery.browser.msie)
            this.style.removeAttribute('filter');
            
        if (jQuery.isFunction(callback))
            callback();
    });
};
