/*<!-- TemplateBeginEditable name="content" --><p style="BACKGROUND-COLOR: #ffffe0">*/ GOUDKOERS=30.300; ZILVERKOERS=465; PLATINAKOERS=37200; PALLADIUMKOERS=11900;/*</p>
<p style="BACKGROUND-COLOR: #ffffe0">&nbsp;</p>
<p style="BACKGROUND-COLOR: #ffffe0">&nbsp;</p><!-- TemplateEndEditable -->*/
																							  
barengoud=Math.round(GOUDKOERS*1000)
barenplatina=Math.round(PLATINAKOERS)
barenpalladium=Math.round(PALLADIUMKOERS)

dukaat=Math.round(3.49*0.983*0.90*GOUDKOERS*100)/100
frank=Math.round(6.45*0.900*0.90*GOUDKOERS)
lire=Math.round(6.45*0.900*0.90*GOUDKOERS)
gt=Math.round(6.72*0.900*0.92*GOUDKOERS*100)/100
mark20=Math.round(7.96*0.900*0.90*GOUDKOERS)
sovereign=Math.round(7.99*0.916*0.90*GOUDKOERS)
kroner20=Math.round(8.96*0.900*0.90*GOUDKOERS)
$100can=Math.round(16.965*0.916*0.9*GOUDKOERS)
ecu=Math.round(17.28*0.900*0.90*GOUDKOERS)
ml=Math.round(31.1035*0.9999*0.96*GOUDKOERS)
nugget=Math.round(31.1035*0.9999*0.96*GOUDKOERS)
$20usa=Math.round(33.43*0.900*0.90*GOUDKOERS)
corona=Math.round(33.87*0.900*0.90*GOUDKOERS)
kr=Math.round(33.9*0.916*0.92*GOUDKOERS)
$50usa=Math.round(33.9*0.916*0.90*GOUDKOERS)
pesos=Math.round(41.67*0.900*0.90*GOUDKOERS)

z2=Math.round(.835*.8*ZILVERKOERS-15)
//z2=FormatMoney(.835*.8*ZILVERKOERS-15, '€', '', '.', ',', 2, 2)
z1=Math.round(.925*.8*ZILVERKOERS-15)
gld=Math.round(0.72*0.8*6.475*ZILVERKOERS/1000*100)/100
rks=Math.round(0.72*0.8*15*ZILVERKOERS/1000*100)/100
z10=Math.round(0.72*0.9*25*ZILVERKOERS/1000*100)/100											 
krt8=Math.round(.333*.9*GOUDKOERS*100)/100
krt14=Math.round(.585*.9*GOUDKOERS*100)/100
krt18=Math.round(.750*.9*GOUDKOERS*100)/100
krt20=Math.round(.833*.9*GOUDKOERS*100)/100
krt21=Math.round(.875*.9*GOUDKOERS*100)/100
mtg=Math.round(.900*.9*GOUDKOERS*100)/100
krt22=Math.round(.916*.9*GOUDKOERS*100)/100
krt24=Math.round(.999*.9*GOUDKOERS*100)/100

function formatCurrency(num) {
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+'.'+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + '' + num + ',' + cents);
}
