anchor.diff:  	//On calling this function the tab will be switched to Consent Page	
   	function consentPage()
   	{
  +
   		switchToTab("consentTab");
   	}
   //	Consent Tracking Module Virender Mehta (End)
  
positive.code: 		
  		if(selectedTab=="collectionProtocolTab")
  		{
  			updateTab(collectionTab,consentTab);
  		}
  		else		
  		{
  			updateTab(consentTab,collectionTab);
  		}
  	}
  	
  	//This function is for changing the behaviour of TABs
  	function updateTab(tab1, tab2)
  	{
  		tab1.onmouseover=null;
  		tab1.onmouseout=null;
  		tab1.className="tabMenuItemSelected";
  	
  		tab2.className="tabMenuItem";
  		tab2.onmouseover=function() { changeMenuStyle(this,'tabMenuItemOver'),showCursor();};
  		tab2.onmouseout=function() {changeMenuStyle(this,'tabMenuItem'),hideCursor();};
  	}
  
  	//On calling this function the tab will be switched to CollectionProtocol Page
  
negative.code: 							  value='${requestScope.currentCollectionProtocolDate}'
  							  styleClass="formDateSized10"
  				/>
  
  
  		  <span class="grey_ar_s"><bean:message key="page.dateFormat" /></span></td>
  					</tr>
  
  <!-- enddate: Should be displayed only in case of edit -->
  				<!-- bug id: 1565   -->	
  				<logic:equal name="operation" value='${requestScope.edit}'>					
  					<tr>
  						<td align="left" class="black_ar" >&nbsp;</td>
  						<td align="left" class="black_ar">
  							<label for="endDate">
  								<b><bean:message key="collectionprotocol.enddate" /></b>
  							</label>
  						</td>
  			
  						<td align="left" valign="top" >
  	<ncombo:DateTimeComponent name="endDate" 
  							  id="endDate"
  							  formName="collectionProtocolForm"
  							  month= '${requestScope.collectionProtocolMonth}'
  							  year= '${requestScope.collectionProtocolYear}'
  							  day= '${requestScope.collectionProtocolDay}'
  							  value='${requestScope.currentCollectionProtocolDate}'
  							  styleClass="formDateSized10"
  				/>
  
  
  		  <span class="grey_ar_s"><bean:message key="page.dateFormat" /></span></td>
  					</tr>
  				</logic:equal>
  <!-- Consent waived radio button -->
  				<tr>
  						<td align="left" class="black_ar">&nbsp;</td>
            <td align="left" class="black_ar">
  			<label for="consentWaived">
  								<bean:message key="consent.consentwaived" />		
     						    </label>
  		  </td>
            <td align="left" class="black_ar">
  			<label for="consentWaived">
  								<bean:message key="consent.consentwaivedyes" />		
  							</label>
  						<html:radio property="consentWaived" styleId="consentWaived" value="true"/>
              
  				<label for="consentWaived">
  								<bean:message key="consent.consentwaivedno" />		
  							</label>
  				<html:radio property="consentWaived" styleId="consentWaived" value="false"/>
  			  </td>
  				</tr>
  
  <!-- no of participants -->						
  					<tr>
  						<td align="left" class="black_ar">&nbsp;</td>
            <td align="left" class="black_ar">
  			<label for="enrollment">
  								<bean:message key="collectionprotocol.participants" />
  							</label>
  		  </td>
            <td align="left">
  			<html:text styleClass="black_ar" maxlength="10"  size="30" styleId="enrollment" property="enrollment" readonly='${requestScope.readOnlyValue}' />
  		  </td>
  					</tr>
  
  <!-- descriptionurl -->						
  					<tr>
  						<td align="left" class="black_ar">&nbsp;</td>
            <td align="left" class="black_ar">
  			<label for="descriptionURL">
  								<bean:message key="collectionprotocol.descriptionurl" />
  							</label>
  		  </td>
            <td align="left">
  			<html:text styleClass="black_ar" maxlength="200"  size="30" styleId="descriptionURL" property="descriptionURL" readonly='${requestScope.readOnlyValue}' />
  		  </td>
  					</tr>
  
  <!-- activitystatus -->	
  					<logic:equal name="operation" value='${requestScope.edit}'>
  					<tr>
  						<td width="1%" align="left" class="black_ar"><span class="blue_ar_b"><img src="images/uIEnhancementImages/star.gif" alt="Mandatory" width="6" height="6" hspace="0" vspace="0" /></span></td>
  						<td width="22%" align="left" class="black_ar">
  							<label for="activityStatus">
  								<bean:message key="site.activityStatus" />
  							</label>
  						</td>
  						<td class="formFieldNoBordersSimple">
  <!-- Mandar : 434 : for tooltip -->
  							<html:select property="activityStatus" styleClass="formFieldSized12" styleId="activityStatus" size="1"  onchange="checkActivityStatus(this,'/ManageAdministrativeData.do')"
  							 onmouseover="showTip(this.id)" onmouseout="hideTip(this.id)">
  								<html:options name='${requestScope.activityStatusforJSP}' labelName='${requestScope.activityStatusforJSP}' />
  							</html:select>
  						</td>
  					</tr>
  					</logic:equal>
  					
  				</table> 	<!-- table 4 end -->
  			</td>
            <tr>
  			
  	</table>
  <table cellpadding="0" cellspacing="0" border="0" width = "100%" id="submittable">
  			
  		<tr>
  			<td align="left" class="black_ar">&nbsp;</td>
  				<td colspan="2" align="left" class="black_ar">
  				  <label>
  					    <br>
  								<html:checkbox property="aliqoutInSameContainer">
  									<bean:message key="aliquots.storeAllAliquotes" />
  								</html:checkbox>
  						</br>
  					</label>
  				</td>
  			 </tr>
  		 <tr>
  			<td>&nbsp;&nbsp;</td>
  				  <td class="buttonbg">
  					<html:button styleClass="blue_ar_b" property="submitPage">
  						<bean:message key="buttons.submit" />
  					</html:button>
  				 &nbsp;|
  
  					 <html:button styleClass="blue_ar_b" property="forwardPage" onclick="updateCPTree();openEventPage()" >
  						Add Events >>
  					</html:button>
  				<!-- &nbsp;|
  
  					<html:button styleClass="blue_ar_b" property="deletePage" onclick='${requestScope.deleteAction}'>
  						<bean:message key="buttons.delete" />
  					</html:button> -->
  			  </td>
  			</tr>
  			<tr>
  				<td>
  