 var object = document.getElementById(objectId); var value = object.value; var filterAction = document.getElementById('filterAction' + '_' + scope + '_' + type).value;  if ((value != null && value.length > 1) || (tags != null && tags.length > 1)) { function filterCallBack(cbResult) { var callId = cbResult[0]; var filteredList = cbResult.slice(1);  if (currentFilterCallbacks[scope + "_" + type] != callId) {   return; }  do_filtering(filteredList, scope, type); }  $(scope + '_' + type + '_spinner').style.visibility = 'visible'; currentFilterCallbacks[scope + "_" + type] = callId; var tagList = null;  /*  can only be one of these options: 1. favourite 2. aspect:<aspect> 3. aspect:<aspect>|favourite 4. null */  if(tags != null && tags.length > 1) { tagList = new Array(); if (tags.match("|")) { var a = new Array();  a = tags.split('|'); for (var i=0, l=a.length; i<l; ++i) { tagList[i] = a[i]; } } else { tagList[0] = tags; } }  /*  filterAction toggles favourites off and on */ AjaxServices.filterWebSearchables(scope, type, tagList, object.value, filterAction, callId++, filterCallBack); } else { showAll(scope, type); }  futureFilterCalls[scope + "_" + type] = 0; } 
function filterWebSearchables(objectId, scope, type, callId, tags) {        // filterWebSearchablesHandler() has been called again since this        // timeout was set, so ignore as another timeout will be along        // shortly        return;    }
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/3255ced6e6b052328077dc53ae8db0c4205ec1bf/imdwr.js/buggy/intermine/webapp/main/resources/webapp/js/imdwr.js