context: function addremovefavorite_response(originalRequest){    favoritestatus = false;    // show error if necessary    if( originalRequest.status != 200 ) {         pnf_showajaxerror(originalRequest.responseText);        return;    }    var result = dejsonize(originalRequest.responseText);        switch(result.newmode) {        case 'added':            Element.hide('addfavoritebutton_' + result.forum_id);            Element.show('removefavoritebutton_' + result.forum_id);            break;        case 'removed':            Element.hide('removefavoritebutton_' + result.forum_id);            Element.show('addfavoritebutton_' + result.forum_id);            break;        default:             alert('wrong result from add/remove favorite');    }}
meta: 5124	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5124/6020bc787375714f3b88cd932e637dc4a14b151a/pnforum_user.js/buggy/pnForum/pnjavascript/pnforum_user.js