anchor.diff:  	var r = document.getElementById(id);
   	r.innerHTML = operation;
   }
  +
  +function showDateColumn(element)
  +{
  +	var dataStr = element.options[element.selectedIndex].value;
  +	var dataValue = new String(dataStr);
  +//	alert(dataValue);
  +	var lastInd = dataValue.lastIndexOf(".");
  +//	alert(lastInd);
  +	if(lastInd == -1)
  +		return;
  +	else
  +	{
  +		var dataType = dataValue.substr(lastInd+1);
  +
  +		var txtField = document.getElementById("attributeValue");
  +		txtField.value="";
  +
  +		if (dataType == "date")
  +		{
  +			var td = document.getElementById("calTD");
  +			td.className="formField";
  +			txtField.readOnly="readOnly";
  +		}
  +		else
  +		{
  +			var td = document.getElementById("calTD");
  +			td.className="hideTD";
  +			txtField.readOnly="";
  +		}	
  +	}	
  +}
  +
   </script>
   
   <html:errors />
  
positive.code: 						</html:select>
  					</td>
  					<td class="formField">
  						<html:select property="<%=attributeName%>" styleClass="formFieldSized15" styleId="attributeName" size="1">
  							<logic:notPresent name="<%=attributeNameList%>">			
  								<html:options name="attributeNameList" labelName="attributeNameList" />
  							</logic:notPresent>	
  
negative.code: 					<table cellpadding="4" cellspacing="0" border="0">
  						<tr>
  							<td>
  								<html:submit styleClass="actionButton" >
  									<bean:message  key="buttons.search" />
  								</html:submit>
  							</td>
  