anchor.diff:  	alert('rowContents[4]='+rowContents[4]);*/
   	
   	var operatorsTdContent=operation;
  +	//uncommented for the underscore separated operation string 
  +	/*for(var counter=0;counter<operandsCounter-2;counter++)
  +	{
  +		operatorsTdContent=operatorsTdContent+"_"+operation;
  +	}*/
   //alert('before call');
   	//create a table containing tbody with id "table1"
   	addRowToTable("table1",rowContents,operandsTdContent,operatorsTdContent);	
  
positive.code: 				cqQueryId=cqQueryId+"_"+operation+"_("+document.getElementById("selectedqueryId_"+queryIds[counter]).value+")";
  				operandsTdContent=operandsTdContent+"_"+document.getElementById("selectedqueryId_"+queryIds[counter]).value;
  			}
  		}
  	}
  	var cqType="Composite Query";
  
negative.code: 	var operandsTdContent="";
  	var cqTitle="";
  	var cqQueryId="";
  	var operandsCounter=0;
  	for(var counter=0;counter<queryIds.length;counter++)
  	{
  		if(queryIds[counter]!=null && queryIds[counter]!='')
  		{
  			if( cqTitle=='')
  			{
  				cqTitle="[Query : "+document.getElementById("selectedqueryId_"+queryIds[counter]).value+"]";
  			}
  			else
  			{
  				cqTitle=cqTitle+"  "+operation+"  "+ "[Query : "+document.getElementById("selectedqueryId_"+queryIds[counter]).value+"] ";
  			}
  			if(cqQueryId=='')
  			{
  