findmodel — creates a table and choice box for models with a given name
use Wacs;
use Wacs::WacsStd;
use Wacs::WacsUI;
| findmodel( | ... ); | 
| parameter | description | 
|---|---|
| mname | the model name or beginning of the name to look for | 
| offeralt | Whether to offer an alternative choice or not: y or n | 
| offervalue | What the value returned for the alternative should be, eg next | 
| offercapt | What the caption for the alternative value should be | 
| incsubmit | Whether to include a submit button or not: y or n | 
| dbhandle | pointer to the currently active database handle | 
| cgihandle | pointer to the currently active CGI object | 
The findmodel function takes the name of a model
and searches the database for who it might concievably be.  It checkes the
model's name, her aliases and the name from each of her ID map entries.  It
presents a headshot, description, and a radio button to allow her to be 
choosen.  It can optionally offer an additional radio button for another
purpose.  The choosen model's number or next will be
returned in a CGI variable called modelno.