var aspect = document.getElementById(wsListId+'_'+type+'_filter_aspect').value; 
var aspect = null; if (document.getElementById(wsListId+'_'+type+'_filter_aspect')) { aspect = document.getElementById(wsListId+'_'+type+'_filter_aspect').value; } 
function buildTags(scope, type, wsListId) {	var tags = null;	// filter by favourites 	var id = 'filterAction_'+wsListId+'_'+type;    if(document.getElementById(id).value == "favourites") {    	tags = 'favourite';    }    // filter by aspect    var aspect = document.getElementById(wsListId+'_'+type+'_filter_aspect').value;    if(aspect != null && aspect.length > 1) {                     aspect = 'aspect:'+ aspect;        tags = (tags == 'favourite' ? tags + '|' + aspect : aspect);    }	return tags;}
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/c3f14c6f8a7198dfc816e090b80859f53bab5190/imdwr.js/clean/intermine/webapp/main/resources/webapp/js/imdwr.js