function gsec_fconv_value_js() {
arguments.callee._deps(false)
var m_cLastMsgError;
var m_bError;
var m_Sql;
var m_Ctx;
var m_Caller;
function _extra(){return{cllr:{eval:function(e){eval(e)}}}}
_rargs([],_extra().cllr)
var p_value;
var p_price;
var p_message;
var p_ShipCurrency;
var p_ShipCurrencyChange;
var p_ShipCurrencySymbol;
var p_ShipCurrencyDec;
var p_message_end;
var p_class_name;
var sPriceConv;
var nPriceConv;
Blank();
var m_r=_rargs(arguments,_extra().cllr)
return Run.apply(null,m_r)
function Page_1() {
sPriceConv='';
if (p_value!=LRTrim(p_ShipCurrency) &&  ! (Empty(LRTrim(p_ShipCurrency))) &&  ! (Empty(p_ShipCurrencyChange))) {
nPriceConv=Round(p_price*p_ShipCurrencyChange,5);
sPriceConv=p_message+p_ShipCurrencySymbol+' '+LRTrim(Format(nPriceConv,MXLib.PS(20,p_ShipCurrencyDec)))+p_message_end;
if ( ! (Empty(p_class_name))) {
sPriceConv='<span class=\"'+LRTrim(p_class_name)+'\">'+sPriceConv+'</span>';
}
} else {
sPriceConv='';
}
throw sPriceConv
}
function Run(p_p_value,p_p_price,p_p_message,p_p_ShipCurrency,p_p_ShipCurrencyChange,p_p_ShipCurrencySymbol,p_p_ShipCurrencyDec,p_p_message_end,p_p_class_name) {
if (p_p_value!=null) {
p_value=p_p_value;
}
if (p_p_price!=null) {
p_price=p_p_price;
}
if (p_p_message!=null) {
p_message=p_p_message;
}
if (p_p_ShipCurrency!=null) {
p_ShipCurrency=p_p_ShipCurrency;
}
if (p_p_ShipCurrencyChange!=null) {
p_ShipCurrencyChange=p_p_ShipCurrencyChange;
}
if (p_p_ShipCurrencySymbol!=null) {
p_ShipCurrencySymbol=p_p_ShipCurrencySymbol;
}
if (p_p_ShipCurrencyDec!=null) {
p_ShipCurrencyDec=p_p_ShipCurrencyDec;
}
if (p_p_message_end!=null) {
p_message_end=p_p_message_end;
}
if (p_p_class_name!=null) {
p_class_name=p_p_class_name;
}
var l_result;
l_result='';
try {
try {
if (typeof(NotifyEvent)!='undefined') {
NotifyEvent('Run start');
}
Page_1();
} finally {
if (typeof(NotifyEvent)!='undefined') {
NotifyEvent('Run end');
}
}
} catch(stop_value) {
l_result = stop_value
}
if (m_Caller.__first && (Eqr(typeof(m_bCalculating),'undefined') ||  ! (m_bCalculating))) {
m_cErrorFromRoutine=m_cLastMsgError;
}
return l_result
}
function Blank() {
p_value=Space(3);
p_price=0;
p_message=Space(100);
p_ShipCurrency=Space(3);
p_ShipCurrencyChange=0;
p_ShipCurrencySymbol=Space(5);
p_ShipCurrencyDec=0;
p_message_end=Space(100);
p_class_name=Space(0);
sPriceConv=Space(100);
nPriceConv=0;
}
}
gsec_fconv_value_js._deps=function(){}

