anchor.diff:  						</html:select>
   					</td>
   					<td class="formField">
  -						<html:select property="<%=attributeCondition%>" styleClass="formFieldSized10" styleId="<%=attributeCondition%>" size="1">
  -							<html:options name="attributeConditionList" labelName="attributeConditionList" />
  +						<html:select property="<%=attributeCondition%>" styleClass="formFieldSized10" styleId="<%=operatorId%>" size="1">
  +						<%
  +							if(attributeNameValue != null)
  +							{
  +							if(attributeType.equals("varchar") || attributeType.equals("text"))
  +							{
  +						%>
  +							<html:option value="<%=Operator.STARTS_WITH%>"><%=Operator.STARTS_WITH%></html:option>
  +							<html:option value="<%=Operator.ENDS_WITH%>"><%=Operator.ENDS_WITH%></html:option>
  +							<html:option value="<%=Operator.CONTAINS%>"><%=Operator.CONTAINS%></html:option>
  +							<html:option value="<%=Operator.EQUAL%>">Equals</html:option>
  +							<html:option value="<%=Operator.NOT_EQUALS%>">Not Equals</html:option>
  +						<%
  +							}else{
  +						%>
  +							<html:option value="<%=Operator.EQUAL%>">Equals</html:option>
  +							<html:option value="<%=Operator.NOT_EQUALS%>">Not Equals</html:option>
  +							<html:option value="<%=Operator.LESS_THAN%>"><%=Operator.LESS_THAN%></html:option>
  +							<html:option value="<%=Operator.LESS_THAN_OR_EQUALS%>"><%=Operator.LESS_THAN_OR_EQUALS%></html:option>
  +							<html:option value="<%=Operator.GREATER_THAN%>"><%=Operator.GREATER_THAN%></html:option>
  +							<html:option value="<%=Operator.GREATER_THAN_OR_EQUALS%>"><%=Operator.GREATER_THAN_OR_EQUALS%></html:option>
  +						<%
  +							}
  +							}
  +							else
  +							{
  +						%>
  +							<html:option value="-1"><%=Constants.SELECT_OPTION%></html:option>
  +						<%
  +							}
  +						%>
   						</html:select>
   					</td>
   					<td class="formField">
  
positive.code: 						</html:select>
  					</td>
  					<td class="formField">
  						<html:select property="<%=attributeName%>" styleClass="formFieldSized15" styleId="<%=attributeName%>" size="1" onchange="<%=functionName%>">
  							<logic:notPresent name="<%=attributeNameList%>">
  								<html:options name="attributeNameList" labelName="attributeNameList" />
  							</logic:notPresent>	
  
negative.code: 						String showCalendarValue = "showCalendar(SimpleConditionsNode:"+i+"_showCalendar)";
  						String fieldName = "simpleQueryInterfaceForm."+attributeValueID;
  						String functionName = "showDateColumn(this,'"+ attributeValueID +"','" + columnID + "','" + showCalendarValue + "','"+fieldName+"')";
  						String attributeId = "attribute" + i;
  						String operatorId = "operator" + i;
  						String onAttributeChange = "onAttributeChange(this,'" + operatorId + "'); " + functionName;
  
  						String attributeNameKey = "SimpleConditionsNode:"+i+"_Condition_DataElement_field";
  						String attributeNameValue = (String)form.getValue(attributeNameKey);
  						String attributeType = null;
  						if(attributeNameValue != null)
  							attributeType = attributeNameValue.substring(attributeNameValue.lastIndexOf(".") + 1);
  				%>					
  				<tr>
  					<td class="formRequiredNotice" width="5">&nbsp;</td>
  