anchor.diff:  		document.forms[0].reportAction.value="false";
   		selectOptions(document.forms[0].selectedColumnNames);
   		setFormAction("<%=reportSaveAction%>");
  -		//document.forms[0].action = "<%=Constants.DISTRIBUTION_REPORT_ACTION%>";
  -		//document.forms[0].submit();
  -	}
  +   }
   	
   	function changeActionOnConfig()
   	{
  
positive.code: 	<!-- NEW distribution REGISTRATION BEGINS-->
  	<tr> 
  	<td>
  	
  	<TABLE cellSpacing=0 cellPadding=3 summary="" border=1 width="100%">
  		
  		<tr>
  			 <td class="formTitle" height="20" colspan="3">
  					<bean:message key="distribution.reportTitle"/>
  			 </td>
  		</tr>
  
  		<!-- Name of the distribution -->
  <!-- Distribution Protocol Identifier -->		
  		<tr>
  			
  			<td class="formRequiredLabel" width="200">
  				<label for="type">
  					<bean:message key="distribution.identifier"/> 
  				</label>	
  			</td>	
  			<td class="formField" width="300">
  				<%=distForm.getDistributionId()%>				
  			</td>	
  		</tr>		
  <!-- Distribution Protocol Title -->		
  		<tr>
  			
  			<td class="formRequiredLabel" width="200">
  				<label for="type">
  					<bean:message key="distribution.protocol"/> 
  				</label>	
  			</td>	
  			<td class="formField" width="300">
  				<%=distForm.getDistributionProtocolTitle()%>				
  			</td>	
  		</tr>
  
  <!-- User -->		
  		<tr>
  			
  			<td class="formRequiredLabel" width="200">
  				<label for="User">
  					<bean:message key="eventparameters.user"/> 
  				</label>	
  			</td>	
  			<td class="formField" width="300">
  				<%=distForm.getUserName()%>		
  			</td>	
  		</tr>
  
  <!-- date -->		
  		<tr>
  			
  			<td class="formRequiredLabel" width="200">
  				<label for="date">
  					<bean:message key="eventparameters.dateofevent"/> 
  				</label>
  			</td>
  			<td class="formField" width="300">
  				 <%=distForm.getDateOfEvent()%>
  			</td>
  		</tr>
  
  <!-- hours & minutes -->		
  		<tr>
  			
  			<td class="formLabel" width="200">
  				<label for="time">
  					<bean:message key="eventparameters.time"/>&nbsp; 
  					
  				</label>
  			</td>
  			<td class="formField" width="300">
  				&nbsp;<%=distForm.getTimeInHours()%>:<%=distForm.getTimeInMinutes()%>
  			</td>
  		</tr>
  <!-- fromSite -->		
  		<%--tr>
  			
  			<td class="formRequiredLabel" width="200">
  				<label for="fromSite">
  					<bean:message key="distribution.fromSite"/> 
  				</label>
  			</td>
  			<td class="formField" width="300">
  				<%=distForm.getFromSite()%>
  			</td>
  		</tr--%>
  <!-- toSite -->		
  		<tr>
  			
  			<td class="formRequiredLabel" width="200">
  				<label for="toSite">
  					<bean:message key="distribution.toSite"/> 
  				</label>
  			</td>
  			<td class="formField" width="300">
  				
  				<%=distForm.getToSite()%>
  			</td>
  		</tr>				
  
  <!-- comments -->		
  		<tr>
  			
  			<td class="formLabel" width="200">
  				<label for="type">
  					<bean:message key="eventparameters.comments"/> 
  				</label>
  			</td>
  			<td class="formField" width="300">
  				&nbsp;<%=distForm.getComments()%>
  			</td>
  		</tr>
  		
  	</table>
  	
  	<table cellpadding="3" cellspacing="0" border="0">
  		<tr id="hiddenCombo" rowspan="4">
  			<td class="formField" colspan="4">
  
negative.code: 				 			while(elementItr.hasNext() && j<columnNames.length)
  				 			{
  				 %>
                      <td class="black_ar"><label><%=elementItr.next()%></label></td>
  						<%
  								j++;
  				 			}
  				 			i1++;
  				 	%>
                    </tr>
  				<%
  				 		}
  				 	%>
  				 	</tr>
  				 <%
  					}
  				%>
                  </table>
  				</div></td>
                </tr>
  			    <tr class="td_color_F7F7F7">
                <td height="20" colspan="3"></td>
                </tr>
              
              <tr  class="td_color_F7F7F7">
                <td  class="buttonbg" style="padding-left:10px;">
  					<html:submit property="expButton"  onclick="changeAction()" >
  							<bean:message  key="buttons.export" />
  					</html:submit>
  			 </td>
              
                <td  class="buttonbg" style="padding-left:10px;" colspan="2"><span class="viewlink2">
  			  	<%
  						if(distForm.getDistributionType().intValue() == Constants.SPECIMEN_DISTRIBUTION_TYPE) 
  						{
  					%>
  						<a href="#" onclick="changeActionOnConfig()"><bean:message  key="buttons.configure" /></a></span>
  						<%
  						}
  					%>
  			  </td>
  					
              </tr>
  	  </td>
  	 </tr>
  	 </table>
  	 </td>
     </tr>
  </table>
  </html:form>			
  