function conf($option)
{
    $db =& JFactory::getDBO();
    $row =& JTable::getInstance('config', 'Table');
    $cid = JRequest::getVar('cid', array(0), '', 'array');
    $id = $cid[0];
    $row->load(1);
    $lists = array();
    $currency = array('0' => array('value' => '£', 'text' => 'GBP'), '1' => array('value' => '$', 'text' => 'ARG'), '2' => array('value' => '€', 'text' => 'EUR'), '3' => array('value' => '¥', 'text' => 'JPY'));
    $access = array('0' => array('value' => '1', 'text' => 'Public (Guest)'), '1' => array('value' => '0', 'text' => 'Registered'));
    $catimg[] = JHTML::_('select.option', '0', 'No');
    $catimg[] = JHTML::_('select.option', '1', 'Yes');
    $map[] = JHTML::_('select.option', '0', 'Off');
    $map[] = JHTML::_('select.option', '1', 'On');
    $distance[] = JHTML::_('select.option', '0', 'Off');
    $distance[] = JHTML::_('select.option', '1', 'On');
    $emailusers[] = JHTML::_('select.option', '0', 'Off');
    $emailusers[] = JHTML::_('select.option', '1', 'On');
    $lists['catimg'] = JHTML::_('select.radioList', $catimg, 'catimg', 'class="inputbox"' . '', 'value', 'text', $row->catimg);
    $lists['map'] = JHTML::_('select.radioList', $map, 'map', 'class="inputbox"' . '', 'value', 'text', $row->map);
    $lists['currency'] = JHTML::_('select.genericList', $currency, 'currency', 'class="inputbox"' . '', 'value', 'text', $row->currency);
    $lists['distance'] = JHTML::_('select.radioList', $distance, 'distance', 'class="inputbox"' . '', 'value', 'text', $row->distance);
    $lists['access'] = JHTML::_('select.genericList', $access, 'access', 'class="inputbox"' . '', 'value', 'text', $row->access);
    $lists['emailusers'] = JHTML::_('select.radioList', $emailusers, 'emailusers', 'class="inputbox"' . '', 'value', 'text', $row->emailusers);
    HTML_classifieds::config($row, $lists, $option);
}