anchor.diff:  		        // do something
   		    },
   		    afterSign: function(signer, signature) {
  -		    	console.log(signature);
  -		        $.ajax({
  -			   type: "POST",
  -		        url : portletURL.toString(),
  -			    async: false,
  +		    	//console.log(signature);
  +		       $.ajax({
  +			   		type: "POST",
  +		       		url : portletURL.toString(),
  +			   		async: false,
   		            data : {
   		                <portlet:namespace/>signature: signature.value,
   		                <portlet:namespace/>certificate: signature.certificate,
   		                <portlet:namespace/>resources: JSON.stringify(signer.options.document.resources)
  +		            },success: function(data){
  +		            	console.log(data);
   		            }
   		        });
   		    },
  
positive.code: 
  		//loadingMask.reset();
  		
  		console.log(loadingMask.getAttrs());
  
  		loadingMask.show();
  	
  
negative.code: 						        success: function(event, id, obj) {
  									var instance = this;
  									var res = instance.get('responseData');
  									//console.log(res);
  									<portlet:namespace/>signature(res.hashHex, res.resources);
  								},
  						    	error: function(){
  