
if(jQuery) (function($){
	
	$.extend($.fn, {
roundedInputs: function() {
$(this).wrap('<span class="roundInOuter"><span class="roundInInner">'+'</span></span>');
	$(this).after('<span class="roundInTop"></span>'+
  '<span class="roundInTopRight"></span>'+
  '<span class="roundInTopLeft"></span>'+
  '<span class="roundInBott"></span>'+
  '<span class="roundInBottRight"></span>'+
  '<span class="roundInBottLeft"></span>'+
  '<span class="roundInLeft"></span>'+
  '<span class="roundInRight"></span>');

$(this).each(function(a,roundie){
$(roundie).parent().parent().css('marginTop', $(roundie).css('marginTop'));
$(roundie).parent().parent().css('marginRight', $(roundie).css('marginRight'));
$(roundie).parent().parent().css('marginBottom', $(roundie).css('marginBottom'));
$(roundie).parent().parent().css('marginLeft', $(roundie).css('marginLeft'));
$(roundie).css('marginTop', '0px');
$(roundie).css('marginRight', '0px');
$(roundie).css('marginBottom', '0px');
$(roundie).css('marginLeft', '0px');
});
}
});
})(jQuery);
