// Конверсия радиоактивности

var chk14=true;
var D14=0;
var n14=0;
D14v=new Array(0.000001, 0.001, 1, 1000, 1000000, 2200000, 0.000037, 0.037, 37, 37000);
D14n=new Array("Ci", "mCi", "mkCi", "nCi", "pCi", "cpm", "GBq", "MBq", "kBq", "Bq");

function res14()
{D14=0;
n14=0;
chk14=true;}

function insert14()
{
chk14=true;
n14 = parseFloat(document.dim14.n.value.replace(/,/g,".")); 
if(isNaN(n14)){alert(alt08_01); document.dim14.n.focus(); return true;};
D14 = document.dim14.D.selectedIndex
n14 = Math.abs(n14);
document.dim14.na.value=n14+D14n[D14];
chk14=false;
}

function insertN14()
{
if(chk14){return true};
insert14()
}

function calc14()
{
if(chk14){return true};
Da = document.dim14.D.selectedIndex;
n_new=n14/D14v[D14]*D14v[Da];
document.dim14.n.value =n_new; 
}
