anchor.diff:  <div class="portletBody">
   <!-- content... -->
   <h:form id="takeAssessmentForm" enctype="multipart/form-data"
  -   onsubmit="saveTime()">
  +   onsubmit="alert('We are submitting');saveTime()">
   
   <script language="javascript">
   function checkRadio()
  
positive.code: </h:panelGroup>
  
  <!-- HEADING -->
  <f:subview id="assessmentDeliveryHeading">
  <%@ include file="/jsf/delivery/assessmentDeliveryHeading.jsp" %>
  </f:subview>
  
negative.code: {
    if((typeof (document.forms[0].elements['takeAssessmentForm:assessmentDeliveryHeading:elapsed'])!=undefined) && ((document.forms[0].elements['takeAssessmentForm:assessmentDeliveryHeading:elapsed'])!=null) ){
    pauseTiming = 'true';
    document.forms[0].elements['takeAssessmentForm:assessmentDeliveryHeading:elapsed'].value=loaded/10;
    alert("loaded"+loaded); 
    alert("elapsed"+document.forms[0].elements['takeAssessmentForm:assessmentDeliveryHeading:elapsed'].value); 
   }
  }
  
  