Javascript part of the aspx page

contains fileupload function which is responsible to upload the file to the server in chunks.