Lines Matching refs:gMatches
1454 var gMatches = new Array();
1502 if (gMatches.length > 0) {
1504 var N = gMatches.length < ROW_COUNT ? gMatches.length : ROW_COUNT;
1508 set_item_values(toroot, $li, gMatches[i]);
1511 gSelectedID = gMatches[i].id;
1520 /* if (gMatches.length > ROW_COUNT) {
1524 c1.innerHTML = "plus " + (gMatches.length-ROW_COUNT) + " more";
1559 window.location = toroot + gMatches[gSelectedIndex].link;
1574 if (gSelectedIndex < gMatches.length-1
1583 gMatches = new Array();
1590 gMatches[matchedCount] = s;
1595 for (var i=0; i<gMatches.length; i++) {
1596 var s = gMatches[i];
1609 if (!gMatches || !gMatches.length)
1665 for (var i=0; i<gMatches.length; i++) {
1666 gMatches[i].__resultScore = _resultScoreFn(gMatches[i]);
1669 gMatches.sort(function(a,b){
1679 if (!gMatches || !gMatches.length)
1686 for (var i=0; i<gMatches.length; i++) {
1687 gMatches[i].__hilabel = gMatches[i].label.replace(