
// do any initalization.
Event.observe(window, 'load', init, false);

function init(){
     // hide the submit button
//     $('id-submit').style.display = 'none';
     // add a handler - to id='greeting-name', type=onkeyup, to call function greet()
//     Event.observe('greeting-name', 'keyup', pick, false);
}

// what to do for each key-stroke: do an email search-like
function pick(){
     var url = 'id-picker.php'; // this does the actual work - generate a list of matching email addresses.
     var pars = 'lid='+escape($F(';lid')); // the parameter string for the URL
     var target = 'L1'; // where to put the resulting html
     var myAjax = new Ajax.Updater(target, url, {method: 'get', parameters: pars});
}

