anchor.diff:  
   }
   
  -	
  +
  +//Consent Tracking Module Virender Mehta(Start)
  +	//This Function will add more consent Tier 
  +	function addConsentTier()
  +	{		
  +		var rowCount = document.getElementById('innertable').rows.length;
  +		var createRow = document.getElementById('innertable').insertRow(1);
  +		var createSerialNo=createRow.insertCell(0);
  +		var createCheckBox=createRow.insertCell(1);
  +		var createTextArea=createRow.insertCell(2);
  +		
  +		var iCount = rowCount-1;
  +		var consentName="consentValue(ConsentBean:"+iCount+"_statement)";
  +			
  +		createSerialNo.className="tabrightmostcell";
  +		createSerialNo.setAttribute('align','right');
  +		createCheckBox.className="formField";
  +		createCheckBox.setAttribute('align','center');
  +		createTextArea.className="formField";
  +		
  +						
  +		createSerialNo.innerHTML=rowCount+".";
  +		createCheckBox.innerHTML="<input type='checkbox' name='consentcheckBoxs' id='check"+iCount+"'>";
  +		createTextArea.innerHTML="<textarea rows='2'class='formFieldSized' style='width:90%;' name="+consentName+">";
  +				
  +	}
  +	
  +	//On selecting Select All CheckBox all the associted check box wiil be selected
  +	function checkAll(chkInstance)
  +	{
  +		var chkCount= document.getElementsByName('consentcheckBoxs').length;
  +		for (var i=0;i<chkCount;i++)
  +		{
  +			var elements = document.getElementsByName('consentcheckBoxs');
  +			elements[i].checked = chkInstance.checked;
  +		}
  +	}
  +
  +	//This function will delete the selected consent Tier
  +	function deleteSelected()
  +	{
  +		var rowIndex = 0;	
  +		var rowCount=document.getElementById('innertable').rows.length;
  +		var removeButton = document.getElementsByName('removeButton');
  +		
  +		/** creating checkbox name**/
  +		var chkBox = document.getElementsByName('consentcheckBoxs');
  +		var lengthChk=chkBox.length;
  +		var j = 0;
  +		for(var i=0;i<lengthChk;i++)
  +		{
  +			if(chkBox[j].checked==true)
  +			{
  +				var gettable = document.getElementById('innertable');
  +				var currentRow = chkBox[j].parentNode.parentNode;
  +				rowIndex = currentRow.rowIndex;
  +				gettable.deleteRow(rowIndex);
  +			}
  +			else
  +			{
  +				j++;
  +			}	
  +		}
  +		var j = chkBox.length;
  +		for(var i=0;i<chkBox.length;i++)
  +		{
  +			var currentRow = chkBox[i].parentNode.parentNode;
  +			currentRow.childNodes[0].innerHTML=(j-i)+".";
  +		}		
  +	}	
  +	
  +	//This function will the called while switching between Tabs
  +	function switchToTab(selectedTab)
  +	{
  +		var displayKey="block";
  +		
  +		if(!document.all)
  +			displayKey="table";
  +			
  +		var displayTable=displayKey;
  +		var tabSelected="none";
  +		
  +		if(selectedTab=="collectionProtocolTab")
  +		{
  +			tabSelected=displayKey;
  +			displayTable="none";
  +		}	
  +		
  +		var display=document.getElementById('table1');
  +		display.style.display=tabSelected;
  +		
  +		var display2=document.getElementById('table2'); 
  +		display2.style.display=tabSelected;
  +			
  +		var display3=document.getElementById('table3'); 
  +		display3.style.display=tabSelected;
  +			
  +		var display4=document.getElementById('table4');
  +		display4.style.display=displayTable;	
  +		
  +		var display5=document.getElementById('submittable');
  +		display5.style.display=tabSelected;
  +		
  +				
  +		var collectionTab=document.getElementById('collectionProtocolTab');
  +		var consentTab=document.getElementById('consentTab');
  +		
  +		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
  +	function collectionProtocolPage()
  +	{
  +		switchToTab("collectionProtocolTab");
  +	}
  +
  +	//On calling this function the tab will be switched to Consent Page	
  +	function consentPage()
  +	{
  +		var checkboxObject=document.getElementById('defineConsents');
  +		if(checkboxObject.checked)
  +		{
  +			switchToTab("consentTab");
  +		}
  +	}
  +//	Consent Tracking Module Virender Mehta (End)
  +
   //-->
   </SCRIPT>
   
  
positive.code: </td></tr></tbody></table>
  <!-- outermosttable  -->
  
  <table width="100%">	
  	<!-- to keep -->
  		<tr>
  			<td align="right" colspan="3">
  				<!-- action buttons begins -->
  				<!-- table 6 -->
  				<table cellpadding="4" cellspacing="0" border="0">
  					<tr>
  						<!-- td>
  							<html:submit styleClass="actionButton">
  								<bean:message  key="buttons.submit" />
  							</html:submit>
  							</td-->
  							
  						   <td class="formLabelNoBackGround" width="30%">
  			               <html:checkbox property="aliqoutInSameContainer">
  			               <bean:message key="aliquots.storeAllAliquotes" />
  			                </html:checkbox>
  	 	                   </td>
  						   
  						   <td width="55%">
  						   &nbsp;
  						   </td>
  						
  						<td width="15%">
  						<%
  						   	String action = "confirmDisable('" + formName +"',document.forms[0].activityStatus)";
  						%>
  							<html:button styleClass="actionButton" property="submitPage" onclick="<%=action%>">
  								<bean:message key="buttons.submit"/>
  							</html:button>
  						</td>
  						
  							<%-- td>
  								<html:reset styleClass="actionButton" >
  									<bean:message  key="buttons.reset" />
  								</html:reset>
  							</td --%>
  					</tr>
  				</table>  
  				<!-- table 6 end -->
  				<!-- action buttons end -->
  			</td>
  		</tr>
  
  	<!-- NEW COLLECTIONPROTOCOL ENTRY ends-->
  </table>
  </html:form>
  
  
  <html:form action="DummyCollectionProtocol.do">
  <div id="d1">
  
negative.code: 							</label>
  						</td>
  						<td class="formField" colspan=2>
  							<html:text styleClass="formFieldSized" maxlength="200"  size="30" styleId="descriptionURL" property="descriptionURL" readonly="<%=readOnlyValue%>" />
  						</td>
  					</tr>
  
  