add: if (!write_access) return; 
context: XRai.updateStatusIcon = function() {   var img = document.getElementById("switchImg");   var divinex = document.getElementById("inex");   var spanh = document.getElementById("highlight");   if (!highlight_only) {    if (docStatus > 0) {      img.src = base_url + "/img/mode_assess.png";      divinex.setAttribute("mode","assess");      spanh.style.display = "none";    } else {      img.src = base_url + "/img/mode_highlight.png";      divinex.setAttribute("mode","highlight");      spanh.style.display = null;    }   }}
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/960634991db27a03b83b9d8cf705a68a663c83b1/article.js/buggy/trunk/js/article.js