anchor.diff:  		var widthFull = $(window).width()*0.99;
   		var width = $(window).width()*0.90;
   		var height = 0;
  +		var current = null;
   		$.ajaxSetup({timeout: <%= conf.getAjaxTimeout() %>});
       
  -		
  -		window.open("/ui-fw/script/empty.jsp", "taskform");
  -		
  -		if($.browser.msie){
  -		     height = $(window).height() - 130;
  -		  }else{
  -		     height = $(window).height() - 130;
  -		  }
  -		var height2 = height - 80;
  -		var needResize = false;
  -		
  -		$(window).resize(function() {
  -			if(navigator.appName != "Microsoft Internet Explorer") {
  -			
  -			var loc = window.frames['taskform'].location;
  -			 try {
  -			  if(loc.toString().indexOf("empty.jsp")>0) {
  -			    location.href=location.href;
  -			  } else {
  -			    needResize = true;
  -			  }
  -			 } catch(err) {
  -			    return;
  -			 }
  -		  }
  -		});
  -
  -		function preProcess(data) {
  -    		$("rows row", data).each(function () {
  -                var elem = $(this);
  -                var str = $.string(elem.text()).stripTags().strip().str
  -
  -                // This has a friend in flexigrid.js (line 456)
  -                if($("#caseFilter").attr("checked")) {                
  -                  if(str.indexOf($("#filter").val())==-1)  
  -                   elem.attr("flexi","ignore");
  -                 }
  -                else {
  -                  if(str.toLowerCase().indexOf($("#filter").val().toLowerCase())==-1) {
  -                   elem.attr("flexi","ignore"); 
  -                  }
  -                }
  -				        
  -		    });
  -			return data;
  -		}
  -
  +		/*********************************************************************
  +		Section to handle resizing of window, and recompute table size and
  +		display area
  +		**********************************************************************/
  +		
  +		/*
  +		Find the browser window size, and adapt to IE
  +		*/
  +    if($.browser.msie){
  +      height = $(window).height() - 130;
  +    }else{
  +      height = $(window).height() - 130;
  +    }
  +    var height2 = height - 80;
  +    var needResize = false;
  +		
  +		/*
  +		Resize the application when the window is reloaded
  +		*/
  +    $(window).resize(function() {
  +      if(navigator.appName != "Microsoft Internet Explorer") {
  +        var loc = window.frames['taskform'].location;
  +        try {
  +          if(loc.toString().indexOf("empty.jsp")>0) {
  +            location.href=location.href;
  +          } else {
  +            needResize = true;
  +          }
  +        } catch(err) {
  +          return;
  +        }
  +      }
  +    });
  +
  +   /*********************************************************************
  +   Method to preprocess the data loaded in flexigrid.
  +   The reason is we want to be able to hide some lines depending on the search fields.
  +   
  +   **********************************************************************/
  +   
  +   /*
  +   Do preprocessing of the loaded items in the flexigrid table
  +    This has a friend in flexigrid.js (line 456)
  +   */
  +   function preProcess(data) {
  +     $("rows row", data).each(function () {
  +       var elem = $(this);
  +       var str = $.string(elem.text()).stripTags().strip().str
  +
  +       if($("#caseFilter").attr("checked")) {                
  +         if(str.indexOf($("#filter").val())==-1) {
  +           elem.attr("flexi","ignore");
  +         }
  +       }
  +       else {
  +         if(str.toLowerCase().indexOf($("#filter").val().toLowerCase())==-1) {
  +           elem.attr("flexi","ignore"); 
  +         }
  +       }
  +     });
  +     return data;
  +    }
  +
  +    /*
  +    Completely clear the content of the frame, where the forms are usually loaded
  +    */
   		function clearFrame() {
       	var loc = window.frames['taskform'].location;
       	try {
  
positive.code: 		buttons : [{name: '<fmt:message key="org_intalio_uifw_toolbar_button_delete"/>', bclass: 'delete', onpress : deleteTask}], 
  		<%} %>
  		colModel : [
  		{display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_description"/>', name : '_description', width : width*0.6, sortable : true, align: 'left'},
  		{display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_creationDateTime"/>', name : '_creationDate', width : width*0.4, sortable : true, align: 'left'}
  		]},p));
  		
  		var current = null;
  
  		// visible == hide all
  		function refresh(visible) {
  		if(needResize) {
  		  location.href=location.href;
  		}
  		if(visible==false){
  			t1.parent().parent().hide(speed);
  			t2.parent().parent().hide(speed);
  			t3.parent().parent().hide(speed);
  			current==null;
  		}
  		else {
  		if(current==null) {
  			t1.parent().parent().hide(speed);
  			t2.parent().parent().hide(speed);
  			t3.parent().parent().hide(speed);
  		}
  		else if(current=='tabTasks') {
  			t1.flexReload();
  			t1.parent().parent().show(speed);
  			t2.parent().parent().hide(speed);
  			t3.parent().parent().hide(speed);
  		}
  		else if(current=='tabNotif') {
  			t2.flexReload();
  		    t1.parent().parent().hide(speed);
  			t3.parent().parent().hide(speed);
  			t2.parent().parent().show(speed);
  		}
  		else if(current=='tabPipa') {
  			t3.flexReload();
  			t1.parent().parent().hide(speed);
  			t2.parent().parent().hide(speed);
  			t3.parent().parent().show(speed);
  		}
  		}
  
  		}
  
          $("html").mousemove(function(e){
              resetTimer();
          });
  	    
  
  		//
  		// change tab on click, refresh frame, refresh task list
  		//
  		$('#tabnav li a').click(function(){
              resetTimer();
  			clearFrame();
  			$("#filter").val("");
  			if(current==null)  {
  				$(".intro").each(function(){ $(this).hide();});
  				$("#filterdiv").show();
  			}
  			current = $(this).attr("id");
  			refresh(true);
  		});
  
  		// not supported by IE
  		$("#filter").change(function() {
  			refresh(true);
  		});
  		$("#filterbutt").click(function() {
  			refresh(true);
  		});
  
  		$('#taskform').load(function(){
  			
  			var loc = window.frames['taskform'].location;
  			try {
  			  if(loc == "about:blank") return;
  			} catch(err) {
  			  $('#taskform').animate({height:height},speed);
  		    refresh(false);
  			  return;
  			}
  			
  			var elo = $('html', window.frames['taskform'].document);
  			
  			var visible = $('#taskform').height() != 0;
  			if(visible) {
       			// TODO: let's find a clever way of checking for content independent of the form manager
  	    		var content = (loc.toString().indexOf('type=PATask')!=-1) || (elo.html().substring(0,6).toLowerCase() == '<head>' && elo.html().length > 700);
  			  if(!content) {
       			clearFrame();
  				  refresh(true);
  			  } else {
  			    $('#taskform').animate({height:height},speed);
  				  refresh(false);
  			  }
  			}
  			
        $('#taskform').contents().mousemove(function(e){ resetTimer();});
        $("#taskform").contents().keypress(function (e){ resetTimer();});
  	
  		});
  		
  		$.jcorners("#intro",{radius:20});
  		$("#filterdiv").hide();
  		$("#reassignDialog").hide();
  		$("#updateDialog").hide();
  		$("#connectionLost").hide();
  		
  		var timeout = <c:out value="${refreshTime}"/> * 1000;
  		if(timeout == null || timeout < 1000) timeout = 1000;
  		
  		$.timer(timeout,function(timer) {
  		  // don't refresh if showing a dialog
  		  if ($("#reassignDialog").is(":visible")) return; 
  		  if ($("#sessionExpired").is(":visible")) return; 
  		  if ($("#connectionLost").is(":visible")) return; 
  		  
  		  ping(timer);
  		  
        if(current=='tabTasks') t1.flexReload();
        if(current=='tabNotif') t2.flexReload();
        if(current=='tabPipa')  t3.flexReload();
  		});
  		
  		function ping(timer) {
  		   var xhrReq = $.ajax({
  					 type: "HEAD",
  					 url: "/ui-fw/images/spacer.gif",
  					 error: function() {
  					    $("#connectionLost").dialog('open');
  					    timer.stop();
  					 }
  				});
  		}
  		
  		$("#tabTasks").click();
  		
  		});
  
  </script>
  
negative.code: 			$('#taskform').animate({height:"0px"},speed);
        window.open("/ui-fw/script/empty.jsp", "taskform");
  		}
  		
  		/*********************************************************************
  		Methods and variablles to handle Session timeout management
  		**********************************************************************/
  		var time = 0;
  		var sessionTimeout = <c:out value="${sessionTimeout}"/>; // in minutes 
  		var timeCount = 60000; // 1 minute 
  		
  		/*
  		Method to reset the timer, and the timer notice text
  		*/
  		function resetTimer() {
  		    time = 0;
          $("#timer").text("");
  		}
  		
  		/*
  		Increase the elapsed time count for the current session, on the client side
  		*/ 
      $.timer(timeCount,function(timer) {
        if(time>=1) {
          var text = '<fmt:message key="org_intalio_uifw_session_inactivity_1"/>';
          text = text+" "+time+" "+'<fmt:message key="org_intalio_uifw_session_inactivity_2"/>';
          $("#timer").text(text);
        }
        time = time + 1;
  
        if ($("#connectionLost").is(":visible")) {timer.stop();}
        if(time > sessionTimeout) { log_me_out(); timer.stop();}
      });
      
      /*
  		Erase the session, call logout on the server
  		*/
  		function log_me_out() {
  		   $.post("login.htm?actionName=logOut");
  		   $("#sessionExpired").dialog('open');
  		}
      
      /*
      Define needed events for timer
      */
  		$("html").mousemove(function(e){resetTimer();});
  		$(this).click(function() {resetTimer();});
  		
      /*********************************************************************
      Section to handle dialogs code
      *********************************************************************/
  		
  		/*
  		Session expired dialog
  		*/
      $("#sessionExpired").dialog({
        bgiframe: false,
        autoOpen: false,
        height: 200,
        modal: true,		
        buttons: {
          '<fmt:message key="org_intalio_uifw_message.button.ok"/>': function() {location.reload(true);}
        },
        close: function() {location.reload(true);}
      });
      
      /*
      Connection lost dialog
      */
      $("#connectionLost").dialog({
        bgiframe: false,
        autoOpen: false,
        height: 200,
        modal: true,		
        buttons: {'<fmt:message key="org_intalio_uifw_message.button.ok"/>': function() {location.reload(true);}},
        close: function() {location.reload(true);}
      });
  
      /*
      Export dialog
      */
      $("#exportdialog").dialog({
        bgiframe: false,
        autoOpen: false,
        height: 300,
        modal: true,		
        buttons: {'<fmt:message key="org_intalio_uifw_message.button.ok"/>': function() {exportTasksAction();}}
      });
      
      /*********************************************************************
      Remote SOAP Calls section.
      
      Note that we call update of the task list on the call back of each SOAP
      request. Which means, most actions would have an immediate effects, and
      we can show it pretty fast 
      *********************************************************************/
  
      /*
      SOAP for Delete task(s) 
      */
      function deleteTask(com,grid)
      {
         if ($('.trSelected',grid).length>0) {
         if(confirm('Delete ' + $('.trSelected',grid).length + ' tasks?')) {
  
          $('.trSelected',grid).each(function() {
            
            // pipa delete
            var pipa = $('a.pipa',$(this));
            if(pipa.html()!=null) {
             var soapBody = new SOAPObject("deletePipa");
             soapBody.ns = "http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/";
             soapBody.appendChild(new SOAPObject("pipaurl")).val(pipa.attr('endpoint'));
             soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
             var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/deletePipa", soapBody);
             SOAPClient.SOAPServer = tmsService;
             SOAPClient.Proxy = proxy;
             SOAPClient.SendRequest(sr, update);
            } // end soap delete pipa
   
           // task delete
           var task = $('a.taskd',$(this));
           if(task.html()!=null) {
             var soapBody = new SOAPObject("delete");
             soapBody.ns = "http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/";
             soapBody.appendChild(new SOAPObject("taskId")).val(task.attr('tid'));
             soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
             var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/delete", soapBody);
             SOAPClient.SOAPServer = tmsService;
             SOAPClient.Proxy = proxy;
             SOAPClient.SendRequest(sr, update);
           } // end soap delete tasks
                      
          }); // end each
      		      
         } // end confirm
         } // end delete
      }; // end delete function
    
      /*
      SOAP for Claim and revoke
      */
      function claimTask(com,grid)
      {
        $('.trSelected',grid).each(function() 
        {
        var task = $('a.taskd',$(this));
        
          if(task.attr('state') == "READY") {
            // claim
            var soapBody = new SOAPObject("claimTaskRequest");
            soapBody.ns = "http://www.intalio.com/bpms/workflow/ib4p_20051115";
            soapBody.appendChild(new SOAPObject("taskId")).val(task.attr('tid'));
            soapBody.appendChild(new SOAPObject("claimerUser")).val(currentUser);
            soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
            var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/claimTask", soapBody);
            SOAPClient.Proxy = proxy;
            SOAPClient.SOAPServer = tmpService;
            SOAPClient.SendRequest(sr, update);
            } 
            else 
            {
            // revoke
            var soapBody = new SOAPObject("revokeTaskRequest");
            soapBody.ns = "http://www.intalio.com/bpms/workflow/ib4p_20051115";
            soapBody.appendChild(new SOAPObject("taskId")).val(task.attr('tid'));
            soapBody.appendChild(new SOAPObject("claimerUser")).val(currentUser);
            soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
            var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/revokeTask", soapBody);
            SOAPClient.Proxy = proxy;
            SOAPClient.SOAPServer = tmpService;
            SOAPClient.SendRequest(sr, update);
          }
  
        }); // end each  
      }; // end function claims
      
      /*
      SOAP to skip a task
      */
      function skipTask(com,grid) {
          $('.trSelected',grid).each(function() 
          {
              var task = $('a.taskd',$(this));
              
              var soapBody = new SOAPObject("skipTaskRequest");
              soapBody.ns = "http://www.intalio.com/bpms/workflow/ib4p_20051115";
              soapBody.appendChild(new SOAPObject("taskId")).val(task.attr('tid'));
              soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
              var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/skipTask", soapBody);
              SOAPClient.Proxy = proxy;
              SOAPClient.SOAPServer = tmpService;
              SOAPClient.SendRequest(sr, update);
          });
      }
          
      /*
      SOAP to update the metadata of a task
      */
      function updateTask(com,grid) {
          $('.trSelected',grid).each(function() 
          {
              var task = $('a.taskd',$(this));
              var soapBody     = new SOAPObject("update");
              soapBody.ns      = "http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/";
              var taskEl = soapBody.appendChild(new SOAPObject("task"));
              var metaEl = taskEl.appendChild(new SOAPObject("metadata"));
              metaEl.appendChild(new SOAPObject("taskId")).val(task.attr('tid'));
              metaEl.appendChild(new SOAPObject("description")).val($('#up_description').val());
              metaEl.appendChild(new SOAPObject("priority")).val($('#up_priority').val());
              soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
              
              var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/update", soapBody);
              SOAPClient.Proxy = proxy;
              SOAPClient.SOAPServer = tmsService;
              SOAPClient.SendRequest(sr, update);
          });
      }
          
      /*
      SOAP to reassign a task
      */
      function reassignTask(com,grid) {
          $('.trSelected',grid).each(function() 
          {
              var task = $('a.taskd',$(this));
              
              var soapBody     = new SOAPObject("reassign");
              soapBody.ns      = "http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/";
              soapBody.appendChild(new SOAPObject("taskId")).val(task.attr('tid'));
              soapBody.appendChild(new SOAPObject("userOwner")).val($('#reassign_user').val());
              soapBody.appendChild(new SOAPObject("roleOwner")).val($('#reassign_roles').val());
              soapBody.appendChild(new SOAPObject("taskState")).val('READY');
              soapBody.appendChild(new SOAPObject("participantToken")).val('${participantToken}');
              
              var sr = new SOAPRequest("http://www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/reassign", soapBody);
              SOAPClient.Proxy = proxy;
              SOAPClient.SOAPServer = tmsService;
              SOAPClient.SendRequest(sr, update);
          });
      }
          
      /*
      Code to update the current task list after sending some request to the server
      */
      function update(object) 
      {
         $.timer(1000, function (timer) {refresh(true);timer.stop();});
      }
          
      /*********************************************************************
      Support methods for reassign dialog.
      We need to be able to fetch users and roles, so below are a few
      methods that make SOAP calls to the token service and retrieve the 
      proper data.
      *********************************************************************/
  
      /*
      Populate the html select box with roles coming from the server 
      */
      function populateRoles(data) {
        $(data).find("/rbac:getAssignedRolesResponse/rbac:role/").each(function(){
          if(this.nodeName == "rbac:role") {
            var option = "<option value=\""+$(this).text()+"\">"+$(this).text()+"</option>";
            $("#reassign_dyn").append(option);
          }
        });
        updateDynamicUsers();
      }
       
      /*
      Call from reassign dialog
      */   
      function updateDynamicRoles() {
        var soapBody     = new SOAPObject("getAssignedRoles");
        soapBody.ns      = "http://tempo.intalio.org/security/RBACQueryService/";
        soapBody.appendChild(new SOAPObject("user")).val(currentUser);
        var sr           = new SOAPRequest("http://tempo.intalio.org/security/RBACQueryService/getAssignedRoles", soapBody);
        SOAPClient.Proxy = proxy;
        SOAPClient.SOAPServer = rbacService;
        SOAPClient.SendRequest(sr, populateRoles);
      }
      
      /*
      Call from reassign dialog
      */     
      function updateDynamicUsers() {
        var soapBody     = new SOAPObject("getAssignedUsers");
        soapBody.ns      = "http://tempo.intalio.org/security/RBACQueryService/";
        soapBody.appendChild(new SOAPObject("role")).val($('#reassign_dyn').val());
        var sr           = new SOAPRequest("http://tempo.intalio.org/security/RBACQueryService/getAssignedUsers", soapBody);
        SOAPClient.Proxy = proxy;
        SOAPClient.SOAPServer = rbacService;
        SOAPClient.SendRequest(sr, populateDynamicUsers);
      }
          
      /*
      Call from reassign dialog
      */        
      function populateDynamicUsers(data) {
        $('#reassign_dyn_user').empty();
        $(data).find("/rbac:getAssignedRolesResponse/rbac:role/").each(function(){
          if(this.nodeName == "rbac:user") {
            var option = "<option value=\""+$(this).text()+"\">"+$(this).text()+"</option>";
            $("#reassign_dyn_user").append(option);
          }
        });  
      }
      
      /*
      Detect changes from roles, and load the users
      */
      $('#reassign_dyn').change(function() {
        updateDynamicUsers();
        $('#reassign_roles').val($('#reassign_dyn').val());
        $('#reassign_user').val("");
      });
  
      $('#reassign_dyn_user').change(function() {
        $('#reassign_user').val($('#reassign_dyn_user').val());
        $('#reassign_roles').val("");
      });
      
      /*********************************************************************
      Support methods for export dialog.
      *********************************************************************/
      
      function exportTasksAction() {
        $('#exportdialog').dialog('close');
        var format = $("input[name='eformat']:checked").val();
        var type = $("input[name='etype']:checked").val();
        var export_url = format+"?";
        export_url += "type="+type;   
        window.open(export_url,"_new");
      }
      
      /*********************************************************************
      Support for handling click from the flexigrid toolbars
      *********************************************************************/
  
      /*
      Code for loading the update dialog after mouse click
      */
      function clickUpdate(com,grid) {
        $('#up_description').empty();
        $('#up_priority').empty();
  
        $('.trSelected',grid).each(function() 
        {
          var task = $('a.taskd',$(this));
          $('#up_description').val(task.attr('description'));
          $('#up_priority').val(task.attr('priority'));
        });
  
        $("#updateDialog").dialog({
          bgiframe: false,
          autoOpen: open,
          height: 300,
          modal: true,		
          buttons: {
            Update: function() {updateTask(com,grid); $(this).dialog('close');},
            Cancel: function() {$(this).dialog('close');}
          },
          close: function() {}
        });
        $("#updateDialog").dialog('open');
      }        
  
      /*
      Code for laoding the reassign dialog after mouse click
      */
      function clickReassign(com,grid) {
        if($('.trSelected',grid).length!=0) {
  
          $('#reassign_dyn_user').empty();
          $('#reassign_dyn').empty();
  
          updateDynamicRoles();
  
          $("#reassignDialog").dialog({
            bgiframe: false,
            autoOpen: open,
            height: 300,
            modal: true,		
            buttons: {
              Reassign: function() {reassignTask(com,grid); $(this).dialog('close');},
              Cancel: function() {$(this).dialog('close');}
            },
            close: function() {}
          });
          $("#reassignDialog").dialog('open');
        }
      }
  
      /*
      Code for the export dialog, after the mouse click
      */        
      function clickExportTasks() {
        $('#exportdialog').dialog('open');
      }
  		
  		/*********************************************************************
      Flexigrid tables handling
      *********************************************************************/
  		
  		/*
  		Common flexigrid properties
  		*/
      var p = {
        url: 'updates.htm',
        dataType: 'xml',
        showTableToggleBtn: true,
        width: widthFull,
        pagestat: '<fmt:message key="org_intalio_uifw_flexigrid_displaying"/>',
        procmsg: '<fmt:message key="org_intalio_uifw_flexigrid_processing"/>',
        nomsg: '<fmt:message key="org_intalio_uifw_flexigrid_noitem"/>',
        errormsg: '<fmt:message key="org_intalio_uifw_flexigrid_error"/>',
        height: height2,
        preProcess: preProcess,
        usepager: true,
        searchitems : [{display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_description"/>', name : '_description'}]
      };		
  
      /*
      Table for activity tasks
      */
      var t1 = $("#table1").flexigrid($.extend({
        <% if(useToolbar) {%> 
          buttons : [
          {name: '<fmt:message key="org_intalio_uifw_toolbar_button_delete"/>', bclass: 'delete', onpress : deleteTask},
          {name: '<fmt:message key="org_intalio_uifw_toolbar_button_claimrevoke"/>', bclass: 'claim', onpress : claimTask},
          {name: '<fmt:message key="org_intalio_uifw_toolbar_button_reassign"/>', bclass: 'reassign', onpress : clickReassign},
          {name: '<fmt:message key="org_intalio_uifw_toolbar_button_update"/>', bclass: 'update', onpress : clickUpdate},
          {name: '<fmt:message key="org_intalio_uifw_toolbar_button_skip"/>', bclass: 'skip', onpress : skipTask},
          {name: '<fmt:message key="org_intalio_uifw_toolbar_button_export"/>', bclass: 'export', onpress : clickExportTasks}
          ],
          <%} %>
          params: [
          { name : 'type', value : 'PATask' }
          ,{ name : 'update', value : true }
          ],
          colModel : [
          {
            display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_description"/>', 
            name : '_description', 
            width : width*0.44, 
            sortable : true, 
            align: 'left'},
          {
            display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_taskState"/>', 
            name : '_state', 
            width : width*0.035, 
            resize : true, 
            sortable : true, 
            align: 'center'},
          {
            display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_creationDateTime"/>', 
            name : '_creationDate', 
            width : width*0.15, 
            sortable : true, 
            align: 'left'},
          {
            display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_dueDate"/>', 
            name : '_deadline', 
            width : width*0.15, 
            sortable : true, 
            align: 'left'},
          {
            display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_priority"/>', 
            name : '_priority', 
            width : width*0.070, 
            sortable : true, 
            align: 'center'},
          {
            display: '<fmt:message key="com_intalio_bpms_workflow_taskHolder_attachments"/>', 
            name : '_attachments', 
            width : width*0.12, 
            sortable : false, 
            align: 'center'}
          ]
      },p));
  		
  		/*
  		Table for notifications
  		*/
  		var t2 = $("#table2").flexigrid($.extend({
  		params: [
  			 { name : 'type', value : 'Notification' }
  