#****************************************************************************
if (count($_POST) == 0) {
    //header("Location: ../admin/lookup_edit_form.php?reset=Y");
    header("Location: ../admin/lookupOptsForm.php?reset=Y");
    exit;
}
#****************************************************************************
#*  Validate data
#****************************************************************************
$set = new LookupOpts();
$set->setProtocol($_POST["protocol"]);
$_POST["protocol"] = $set->getProtocol();
$set->setMaxHits($_POST["maxHits"]);
$_POST["maxHits"] = $set->getMaxHits();
$set->setKeepDashes(isset($_POST["keepDashes"]));
$_POST["keepDashes"] = $set->getKeepDashes();
$set->setCallNmbrType($_POST["callNmbrType"]);
$_POST["callNmbrType"] = $set->getCallNmbrType();
$set->setAutoDewey($_POST["autoDewey"]);
$_POST["autoDewey"] = $set->getAutoDewey();
$set->setDefaultDewey($_POST["defaultDewey"]);
$_POST["defaultDewey"] = $set->getDefaultDewey();
$set->setAutoCutter($_POST["autoCutter"]);
$_POST["autoCutter"] = $set->getAutoCutter();
$set->setCutterType($_POST["cutterType"]);
$_POST["cutterType"] = $set->getCutterType();
$set->setCutterWord($_POST["cutterWord"]);
$_POST["cutterWord"] = $set->getCutterWord();
$set->setAutoCollect($_POST["autoCollect"]);
$_POST["autoCollect"] = $set->getAutoCollect();
$set->setFictionName($_POST["fictionName"]);