ntfile=null;
var oldFileviewHtml = fileViewer.innerHTML;
var uploadResult =document.getElementById('upload-result');
var currentRequest = null;

var handle_html5_file = function(fileobj) {         
	var video_type=["video/mp4","video/ogg"];

	//创建一个url连接,供src属性引用
	var fileurl = window.URL.createObjectURL(fileobj);
	var fileHtml = '';
	if(fileobj.type.indexOf('image') === 0){  //如果是图片
		fileHtml="<img width='100%' height='100%' src='"+fileurl+"'>";
	}else if(video_type.in_arra