function conversor(precio) { var str = Xtend(0.802470244492994*precio,2)+' UK Pounds
'+Xtend(1.47435881407916*precio,2)+' US Dollars
'+''; return overlib(str, CAPTION,""+Xtend(precio,2)+"€ approx conversion:" , LEFT, ABOVE, OFFSETY ,10); } function Xtend(Q, N) { var P; Q = String(Q) ; if (/e/i.test(Q)) { return Q;}; while ((P=Q.indexOf('.'))<0) Q+='.'; while (Q.length <= P+N) Q+='0'; if (Q.length-N > P) Q=Q.substring(0,P+N+1); return Q; }