anchor.diff:         			(	(json.job.status.toLowerCase()=="finished")||
          	       		(json.job.status.toLowerCase()=="aborted")|| 
          	       		(json.job.status.toLowerCase()=="failed"));    
  -       		if ((jobDone)&&(pe!=null)) {
  -           		pe.stop();
  +       		if (jobDone) {
  +           		$('deleteButton').show();
  +           		$('downloadConsoleButton').show();
  +           		$('abortButton').hide();
  +        		if (json.job.status.toLowerCase()=="finished") {$('submitForm').show();}
  +           		if (pe) {
  +               		pe.stop();
  +           		}
              		consoleUpdater.stop();
              		updateConsole();
  -           		
              	};
  -       		if (json.job.status.toLowerCase()=="started") {$('abortButton').show();} 
  -       		else {$('abortButton').hide();}		
       	}//onSuccess
   		
       });
  
positive.code:        		$('job.endTimestamp').innerHTML=checkNull(json.job.endTimestamp);
         		$('job.name').innerHTML=json.job.name;
         		if (json.job.description) {$('job.description').innerHTML=json.job.description;}
         		if (json.job.status.toLowerCase()=="finished") {$('submitForm').show();}
         		if ((json.job.status.toLowerCase()=="finished")&&($('resultContent').empty())){
             		$('result').show();           		
             		if (json.resultSet.root!=null){
  
negative.code: 	<form id="submitForm"  style="display:none;" action="<c:url value='/get/JobManager.selectJobForSubmission'/>" method="post" class="myleft "><input
  	name="jobId" type="hidden" value="${job.id}" />
  		<input  name="submit" tabindex="6" value="Select As Submission"	type="submit" />
  		 
  	</form>
  
  <form id="theform" action="<c:url value='/get/JobManager.jobAction'/>" method="post">
  	<input name="id" type="hidden" value="${job.id}" />
  	 <input id="downloadConsoleButton" style="display: none;" type="button" 
  	 	value="Download Log"  onclick="window.location.assign('<c:url value='/get/JobManager.getConsole?jobId=${job.id}'/>')"/>
  	<input id="abortButton" name="submit" tabindex="6" value="Abort This Job" type="submit" />
  	<input type="button" value="Clone"  onclick="window.location.assign('<c:url value='/get/task?flowId=${job.flow.id}&cloned=true'/>')"/>
  	<input  id="deleteButton" style="display:none;" tabindex="6" name="submit" value="Delete This Job" type="submit" class="myright"/>
  </form>
  </fieldset>
  
  