
		function roundInput(input_id, container_class, border_class){
			var input = $('.'+input_id+'');
			var input_width = input.css("width"); //get the width of input
			var wrap_width = parseInt(input_width) + 4; //add 10 for padding
			wrapper = input.wrap("<div class='"+container_class+"'></div>").parent();
			wrapper.wrap("<div class='"+border_class+"' ></div>"); //apply border
			wrapper.corner("round 6px").parent().css('padding', '1px').corner("round 8px"); //round box and border
		}

		$(function(){
			roundInput('rounded_c','rounded_container','rounded_border');
			roundInput('rounded_input2','rounded_container','rounded_border');
		});




