﻿
// This function creates a delayed function call.

var count = 0;
function delaySearch() {
    count = count + 1;
    setTimeout("doSearch(" + count + ")", 500);
}
// Instead of calling serverside on each keypress, this will 
// reduce the number of calls to every 500 ms.
