function setAction(action) { $("#action").val(action); $("#addcompany").submit(); }
