
$(function() {
	var i = 1;
	$('#frmorderForm-addAttachment').click(function() {
		$('#frmorderForm-attachments-' + i).after('<br /><input type="file" id="frmorderForm-attachments-' + (++i) + '" name="attachments[' + i + ']" class="text"/>');
	});
});
