function FileUpload(formElement,val) {
	var el = document.getElementById(formElement);
	el.value = val;
	document.forms[0].submit();
}
