function getData(formName){ var theForm = formName; var elem = theForm.elements; var data = ""; for(var i=0;i