// AHAH and AJAX implementation
// Get form from cache and store modified selection
$form = form_get_cache($_POST['form_build_id'], $form_state);
		  
// update the select content
$form['qualify'][$nextq]['#options'] = $matches['opt'][$mod]['data'];

// save cache
form_set_cache($_POST['form_build_id'], $form, $form_state);

// Rebuild the form.
$form_state = array('submitted' => FALSE);
