function mod(div,base) {
return Math.round(div - (Math.floor(div/base)*base));
}
function IntChange(cs_lx,cs_int)
{
result='';
v_chr='0123456789ABCDEF';
v_ix=cs_lx/1;
if (!((v_ix>16)||(v_ix<2)))
{
V_y=cs_int;
v_cc='';
while (V_y>0)
{
i= mod(V_y,v_ix);
V_y=Math.floor(V_y/v_ix);
v_cc=v_chr.substring(i,i+1)+v_cc;
}
result=v_cc;
return result;
}
}
return Math.round(div - (Math.floor(div/base)*base));
}
function IntChange(cs_lx,cs_int)
{
result='';
v_chr='0123456789ABCDEF';
v_ix=cs_lx/1;
if (!((v_ix>16)||(v_ix<2)))
{
V_y=cs_int;
v_cc='';
while (V_y>0)
{
i= mod(V_y,v_ix);
V_y=Math.floor(V_y/v_ix);
v_cc=v_chr.substring(i,i+1)+v_cc;
}
result=v_cc;
return result;
}
}