anchor.diff:  }
   function checkAlreadyPresent(itemToadd)
   {
  +
  +/*	var noOfRows=parent.window.document.getElementById("table1").rows.length;
  +				alert("noOfRows"+noOfRows);
  +	var numOfRows2 =document.getElementsByName('chkbox').length;
  +	alert("numOfRows2"+numOfRows2);
  +		for(var idCount=0;idCount<noOfRows; idCount++)
  +		{
  +
  +			for(var idCount2=0;idCount2<numOfRows2; idCount2++)
  +			{
  +					
  +				alert(document.getElementById("queryTitleControl_"+idCount2));
  +				var itemToadd=document.getElementById("queryTitleControl_"+idCount2);
  +				alert("itemToadd"+itemToadd);
  +				if(parent.window.document.getElementById('selectedqueryId_'+idCount).value==itemToadd)
  +				{	
  +					
  +				}	
  +			}
  +		}	*/
  +		
   	var noOfRows=parent.window.document.getElementById("table1").rows.length
   	var alreadyExist=false;
   
  
positive.code: 			</tr>
  			<tr>
  				<td valign="top" style="border-right:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD;" height="300px">
  					<table width="99%" border="0" cellpadding="0" cellspacing="0">
  						<tr>
  							<td height="5" colspan="3" valign="middle"></td>
  						</tr>
  						<tr>
  							<td width="12" valign="middle">&nbsp;</td>
  							<td colspan="2" valign="bottom" class="blue_title">Queries</td>
  						</tr>
  						<tr>
  							<td width="12" valign="middle">&nbsp;</td>
  							<td width="18" align="left" valign="top"><img src="images/advancequery/ic_folder.gif" alt="explore" width="16" height="16"  align="absmiddle"></td>
  							<td valign="top"><a href="javascript:showNextReleaseMsg()" class="blacklink"><bean:message key="workflow.myqueries"/> 
  						</a></td>
  						</tr>
  						<tr>
  							<td width="12" valign="middle">&nbsp;</td>
  							<td align="left" valign="top"><img src="images/advancequery/ic_folder.gif" alt="explore" width="16" height="16"  align="absmiddle"></td>
  							<td valign="top"><a href="javascript:showNextReleaseMsg()" class="blacklink"><bean:message key="workflow.sharedqueries"/></a></td>
  						</tr>
  
negative.code: 			</tr>
  			<tr>
  			<td class="tr_color_lgrey" height="25px">&nbsp;</td>
  			<td class="tr_color_lgrey" height="30">
  				<table width="100%" border="0" cellspacing="0" cellpadding="0">
  			  <tr colspan="3" class="content_txt">
  				<td width="125" align="left" class="content_txt_bold">Show Last:&nbsp;
  															<html:select property="value(numResultsPerPage)" styleId="numResultsPerPage" onchange="changeResPerPage('numResultsPerPage')" value="${sessionScope.numResultsPerPage}">
  												<html:options collection="resultsPerPageOptions" labelProperty="name" property="value"/>
  											</html:select>
  				</td>
  				<td align="right" style="padding-right:10px">
  													<c:set var="pageOf" value="${requestScope.pageOf}"/>  
  														<jsp:useBean id="pageOf" type="java.lang.String"/>
  
  