function doRefreshContent(pwdocid) {
   new Request({
      url: 'inc/processrequest.php',
      method: 'get',
      update: 'refresh-me',
      onComplete: function(response) {
         var ResponseArray = response.split("###RAWR###");   
                
         $('prayitem_summary').set('html', ResponseArray[0]);
         $('prayitem_remark').set('html', ResponseArray[1]);
      }
   }).send('action=refcont&doc_id='+pwdocid+'&'+ (new Date).getTime());
};

function doUpdateCounter(pwdocid) {
   new Request({
      url: 'inc/processrequest.php',
      method: 'get',
      update: 'refresh-me'
   }).send('action=updcnt&doc_id='+pwdocid+'&'+ (new Date).getTime());
};
