anchor.diff:  		{
   			var theForm = document.forms[0];
   		    selected=new Array();
  -
  +		
   		    for(var i=0,j=0;i<theForm.elements.length;i++)
   		    {
   		 	  	if(theForm[i].type == 'checkbox' && theForm[i].checked==true)
   			        selected[j++]=theForm[i].value;
   			}
   		}
  -
  -        //Commented out By Baljeet...
  -
  +		
  +		function setDefaultView(element)
  +		{
  +			action="DefaultSpecimenView.do?pageOf=pageOfQueryResults&<%=Constants.SPECIMENT_VIEW_ATTRIBUTE%>="+element.checked+"&view=<%=Constants.SPECIMEN%>"+"&isPaging=false";
  +			document.forms[0].action = action;
  +			document.forms[0].target = "myframe1";
  +			document.forms[0].submit();
  +		}
   		function callAction(action)
   		{
   			document.forms[0].action = action;
  
positive.code: 				var action = "SpreadsheetExport.do?pageNum="+pageNum+"&isCheckAllAcrossAllChecked="+isCheckAllAcrossAllChecked ;
  				document.forms[0].operation.value="export";
  				document.forms[0].action = action;
  				document.forms[0].target = "_blank";
  				document.forms[0].submit();
  			}
  			else
  
negative.code: 		   {
  			var chkBox = document.getElementById('checkAll');
  			var isCheckAllAcrossAllChecked = chkBox.checked;
  		<%if(checkAllPages != null && checkAllPages.equals("true"))
  			{%>
  			chkBox.checked = true;
  				rowCount = mygrid.getRowsNum();
  				for(i=1;i<=rowCount;i++)
  