lots code with swfupload, not good for this project