function chart(){
//予定枚数を取得
var m;
var c_maisu;
if (document.kantan.maisu.length) {
        for (m = 0; m < document.kantan.maisu.length; m++) {
            if (document.kantan.maisu[m].checked) {
                c_maisu =document.kantan.maisu[m].value;
            }
        }
    } else {
        if (document.kantan.maisu.checked) {
           c_maisu = document.kantan.maisu.value;
        }
}
//予定色数を取得
var i;
var c_irokazu;
if (document.kantan.maisu.length) {
        for (i = 0; i < document.kantan.color.length; i++) {
            if (document.kantan.color[i].checked) {
                c_irokazu =document.kantan.color[i].value;
            }
        }
    } else {
        if (document.kantan.color.checked) {
           c_irokazu = document.kantan.color.value;
        }
}
//印刷品質を取得
var h;
var c_hinshitsu;
if (document.kantan.shitsu.length) {
        for (h = 0; h< document.kantan.shitsu.length; h++) {
            if (document.kantan.shitsu[h].checked) {
                c_hinshitsu =document.kantan.shitsu[h].value;
            }
        }
    } else {
        if (document.kantan.shitsu.checked) {
           c_hinshitsu = document.kantan.shitsu.value;
        }
}
//判定
var hantei = c_maisu + c_irokazu  + c_hinshitsu;
if(hantei == "BAA" || hantei == "BBA"){//簡易
document.getElementById("chart_offset").style.display = "none"; 
document.getElementById("chart_kani").style.display = "block"; 
}else{//オフセット
document.getElementById("chart_offset").style.display = "block"; 
document.getElementById("chart_kani").style.display = "none"; 
}
}//function

function delAll(){
document.getElementById("chart_offset").style.display = "none"; 
document.getElementById("chart_kani").style.display = "none"; 
}