<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>

<HTML>
<BODY>
<SCRIPT>
   window.progressFinished="<c:out value="${progress.finished}" />";
   window.progressNumberCompleted="0";
   window.progressTotalNumber="0";
	<c:if test="${progress.isCountable}">
   window.progressNumberCompleted="<c:out value="${progress.numberCompleted}" />";
   window.progressFinished="<c:out value="${progress.finished}" />";
   window.progressTotalNumber="<c:out value="${progress.totalNumber}" />";
   </c:if>
   window.hasRead = false;
   window.progressStatus = "<iman:toScript><c:out value='${progress.statusMsg}' escapeXml='false'/></iman:toScript>";

   errors =
   [  <c:forEach var="error" items="${progress.errorMsgs}">
      "<c:out value='${error}' />", 
      </c:forEach>
   ];
</SCRIPT>
</BODY>
</HTML>
