/*
This is the ECMS RPC handling script, it is called by the RPC functions within ECMS to update the target
bin within the consoles current page.  The val content is url encoded when passed to this script and so
unescaped when provided back to the console.
*/
function ECMS_rpcHandleResponse(val,target) {
  document.getElementById('rpc_bin_'+target).innerHTML = unescape(val);
}