function getMinMaxCurrency($value, $salGrd)
{
    $emp_view_controller = new EmpViewController();
    $common_func = new CommonFunctions();
    $temp[0] = $salGrd;
    $temp[1] = $_GET['id'];
    $currlist = $emp_view_controller->xajaxObjCall($temp, 'BAS_FOR_PIM', 'currency');
    for ($c = 0; $c < count($currlist); $c++) {
        if (isset($currlist[$c][2]) && $currlist[$c][2] == $value) {
            break;
        }
    }
    $response = new xajaxResponse();
    if ($value === '0') {
        $response->addAssign('txtMinCurrency', 'value', '');
        $response->addAssign('divMinCurrency', 'innerHTML', '-N/A-');
        $response->addAssign('txtMaxCurrency', 'value', '');
        $response->addAssign('divMaxCurrency', 'innerHTML', '-N/A-');
    } else {
        if (isset($currlist[$c])) {
            $response->addAssign('txtMinCurrency', 'value', $currlist[$c][3]);
            $response->addAssign('divMinCurrency', 'innerHTML', $common_func->formatSciNO($currlist[$c][3]));
            $response->addAssign('txtMaxCurrency', 'value', $currlist[$c][5]);
            $response->addAssign('divMaxCurrency', 'innerHTML', $common_func->formatSciNO($currlist[$c][5]));
        }
    }
    return $response->getXML();
}
            for ($c = 0; $assCurrency && count($assCurrency) > $c; $c++) {
                if ($assCurrency[$c][0] == $editAssCurrency[0][1]) {
                    echo $assCurrency[$c][1];
                }
            }
            ?>
</span>
<br class="clear"/>

<label for="txtMinSal" ><?php 
            echo $lang_hrEmpMain_minpoint;
            ?>
</label>
<input type="text" disabled="disabled" name="txtMinSal" id="txtMinSal"
    class="formInputText" value="<?php 
            echo $common_func->formatSciNO($editAssCurrency[0][2]);
            ?>
"/>
<input type="hidden" name="empMinSal" id="empMinSal" value="<?php 
            echo $editAssCurrency[0][5];
            ?>
">
<br class="clear"/>

<label for="txtMaxSal" ><?php 
            echo $lang_hrEmpMain_maxpoint;
            ?>
</label>
<input type="text" disabled="disabled"  name="txtMaxSal" id="txtMaxSal"
    class="formInputText" value="<?php 
            echo $common_func->formatSciNO($editAssCurrency[0][3]);