function addInput( id, accept ){
	var form = document.getElementById( id + '_inputs' );
	var input = document.createElement( 'input' );
	input.setAttribute( 'type', 'file' );
	input.setAttribute( 'name', id + '[]' );
	if( accept != undefined )
		input.setAttribute( 'accept', accept );
	form.appendChild( input );
}
