d");
                        }else if(scale1>0){
                            d3.select("#bWtPng").attr("disabled", null);
                        }else{
                            d3.select("#bWtPng").attr("disabled", "disabled");
                        }
                    }
                    var sc1 = d3.select("#scale1")[0][0];
                    var scale1 = Number(sc1.value);
                    checkScale1();
                    sc1.addEventListener("input",function(){
                        sc