$rate = input_num('_ex_rate');
if (check_ui_refresh() || !$rate) { // readonly or ui context changed
$comp_currency = get_company_currency();
$rate = input_num('_ex_rate');
if (check_ui_refresh() || !$rate) { // readonly or ui context changed
$comp_currency = get_company_currency();
function get_js_set_combo_item() {
$js = "function setComboItem(doc, client_id, value, text){
var element = doc.getElementById(client_id);
function get_js_set_combo_item() {
$js = "function setComboItem(doc, client_id, value, text){
var element = doc.getElementById(client_id);
if(typeof(element) != 'undefined' && element != null && element.tagName === 'SELECT') {
var options = element.options;
options.length = 0;
if(typeof(element) != 'undefined' && element != null && element.tagName === 'SELECT') {
var options = element.options;
options.length = 0;
document.write(\"<iframe id='CCIframe' src='javascript:false;' frameBorder='0' scrolling='no'></iframe>\");
document.write(\"<div id='CC'></div>\");";
document.write(\"<iframe id='CCIframe' src='javascript:false;' frameBorder='0' scrolling='no'></iframe>\");
document.write(\"<div id='CC'></div>\");";