rem: link.setAttribute('href', '#'); link.setAttribute('onclick', "openCalWindow('"+e.id+"'); return false;"); link.setAttribute('class', 'calendar-link'); 
add: link.setAttribute('href', "javascript:openCalWindow('"+e.id+"')"); 
context: function createCalendarLink(input) {    var e = $(input);    if (e) {        var link = document.createElement('a');        link.setAttribute('href', '#');        link.setAttribute('onclick', "openCalWindow('"+e.id+"'); return false;");        link.setAttribute('class', 'calendar-link');                var text = document.createTextNode('Calendar');        link.appendChild(text);                var space = document.createTextNode(' ');                e.parentNode.insertBefore(link, e.nextSibling);        e.parentNode.insertBefore(space, e.nextSibling);                return true;    }    return false;}
meta: 5054	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5054/2d65e0eaf0e7ae802e4ab9b3dafda575ec8bd53d/bps_util.js/buggy/share/web/static/js/bps_util.js