//Usefull JQUery Plugins
jQuery.fn.reverse = function() {  return this.pushStack(this.get().reverse(), arguments);};
jQuery.fn.outerHTML = function() {  return $('<div>').append( this.eq(0).clone() ).html();};

jQuery.fn.loadFade = function(link,speed) {
				if (!($.browser.msie) && !($.browser.version <7)) $(this).fadeOut(speed).load(link).fadeIn(speed);
				else $(this).load(link);
};
(function($) {
	$.fn.customFadeIn = function(speed, callback) {
		$(this).fadeIn(speed, function() {
			if(jQuery.browser.msie)
				$(this).get(0).style.removeAttribute('filter');
			if(callback != undefined)
				callback();
		});
	};
	$.fn.customFadeOut = function(speed, callback) {
		$(this).fadeOut(speed, function() {
			if(jQuery.browser.msie)
				$(this).get(0).style.removeAttribute('filter');
			if(callback != undefined)
				callback();
		});
	};
})(jQuery);