$local_user = '******';
require_once $root_path . 'include/inc_front_chain_lang.php';
# Load the insurance object
require_once $root_path . 'include/care_api_classes/class_insurance.php';
$ins_obj = new Insurance();
switch ($retpath) {
    case 'list':
        $breakfile = 'insurance_co_list.php' . URL_APPEND;
        break;
    case 'search':
        $breakfile = 'insurance_co_search.php' . URL_APPEND;
        break;
    default:
        $breakfile = 'insurance_co_manage.php' . URL_APPEND;
}
if (isset($firm_id) && $firm_id && ($row = $ins_obj->getFirmInfo($firm_id))) {
    $firm = $row->FetchRow();
    $edit = true;
} else {
    // Redirect to search function
}
$bgc = $root_path . 'gui/img/skin/default/tableHeaderbg3.gif';
$bgc2 = '#eeeeee';
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('system_admin');