rem: if (!bodyDimensions.right) bodyDimensions = YAHOO.util.Dom.getRegion(document.getElementById("gallery")); 
add: if (!bodyDimensions.right) { bodyDimensions = YAHOO.util.Dom.getRegion(document.getElementById("gallery")); } 
context: function addMessage(pluginType, pluginId, messageText, messageType) {    var pluginStatus = document.createElement("div");    var detailsId = "plugin-status-details-" + pluginType + "-" + pluginId;    if (document.getElementById(detailsId)) {	document.getElementById(STATUS_BOX_ID).removeChild(document.getElementById(detailsId));    }    pluginStatus.className = messageType;    pluginStatus.id = detailsId;    pluginStatus.style.whiteSpace = "nowrap";    var text = messageText.replace('__PLUGIN__', pluginData[pluginType][pluginId]["name"]);    pluginStatus.appendChild(document.createTextNode(text));    var containerEl = document.getElementById(STATUS_BOX_ID);    containerEl.appendChild(pluginStatus);    containerEl.style.display = "block";    var statusDimensions = YAHOO.util.Dom.getRegion(containerEl);    var bodyDimensions = YAHOO.util.Dom.getRegion(document.body);    // For IE6:    if (!bodyDimensions.right) bodyDimensions = YAHOO.util.Dom.getRegion(document.getElementById("gallery"));    containerEl.style.left = (((bodyDimensions.right - bodyDimensions.left) -	                       (statusDimensions.right - statusDimensions.left)) / 2) + "px";    updateStatusPosition();    setTimeout("removeMessage('" + pluginStatus.id + "')", 3000);}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/9cb28ad630caddd6e2ec171bc4510f97598cfb04/AdminPlugins.js/clean/gallery2/modules/core/templates/AdminPlugins.js