function conversor(precio) { var str = Xtend(0.773040002067758*precio,2)+' Sterling Pounds
'+Xtend(1.36477024248347*precio,2)+' USD
'+''; 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; }