- function res() {
- if(document.getElementById("radio1").checked) {
- document.form.n.value = 1000;
- document.form.pg.value = 0.01;
- return;
- }
- if(document.getElementById("radio2").checked) {
- document.form.n.value = 10000;
- document.form.g.value = 0.999;
- document.form.b.value = 0.99;
- document.form.pg.value = 0.001;
- document.form.e.value = 0.5;
- return;
- }
- if(document.getElementById("radio3").checked) {
- document.form.n.value = 10000;
- document.form.l.value = 10;
- document.form.a.value = 0.1;
- return;
- }
- }