anchor.diff:  </style>
   
   <script type="text/javascript">
  -
  -	window.onload=function(){		
  -		$('actions').value = '${actions}';
  -		showReportID();
  -
  -		
  +	window.onload = function () { 
  +		Event.observe('actions', 'change', showAndHideFields);
  +		showAndHideFields();		
   	}
   	
   	
  -	function showReportID(){
  +	
  +	function showAndHideFields(){
   		
   		if ($('actions').value == 'report') {
   			$('reportIdDiv').show();
  +			$('datesDiv').hide();
  +		} else if ($('actions').value == 'daterange') {
  +			$('reportIdDiv').hide();
  +			$('datesDiv').show();
   		} else {
   			$('reportIdDiv').hide();
  +			$('datesDiv').hide();		
   		}
   
   	}
  
positive.code:             		</tr>
              		<tr id="reportIdDiv" style="display:none">
              			<td>
              				<div class="row">
  	            				<div class="label">Report ID </div>
              					<div class="value">
              						<input name="reportId" type="text" value="${reportId}"/>
              					</div>
              			</td>
              		</tr>
              		
               </table>	
  
              
  
negative.code:               <table>
              		<tr>
              			<td>
                      		<tags:renderRow field="${fieldGroups.main.fields[0]}"/>
              			</td>
              			<td>
              				<tags:button color="blue" type="submit" value="Filter" size="small" icon="search"/>
  