//本地上传图片、语音
function rsc_UploadFile(file) {var mypic = file.files[0];//创建一个FormData空对象,然后使用append方法添加key/value
var fd = newFormData();
fd.append("myhead", mypic);//上传图片
if (resourceManager.currentRscType==1)
fd.append("action", "uploadImg");//上传语音
else if (resourceManager.currentRscType==3)
fd.append("action", "uploadVic");//上传视频
else if (resourceManager.currentRscType == 5)
fd.append("action", "uploadVdo");if (resourceManager.currentRscType == 1 || resourceManager.currentRscType == 3)
$("#resourceManagerUploadContent").css("height", "330px");else if (resourceManager.currentRscType == 5)
$("#resourceManagerUploadContent").css("height", "420px");
$("#upRscProcessBar").css(&#