tags['favourites_' + wsListId] = '';  
tags['favourites_' + wsListId] = '';  
function filterFavourites(type, wsListId) {    var id = 'filterAction_'+wsListId+'_'+type;    // var tags = '';    var scope = document.getElementById('filterScope_'+wsListId+'_'+type).value;    // favourites OFF    if(document.getElementById(id).value == "favourites") {        document.getElementById(id).value = "";        document.getElementById('filter_favourites_'+wsListId+'_'+type).src = 'images/filter_favourites.png';		tags['favourites_' + wsListId] = '';    // favourites ON        } else {        document.getElementById(id).value = "favourites";        document.getElementById('filter_favourites_'+wsListId+'_'+type).src = 'images/filter_favourites_active.png';        // tags = (tags == '' ? 'favourite' : tags + '|favourite');		tags['favourites_' + wsListId] = 'favourite';    }    var filterTextElement = document.getElementById(wsListId+'_'+type+'_filter_text');    return filterWebSearchablesHandler(null, filterTextElement, scope, type, wsListId);}
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/a4b3b9d540585bda85da6333cb003a6bb652f10e/imdwr.js/buggy/intermine/webapp/main/resources/webapp/js/imdwr.js