anchor.diff:  	 if(jsonResponse.errormessage!=null)
        {
              document.getElementById("errormessage").innerHTML=jsonResponse.errormessage;
  +		   clearLoadingDiv();
   	 }
   
   	//set workflow id 
  
positive.code: 	 if(jsonResponse.errormessage!=null)
  	 {
  		   document.getElementById("errormessage").innerHTML=jsonResponse.errormessage;
  	 }
  
  	//set workflow id 
  
negative.code: }
  function initializeLoadingDiv()
  {
  	document.getElementById("loading").className = "loading-visible";
  }
  function clearLoadingDiv()
  {
  		var loading=document.getElementById("loading");
  		if(loading.className=="loading-visible")
  		{
  			loading.className = "loading-invisible";
  		}
  
  }
  