/*
* jQuery Nice plugin
*
* Copyright (c) 2007 Pablo Ziliani
*
* Dual licensed under the MIT and GPL licenses:
*   http://www.opensource.org/licenses/mit-license.php
*   http://www.gnu.org/licenses/gpl.html
* 
* Extremely simple image replacement method, with all the
* hard work done by css to preserve semanticity.
* 
*/


(function($) {
$.fn.nice = function(settings){
	settings = jQuery.extend({classname: 'niced'}, settings);
	var classname = settings['classname'];
	return this.each(function(){
		$(this)
			.addClass(classname)
			.prepend('<span class="ir"><!-- Image replacement --></span>');
	});
};
})(jQuery);