// Конверсия силы

var chk8=true;
var D8=0;
var n8=0;
D8v=new Array(9.80665, 1, 4.44822, 0.00001, 0.278013851);
D8n=new Array("kgf", "N", "lbf", "dyn", "ozf");

function res8()
{D8=0;
n8=0;
chk8=true;}

function insert8()
{
chk8=true;
n8 = parseFloat(document.dim8.n.value.replace(/,/g,".")); 
if(isNaN(n8)){alert(alt08_01); document.dim8.n.focus(); return true;};
D8 = document.dim8.D.selectedIndex
n8 = Math.abs(n8);
document.dim8.na.value=n8+D8n[D8];
chk8=false;
}

function insertN8()
{
if(chk8){return true};
insert8()
}

function calc8()
{
if(chk8){return true};
Da = document.dim8.D.selectedIndex;
n_new=n8*D8v[D8]/D8v[Da];
document.dim8.n.value =n_new; 
}
