anchor.diff:  		}
    }updateOpenerUI();
    setCheckboxCount();
  + 
  + function forwardToWorkflow()
  +{
  +	
  +	
  +	<%		
  +		String id =(String) request.getAttribute("worflowId");
  +	%>
  +	
  +	
  +	if(<%=id%>!=null)
  +	{
  +		
  +		document.forms[0].action ="SearchObject.do?pageOf=pageOfWorkflow&id="+<%=id%>;
  +		document.forms[0].submit();
  +
  +	}
  +}forwardToWorkflow();
   </script>
   </body>
  
positive.code: 	</logic:notEmpty>
  </select>
  <html:hidden property="forwardTo"/>
  
   <input type="button" name="btn" id="btn" onclick="updateUI()" style="display:none">
  
  <table width="99%" border="0" valign="top"  cellpadding="0" cellspacing="0" style="padding-left:10px;">
  
negative.code: 		alert ("Your browser does not support AJAX!");
  		return;
  	}
  	
  	
  	var handlerFunction = getReadyStateHandler(request,responseHandler,true); 
  	request.onreadystatechange = handlerFunction; 
  	request.open("POST",url,true);    
  	request.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	
  	request.send("");
  }
  
  function executeGetDataQuery(dataQueryId)
  {
    
     
  	var countQueryId = document.getElementById("countQueryDropDown_"+dataQueryId);
      var countqId =countQueryId.options[countQueryId.selectedIndex].value;
  	var hiddnid=  document.getElementById("dataQueryId");
  	var hid=   document.getElementById("countQueryId") 
  	   if(hiddnid!=null)
  	{
  	    hiddnid.value=dataQueryId;
  	    hid.value=countqId;
  	  }
  
  	 //send Ajax request for validation
  	  	 var request = newXMLHTTPReq();		
  		 var handlerFunction = getReadyStateHandler(request,displayValidationMesage,true);
  		 request.onreadystatechange = handlerFunction;	
  		 var actionURL = "buttonClicked=ViewResults";		
  	      var url = "ValidateQuery.do?dataQueryId="+dataQueryId+"&countQueryId="+countqId;
  		 request.open("POST",url,true);	
  		 request.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	
  		request.send(actionURL);	
  }
  
  
  function displayValidationMesage(response)
  { 
    
    if(response=="ViewResults")
   {
      
     //alert(document.getElementById("dataQueryId").value);
  	   //alert(document.getElementById("countQueryId").value);
  // alert(response);
   }
    
  }
  
  
  function responseHandler(response)
  {
  