if (document.getElementById(scope+'_'+type+'_filter_aspect').value != '') { tags = 'aspect:'+document.getElementById(scope+'_'+type+'_filter_aspect').value; 
if (document.getElementById(wsListId+'_'+type+'_filter_aspect').value != '') { tags = 'aspect:'+document.getElementById(wsListId+'_'+type+'_filter_aspect').value; 
function filterFavourites(scope,type) {    var id = 'filterAction_'+scope+'_'+type;    var tags = '';    // aspect selected    if (document.getElementById(scope+'_'+type+'_filter_aspect').value != '') {    	tags = 'aspect:'+document.getElementById(scope+'_'+type+'_filter_aspect').value;    }    // favourites OFF    if(document.getElementById(id).value == "favourites") {        document.getElementById(id).value = "";        document.getElementById('filter_favourites_'+scope+'_'+type).src = 'images/filter_favourites_ico.gif';    // favourites ON        } else {        document.getElementById(id).value = "favourites";        document.getElementById('filter_favourites_'+scope+'_'+type).src = 'images/filter_favourites_act_ico.gif';        tags = (tags == '' ? 'favourite' : tags + '|favourite');    }            return filterWebSearchablesHandler(null,document.getElementById(scope+'_'+type+'_filter_text'),    								   scope, type, tags);}
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/0ccf9957ef255e701b456c536e8ac6b429a9cdf2/imdwr.js/clean/intermine/webapp/main/resources/webapp/js/imdwr.js