(function($) {

$.fn.jRoundedCorner = function()
{
	var rf = function() { return false; };
	return this.each(
		function()
		{
			var $this = $(this);
			// Switch the element's overflow to hidden to ensure we get the size of the element without the scrollbars [http://plugins.jquery.com/node/1208]
			
			$($this).wrapInner(
				$('<div></div>')
				.attr({'className':'lt'})
				.append($('<div></div>')
					.attr({'className':'rb'})
					.append($('<div></div>')
						.attr({'className':'rt'})
						.append($('<div></div>')
							.attr({'className':'inner'})
						)
					)
				)
			);
		}
	)
};

})(jQuery);
