rem: var disabledZone = document.createElement('div'); disabledZone.setAttribute('id', 'disabledZone'); disabledZone.style.position = "absolute"; disabledZone.style.zIndex = "1000"; disabledZone.style.left = "0px"; disabledZone.style.top = "0px"; disabledZone.style.width = "100%"; disabledZone.style.height = "100%"; document.body.appendChild(disabledZone); 
add: if (message) { DWRUtil._loadingMessage = message; } else { DWRUtil._loadingMessage = "Loading"; } 
context: DWRUtil.useLoadingMessage = function(){    var disabledZone = document.createElement('div');    disabledZone.setAttribute('id', 'disabledZone');    disabledZone.style.position = "absolute";    disabledZone.style.zIndex = "1000";    disabledZone.style.left = "0px";    disabledZone.style.top = "0px";    disabledZone.style.width = "100%";    disabledZone.style.height = "100%";    document.body.appendChild(disabledZone);    var messageZone = document.createElement('div');    messageZone.setAttribute('id', 'messageZone');    messageZone.style.position = "absolute";    messageZone.style.top = "0px";    messageZone.style.right = "0px";    messageZone.style.background = "red";    messageZone.style.color = "white";    messageZone.style.fontFamily = "Arial,Helvetica,sans-serif";    messageZone.style.padding = "4px";    disabledZone.appendChild(messageZone);    var text = document.createTextNode('Loading');    messageZone.appendChild(text);    $('disabledZone').style.visibility = 'hidden';    DWREngine.setPreHook(function() { $('disabledZone').style.visibility = 'visible'; });    DWREngine.setPostHook(function() { $('disabledZone').style.visibility = 'hidden'; });};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8402a249ca378792cd10adfab1b769c52ed0997b/util.js/clean/java/uk/ltd/getahead/dwr/util.js