function xlaAFPd2h(d) {
var hD="0123456789ABCDEF";
var h = hD.substr(d&15,1);
while(d>15) {d>>=4;h=hD.substr(d&15,1)+h;}
return h;}
function xlaAFPh2d(d) {return parseInt(d,16);}
document.write("");
document.write(" " + xlaAFPh2d("5258") + "");
document.write("");