rem: addEvent(hdbox,'change',function(event){ return media.togglehide(event,this); }); 
add: addEvent(hdbox,'click',function(event){ return media.togglehide(event,this); }); 
context:     attachoptions: function(obj){        if(!obj) return;        // keep open        if(opener){            var kobox  = document.createElement('input');            kobox.type = 'checkbox';            kobox.id   = 'media__keepopen';            if(DokuCookie.getValue('keepopen')){                kobox.checked  = true;                media.keepopen = true;            }            addEvent(kobox,'change',function(event){ return media.togglekeepopen(event,this); });            var kolbl  = document.createElement('label');            kolbl.htmlFor   = 'media__keepopen';            kolbl.innerHTML = LANG['keepopen'];            var kobr = document.createElement('br');            obj.appendChild(kobox);            obj.appendChild(kolbl);            obj.appendChild(kobr);        }        // hide details        var hdbox  = document.createElement('input');        hdbox.type = 'checkbox';        hdbox.id   = 'media__hide';        if(DokuCookie.getValue('hide')){            hdbox.checked = true;            media.hide    = true;        }        addEvent(hdbox,'change',function(event){ return media.togglehide(event,this); });        var hdlbl  = document.createElement('label');        hdlbl.htmlFor   = 'media__hide';        hdlbl.innerHTML = LANG['hidedetails'];        var hdbr = document.createElement('br');        obj.appendChild(hdbox);        obj.appendChild(hdlbl);        obj.appendChild(hdbr);        media.updatehide();    },
meta: 5490	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5490/a8d255bf1a5654c95cb429f291e3da0d51dc8d16/media.js/clean/lib/scripts/media.js