anchor.diff:  		resize : {width : 320, height : 240, quality : 10}
   	});
   	
  +	
   	// Client side form validation  
     $("form").submit(function(e){
  -		$('form').submit();  
  +		uploader.start();
  +		e.preventDefault();
     });
  +  
  +  uploader.bind('PostInit', function(up, params) {
  +        // Initialize Preview.
  +        if(uploader.runtime == "html5") {
  +            var inputFile = document.getElementById(uploader.id + '_html5');
  +            var oldFunction = inputFile.onchange;
  +
  +            inputFile.onchange = function() {
  +                nativeFiles = this.files;
  +                oldFunction.call(inputFile);
  +            }
  +        }
  +    });
  +
  +
  +    uploader.bind('FilesAdded', function(up, files) {   
  +    for (var i in files) {
  +            // Your code...
  +
  +            // Load Preview
  +            if(uploader.runtime == "html5") {
  +                var fileObject = uploader.getFile(files[i].id);
  +                var reader = new FileReader();
  +
  +                reader.onload = (function(file, id) {
  +                    return function(e) {
  +                        
  +                        var span = document.getElementById('item-pic-holder');
  +                        span.removeAttribute("class")
  +                        span.innerHTML = "<img src='"+e.target.result+"' height='100' width='100'/>";
  +                      };
  +                })(nativeFiles[i], files[i].id);
  +
  +                reader.readAsDataURL(nativeFiles[i]);
  +            }
  +        }    
  +           
  +
  +    });
   
   	uploader.bind('Init', function(up, params) {
   		$('#filelist').html("<div>Current runtime: " + params.runtime + "</div>");
  
positive.code: 
  	uploader.bind('FilesAdded', function(up, files) {
  		$.each(files, function(i, file) {
  			$('#filelist').append(
  				'<div id="' + file.id + '">' +
  				file.name + ' (' + plupload.formatSize(file.size) + ') <b></b>' +
  			'</div>');
  		});
  
negative.code: });
  </script>
  
  			<!--div id="container">
  
      <div id="filelist">No runtime found.</div>
  
      <br />
  
      <a id="pickfiles" href="#">[Select files]</a>
  
      <a id="uploadfiles" href="#">[Upload files]</a>
  
  </div-->
  
  