
function Go(str,str2,str3){
var ErrMess = "";

if(str == 0 || str == 5){
if(str == 0){
if (document.form_a.regi_001.value.length == 0){
ErrMess += '* お名前(氏)が未入力です。\n';
document.form_a.regi_001.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_001.value.length > 25){
ErrMess += '* お名前(氏)は25文字以内で入力して下さい。\n';
document.form_a.regi_001.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_002.value.length == 0){
ErrMess += '* お名前(名)が未入力です。\n';
document.form_a.regi_002.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_002.value.length > 25){
ErrMess += '* お名前(名)は25文字以内で入力して下さい。\n';
document.form_a.regi_002.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_003.value.length > 25){
ErrMess += '* オナマエ(ｼ)は25文字以内で入力して下さい。\n';
document.form_a.regi_003.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_004.value.length > 25){
ErrMess += '* オナマエ(ﾒｲ)は25文字以内で入力して下さい。\n';
document.form_a.regi_004.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_005.value.length == 0){
ErrMess += '* ニックネームが未入力です。\n';
document.form_a.regi_005.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_002.value.length > 15){
ErrMess += '* ニックネームは15文字以内で入力して下さい。\n';
document.form_a.regi_005.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_006.value.length == 0){
ErrMess += '* メールアドレスが未入力です。\n';
document.form_a.regi_006.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_006.value.length > 100){
ErrMess += '* メールアドレスは100文字以内で入力して下さい。\n';
document.form_a.regi_006.style.backgroundColor = "#ffb9b9";
}else{
 if(document.form_a.regi_006.value.match(/^\S+@\S+\.\S+$/)){}else{
ErrMess += '* メールアドレスが不正です。\n';
document.form_a.regi_006.style.backgroundColor = "#ffb9b9";
}
}

if (document.form_a.regi_007.value.length == 0){
ErrMess += '* パスワードが未入力です。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_007.value.length < 4 || document.form_a.regi_007.value.length > 12){
ErrMess += '* パスワードは半角4～12文字で入力して下さい。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_007.value != document.form_a.regi_008.value){
ErrMess += '* 入力されたパスワードが一致しません。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";
document.form_a.regi_008.style.backgroundColor = "#ffb9b9";
}
if(document.form_a.regi_013.value.length != 0 && document.form_a.regi_013.value.match(/[^0-9]+/)){
ErrMess += '* 郵便番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_013.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_013.value.length > 3){
ErrMess += '* 郵便番号①は3文字以内で入力して下さい。\n';
document.form_a.regi_013.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_014.value.length != 0 && document.form_a.regi_014.value.match(/[^0-9]+/)){
ErrMess += '* 郵便番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_014.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_014.value.length > 4){
ErrMess += '* 郵便番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_014.style.backgroundColor = "#ffb9b9";
}
}
if(str == 5){

if(document.form_a.regi_012.value.length != 0 && document.form_a.regi_012.value.match(/[^0-9]+/)){
ErrMess += '* 郵便番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_012.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_012.value.length > 3){
ErrMess += '* 郵便番号①は3文字以内で入力して下さい。\n';
document.form_a.regi_012.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_013.value.length != 0 && document.form_a.regi_013.value.match(/[^0-9]+/)){
ErrMess += '* 郵便番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_013.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_013.value.length > 4){
ErrMess += '* 郵便番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_013.style.backgroundColor = "#ffb9b9";
}
}


if (document.form_a.regi_015.value == 0){
ErrMess += '* 都道府県名が未選択です。\n';
document.form_a.regi_015.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_016.value.length == 0){
ErrMess += '* 住所②が未入力です。\n';
document.form_a.regi_016.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_015.value.length > 50){
ErrMess += '* 住所②は50文字以内で入力して下さい。\n';
document.form_a.regi_016.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_017.value.length > 50){
ErrMess += '* 建物名・部屋番号は50文字以内で入力して下さい。\n';
document.form_a.regi_017.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_018.value.length != 0 && document.form_a.regi_018.value.match(/[^0-9]+/)){
ErrMess += '* 電話番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_018.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_018.value.length > 15){
ErrMess += '* 電話番号①は4文字以内で入力して下さい。\n';
document.form_a.regi_018.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_019.value.length != 0 && document.form_a.regi_019.value.match(/[^0-9]+/)){
ErrMess += '* 電話番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_019.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_019.value.length > 15){
ErrMess += '* 電話番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_019.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_020.value.length != 0 && document.form_a.regi_020.value.match(/[^0-9]+/)){
ErrMess += '* 電話番号③は半角数値のみで入力して下さい。\n';
document.form_a.regi_020.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_020.value.length > 15){
ErrMess += '* 電話番号③は4文字以内で入力して下さい。\n';
document.form_a.regi_020.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_021.value.length != 0 && document.form_a.regi_021.value.match(/[^0-9]+/)){
ErrMess += '* 携帯電話番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_021.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_021.value.length > 15){
ErrMess += '* 携帯電話番号①は4文字以内で入力して下さい。\n';
document.form_a.regi_021.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_022.value.length != 0 && document.form_a.regi_022.value.match(/[^0-9]+/)){
ErrMess += '* 携帯電話番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_022.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_022.value.length > 15){
ErrMess += '* 携帯電話番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_022.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_023.value.length != 0 && document.form_a.regi_023.value.match(/[^0-9]+/)){
ErrMess += '* 携帯電話番号③は半角数値のみで入力して下さい。\n';
document.form_a.regi_023.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_023.value.length > 15){
ErrMess += '* 携帯電話番号③は4文字以内で入力して下さい。\n';
document.form_a.regi_023.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_024.value.length != 0 && document.form_a.regi_024.value.match(/[^0-9]+/)){
ErrMess += '* FAX番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_024.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_024.value.length > 15){
ErrMess += '* FAX番号①は4文字以内で入力して下さい。\n';
document.form_a.regi_024.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_025.value.length != 0 && document.form_a.regi_025.value.match(/[^0-9]+/)){
ErrMess += '* FAX番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_025.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_025.value.length > 15){
ErrMess += '* FAX番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_025.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_026.value.length != 0 && document.form_a.regi_026.value.match(/[^0-9]+/)){
ErrMess += '* FAX番号③は半角数値のみで入力して下さい。\n';
document.form_a.regi_026.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_026.value.length > 15){
ErrMess += '* FAX番号③は4文字以内で入力して下さい。\n';
document.form_a.regi_026.style.backgroundColor = "#ffb9b9";
}

if (ErrMess != ""){
alert(ErrMess);
document.form_a.CHK.disabled="";
document.form_a.CHK2.disabled="";
return;
}else{
document.form_a.CHK.disabled=true;
document.form_a.action = str2;
document.form_a.submit();
}
}else if (str == 2){
document.form_a.regi_000.value = 2;
document.form_a.action = str2;
document.form_a.submit();
}else if (str == 3){
document.form_a.regi_000.value = 0;
document.form_a.action = str2;
document.form_a.submit();
}else if (str == 4){
document.form_a.action = str2;
document.form_a.submit();
}else if (str == 6){
document.form_a.regi_000.value = 1;
document.form_a.action = str2;
document.form_a.submit();
}else if (str == 7){
document.form_a.regi_000.value = 7;
document.form_a.action = str2;
document.form_a.submit();
}else if (str == 8){
if (window.confirm(str3)){
document.form_a.action = str2;
document.form_a.submit();
}else{
return;
}
}else if (str == 9){


if (document.form_a.regi_001.value.length == 0){
ErrMess += '* お名前(氏)が未入力です。\n';
document.form_a.regi_001.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_001.value.length > 25){
ErrMess += '* お名前(氏)は25文字以内で入力して下さい。\n';
document.form_a.regi_001.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_002.value.length == 0){
ErrMess += '* お名前(名)が未入力です。\n';
document.form_a.regi_002.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_002.value.length > 25){
ErrMess += '* お名前(名)は25文字以内で入力して下さい。\n';
document.form_a.regi_002.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_003.value.length > 25){
ErrMess += '* オナマエ(ｼ)は25文字以内で入力して下さい。\n';
document.form_a.regi_003.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_004.value.length > 25){
ErrMess += '* オナマエ(ﾒｲ)は25文字以内で入力して下さい。\n';
document.form_a.regi_004.style.backgroundColor = "#ffb9b9";
}


if (document.form_a.regi_006.value.length == 0){
ErrMess += '* メールアドレスが未入力です。\n';
document.form_a.regi_006.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_006.value.length > 100){
ErrMess += '* メールアドレスは100文字以内で入力して下さい。\n';
document.form_a.regi_006.style.backgroundColor = "#ffb9b9";
}else{
 if(document.form_a.regi_006.value.match(/^\S+@\S+\.\S+$/)){}else{
ErrMess += '* メールアドレスが不正です。\n';
document.form_a.regi_006.style.backgroundColor = "#ffb9b9";
}
}

if (document.form_a.regi_007.value.length == 0){
ErrMess += '* メールアドレス再入力が未入力です。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_007.value != document.form_a.regi_006.value){
ErrMess += '* メールアドレス再入力が一致しません。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";

}else if (document.form_a.regi_007.value.length > 100){
ErrMess += '* メールアドレス再入力は100文字以内で入力して下さい。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";
}else{
 if(document.form_a.regi_007.value.match(/^\S+@\S+\.\S+$/)){}else{
ErrMess += '* メールアドレス再入力が不正です。\n';
document.form_a.regi_007.style.backgroundColor = "#ffb9b9";
}
}


if(document.form_a.regi_013.value.length != 0 && document.form_a.regi_013.value.match(/[^0-9]+/)){
ErrMess += '* 郵便番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_013.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_013.value.length > 3){
ErrMess += '* 郵便番号①は3文字以内で入力して下さい。\n';
document.form_a.regi_013.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_014.value.length != 0 && document.form_a.regi_014.value.match(/[^0-9]+/)){
ErrMess += '* 郵便番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_014.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_014.value.length > 4){
ErrMess += '* 郵便番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_014.style.backgroundColor = "#ffb9b9";
}


if (document.form_a.regi_015.value == 0){
ErrMess += '* 都道府県名が未選択です。\n';
document.form_a.regi_015.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_015.value.length > 50){
ErrMess += '* 住所②は50文字以内で入力して下さい。\n';
document.form_a.regi_016.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_017.value.length > 50){
ErrMess += '* 建物名・部屋番号は50文字以内で入力して下さい。\n';
document.form_a.regi_017.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_018.value.length != 0 && document.form_a.regi_018.value.match(/[^0-9]+/)){
ErrMess += '* 電話番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_018.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_018.value.length > 15){
ErrMess += '* 電話番号①は4文字以内で入力して下さい。\n';
document.form_a.regi_018.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_019.value.length != 0 && document.form_a.regi_019.value.match(/[^0-9]+/)){
ErrMess += '* 電話番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_019.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_019.value.length > 15){
ErrMess += '* 電話番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_019.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_020.value.length != 0 && document.form_a.regi_020.value.match(/[^0-9]+/)){
ErrMess += '* 電話番号③は半角数値のみで入力して下さい。\n';
document.form_a.regi_020.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_020.value.length > 15){
ErrMess += '* 電話番号③は4文字以内で入力して下さい。\n';
document.form_a.regi_020.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_021.value.length != 0 && document.form_a.regi_021.value.match(/[^0-9]+/)){
ErrMess += '* 携帯電話番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_021.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_021.value.length > 15){
ErrMess += '* 携帯電話番号①は4文字以内で入力して下さい。\n';
document.form_a.regi_021.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_022.value.length != 0 && document.form_a.regi_022.value.match(/[^0-9]+/)){
ErrMess += '* 携帯電話番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_022.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_022.value.length > 15){
ErrMess += '* 携帯電話番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_022.style.backgroundColor = "#ffb9b9";
}

if(document.form_a.regi_023.value.length != 0 && document.form_a.regi_023.value.match(/[^0-9]+/)){
ErrMess += '* 携帯電話番号③は半角数値のみで入力して下さい。\n';
document.form_a.regi_023.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_023.value.length > 15){
ErrMess += '* 携帯電話番号③は4文字以内で入力して下さい。\n';
document.form_a.regi_023.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_024.value.length != 0 && document.form_a.regi_024.value.match(/[^0-9]+/)){
ErrMess += '* FAX番号①は半角数値のみで入力して下さい。\n';
document.form_a.regi_024.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_024.value.length > 15){
ErrMess += '* FAX番号①は4文字以内で入力して下さい。\n';
document.form_a.regi_024.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_025.value.length != 0 && document.form_a.regi_025.value.match(/[^0-9]+/)){
ErrMess += '* FAX番号②は半角数値のみで入力して下さい。\n';
document.form_a.regi_025.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_025.value.length > 15){
ErrMess += '* FAX番号②は4文字以内で入力して下さい。\n';
document.form_a.regi_025.style.backgroundColor = "#ffb9b9";
}


if(document.form_a.regi_026.value.length != 0 && document.form_a.regi_026.value.match(/[^0-9]+/)){
ErrMess += '* FAX番号③は半角数値のみで入力して下さい。\n';
document.form_a.regi_026.style.backgroundColor = "#ffb9b9";
}else if (document.form_a.regi_026.value.length > 15){
ErrMess += '* FAX番号③は4文字以内で入力して下さい。\n';
document.form_a.regi_026.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_008.value.length > 25){
ErrMess += '* 件名は25文字以内で入力して下さい。\n';
document.form_a.regi_008.style.backgroundColor = "#ffb9b9";
}

if (document.form_a.regi_005.value.length == 0){
ErrMess += '* 内容が未入力です。\n';
document.form_a.regi_005.style.backgroundColor = "#ffb9b9";
}


if (ErrMess != ""){
alert(ErrMess);
document.form_a.CHK.disabled="";
document.form_a.CHK2.disabled="";
return;
}else{
document.form_a.CHK.disabled=true;
document.form_a.action = str2;
document.form_a.submit();
}

}else if (str == 10){
alert(str3);
}else if (str == 11){

str2OP = '';
str2OP += '_conditionid-' + document.form_a.Search_001.value;
str2OP += '_region1id-' + document.form_a.Search_002.value;
if(document.form_a.Search_002.value != 0){
chn_no = new Number(document.form_a.Search_002.value);
if(document.form_a.Search_002.value < 10){
scon = '00' + (chn_no + 2);
}else{
scon = '0' + (chn_no + 2);
}
str2OP += '_region2id-' + document.form_a['Search_' + scon].value;
}
if(document.form_a.Search_001.value == 2){
str2OP += '_class1id-' + document.form_a.Search_100.value;
if(document.form_a.Search_100.value != 0){
chn_no = new Number(document.form_a.Search_100.value);
chn_no = chn_no + 101;
str2OP += '_class2id-' + document.form_a['Search_' + chn_no].value;
}
str2OP += '_priceid-' + document.form_a.Search_012.value;
}
str2OP += '_objectid-' + document.form_a.Search_015.value;
str2OP += '_key-' + document.form_a.Search_014_0.value;
str2 = str2.replace("%23%23%23", str2OP);
document.form_a.Search.disabled=true;
document.form_a.action = str2;
document.form_a.submit();

}else{
document.form_a.regi_000.value = 99;
document.form_a.action = str2;
document.form_a.submit();
}
}


function Ch_box(str1,str2,str3,str4,str5){
var Sea = new Array(999);  
Sea[2] = document.getElementById('Search_002');
Sea[3] = document.getElementById('Search_003');
Sea[4] = document.getElementById('Search_004');
Sea[5] = document.getElementById('Search_005');
Sea[6] = document.getElementById('Search_006');
Sea[7] = document.getElementById('Search_007');
Sea[8] = document.getElementById('Search_008');
Sea[9] = document.getElementById('Search_009');
Sea[10] = document.getElementById('Search_010');
Sea[11] = document.getElementById('Search_011');
Sea[12] = document.getElementById('Search_012');
Sea[14] = document.getElementById('Search_014');
Sea[15] = document.getElementById('Search_015');
Sea[99] = document.getElementById('Search_099');
Sea[100] = document.getElementById('Search_100');
if (str1 == 1){
if(document.form_a.Search_001.value == 0){
Sea[2].style.display = 'none';
Sea[11].style.display = 'none';
Sea[12].style.display = 'none';
Sea[14].style.display = 'none';
Sea[15].style.display = 'none';
Sea[99].style.display = 'none';
Sea[100].style.display = 'none';
document.form_a.Search_002.value = 0;
document.form_a.Search_100.value = 0;
document.form_a.Search_014.value = "";
document.form_a.Search_015.value = 0;
BMAX = document.form_a.Search_101.value;
for(cnt=102;cnt<BMAX;cnt++){
idName='Search_'+cnt;
Sea[cnt] = document.getElementById(idName);
Sea[cnt].style.display = 'none';
document.form_a['Search_' + cnt].value = 0;
}
for(cnt=3;cnt<=10;cnt++){
Sea[cnt].style.display = 'none';
if(cnt < 10){
document.form_a['Search_00' + cnt].value = 0;
}else{
document.form_a['Search_0' + cnt].value = 0;
}
} 
}else{
Sea[11].style.display = '';
Sea[14].style.display = '';
Sea[15].style.display = '';
Sea[2].style.display = '';
if(document.form_a.Search_001.value == 1){
Sea[12].style.display = 'none';
Sea[99].style.display = 'none';
Sea[100].style.display = 'none';
document.form_a.Search_100.value = 0;
BMAX = document.form_a.Search_101.value;
for(cnt=102;cnt<BMAX;cnt++){
idName='Search_'+cnt;
Sea[cnt] = document.getElementById(idName);
Sea[cnt].style.display = 'none';
document.form_a['Search_' + cnt].value = 0;
}
}else{
Sea[12].style.display = '';
Sea[99].style.display = '';
Sea[100].style.display = '';
}
}
}else if (str1 == 2){
for(cnt=3;cnt<=10;cnt++){
Sea[cnt].style.display = 'none';
if(cnt < 10){
document.form_a['Search_00' + cnt].value = 0;
}else{
document.form_a['Search_0' + cnt].value = 0;
}
}
if(document.form_a.Search_002.value != 0){
chn_no = new Number(document.form_a.Search_002.value);
chn_no = chn_no + 2;
Sea[chn_no].style.display = '';
}

}else if (str1 == 100){
BMAX = document.form_a.Search_101.value;
for(cnt=102;cnt<BMAX;cnt++){
idName='Search_'+cnt;
Sea[cnt] = document.getElementById(idName);
Sea[cnt].style.display = 'none';
document.form_a['Search_' + cnt].value = 0;
}
if(document.form_a.Search_100.value != 0){
chn_no = new Number(document.form_a.Search_100.value);
chn_no = chn_no + 101;
Sea[chn_no].style.display = '';
}
}
}

