//名入れ制御
function disElement() {
$("seigen01").disable();
$("seigen02").disable();
$("seigen03").disable();
}

function enaElement() {
$("seigen01").enable();
$("seigen02").enable();
$("seigen03").enable();
}

function nairecolor(){
num = document.contact.zb7.length;
for(n=0;n<num;n++){
flag = document.contact.zb7[n].checked;
if(flag) id = document.contact.zb7[n].id;
}
document.all['N_table01'].style.background = id;
document.all['N_table02'].style.background = id;
document.all['N_table03'].style.background = id;
}

//代引き制御
function daioffElement() {
$("daibiki01").disable();
$("daibiki02").disable();
$("daibiki03").disable();
}

function daionElement() {
$("daibiki01").enable();
$("daibiki02").enable();
$("daibiki03").enable();
}

function daibikicolor(){
num = document.contact.zh5.length;
for(n=0;n<num;n++){
flag = document.contact.zh5[n].checked;
if(flag) id = document.contact.zh5[n].id;
}
document.all['D_table01'].style.background = id;
}

//全体使用不可
function offElement() {
$("b3_9").disable();
$("b4_9").disable();
$("b5_9").disable();
$("b7_9").disable();
$("b8_9").disable();
$("b9_9").disable();
$("b10_9").disable();
}

function onElement() {
$("b3_9").enable();
$("b4_9").enable();
$("b5_9").enable();
$("b7_9").enable();
$("b8_9").enable();
$("b9_9").enable();
$("b10_9").enable();
}

function zyocolor(){
num = document.contact.zh2.length;
for(n=0;n<num;n++){
flag = document.contact.zh2[n].checked;
if(flag) id = document.contact.zh2[n].id;
}
document.all['C_table01'].style.background = id;
document.all['C_table02'].style.background = id;
document.all['C_table03'].style.background = id;
document.all['C_table04'].style.background = id;
document.all['C_table05'].style.background = id;
document.all['C_table06'].style.background = id;
document.all['C_table07'].style.background = id;
}


//windowサイズ制御用
function openBrWindow(theURL,winName,features) {
    window.open(theURL,winName,features);
}