1. WebHexa.jsp
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<%@ page import="java.io.*" %>
<%@ page import="java.util.*" %>
<% String param_userid = request.getParameter("UserID"); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0022)http://internet.e-mail -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<!-- CASCADING STYLE SHEET WITH HELP OF NAVER CSS BEGIN -->
<STYLE TYPE=TEXT/CSS>
td {font-size: 12px; font-family:tahoma;gulim;verdana ;
color:#000000;line-height:1.3}
a{text-decoration:none;color:#4f4f30}
a:hover {color:#4da500;text-decoration:underline}
body,form {margin:0px; padding:0px;}
img{border:none}.p14{font-size:14px;font-family:tahoma}.p11{font-size:11px;
font-family:tahoma;letter-spacing:-1px}.p11_s{font-size:11px;font-family:tahoma;}.gy,
a.gy:link, a.gy:visited, a.gy:hover, a.gy:active{color:#333333}.gy1,
a.gy1:link, a.gy1:visited, a.gy1:hover, a.gy1:active{color:#4f4f30}.o,
a.o:link, a.o:visited, a.o:hover, a.o:active{color:#ed6c1f}.nv, a.nv:link,
a.nv:visited, a.nv:hover, a.nv:active{color:#01498d}.c, a.c:link, a.c:visited,
a.c:hover, a.c:active{color:#000000}.gr, a.gr:link, a.gr:visited,
a.gr:hover, a.gr:active{color:#2b5a00}b{letter-spacing:-1px}.b, a.b:link,
a.b:visited, a.b:hover, a.b:active{font-weight:bold;letter-spacing:-1px}.ln15 {line-height:1.5}.ln16
{line-height:1.6}.ln17 {line-height:1.7}.ba{color:#bdbdbd;font-size:11px;}.u,
a.u:link, a.u:visited, a.u:hover, a.u:active{text-decoration:underline}.nu,
a.nu:link, a.nu:visited, a.nu:hover, a.nu:active{text-decoration:none}/*none*/.ls1,
a.ls1:link, a.ls1:visited, a.ls1:hover, a.ls1:active{letter-spacing:-1px}.tbox {font-size:12px;
font-family: tahoma ; border:1px solid #b5b37c}.pd{padding:0 0 3 5}.txtbn
{font-size:14px;line-height:1.7;font-family:tahoma}
a.txtbn:link{text-decoration:underline}a.ns:link
{color: #193b80;}a.ns:visited{color: #6b156b;}.tj{font-size:10px;color:ed6c1f}.le0{letter-spacing:0px}
</STYLE>
<!-- CASCADING STYLE SHEET WITH HELP OF NAVER CSS END -->
</HEAD>
<script type="text/javascript" src="httpRequest.js"></script>
<SCRIPT LANGUAGE = "javascript" >
var m_size_of_x = 12, m_size_of_y = 22, m_max_of_shape_cnt = 12;
var m_org_hexa_matrix = new Array( m_size_of_x * m_size_of_y ); // 1차원 배열을 이용해서 2차원 배열의 효과를 낸다.
var m_trg_hexa_matrix = new Array( m_size_of_x * m_size_of_y ); // 1차원 배열을 이용해서 2차원 배열의 효과를 낸다.
var Shape = new Array( 3 );
var xpos, ypos, m_def_shape_number = 20, i, k;
var m_def_down_key, m_def_right_key, m_def_left_key, m_def_space_key;
var m_time_number;
var m_confirm_jinro_on = 0, m_confirm_graphic_on = 0;
var m_data_of_random = 24, m_data_of_seleted_rand = 1;
var m_transfer_type;
var m_ajax_send;
var m_hexa_score;
m_def_right_key = 100;
m_def_left_key = 101;
m_def_down_key = 102;
m_def_space_key = 103;
function f_radio_button_type()
{
var m_edit_identify = document.getElementById( "edit_identify" );
if( m_edit_identify.value == "A" ) f_radio_button_type_1();
else if( m_edit_identify.value == "B" ) f_radio_button_type_2();
}
function f_radio_button_type_1()
{
m_transfer_type = 1;
if( m_confirm_jinro_on == 1 ) f_common_check_enter_key();
else if( m_confirm_jinro_on == 0 ) f_hexa_matrix_setup();
}
function f_radio_button_type_2()
{
m_transfer_type = 2;
if( m_confirm_jinro_on == 1 ) f_common_check_enter_key();
else if( m_confirm_jinro_on == 0 ) f_hexa_matrix_setup();
}
function f_load_list_from_ajax() {
if( m_transfer_type == 1 ) {
m_ajax_send = "./WebControl.jsp?userid=A&score=";
m_ajax_send = m_ajax_send + m_hexa_score + "&commx=";
m_ajax_send = m_ajax_send + m_size_of_x + "" + "&commy=";
m_ajax_send = m_ajax_send + m_size_of_y + "" + "&commdata=";
for( i = 0; i < m_size_of_y; i++ )
{
for( k = 0; k < m_size_of_x; k++ )
{
m_ajax_send = m_ajax_send + m_org_hexa_matrix[ i * m_size_of_x + k ] + "C";
}
m_ajax_send = m_ajax_send + "R";
}
sendRequest( m_ajax_send, null, f_load_list_call_back, "GET");
}
else if( m_transfer_type == 2 ) {
m_ajax_send = "./WebControl.jsp?userid=B&score=";
m_ajax_send = m_ajax_send + m_hexa_score + "&commx=";
m_ajax_send = m_ajax_send + m_size_of_x + "" + "&commy=";
m_ajax_send = m_ajax_send + m_size_of_y + "" + "&commdata=";
for( i = 0; i < m_size_of_y; i++ )
{
for( k = 0; k < m_size_of_x; k++ )
{
m_ajax_send = m_ajax_send + m_org_hexa_matrix[ i * m_size_of_x + k ] + "C";
}
m_ajax_send = m_ajax_send + "R";
}
sendRequest( m_ajax_send, null, f_load_list_call_back, "GET");
}
}
function f_load_list_call_back() {
if (httpRequest.readyState == 4)
{
if (httpRequest.status == 200)
{
var zipDataOrg = httpRequest.responseText;
var zipDataTar = zipDataOrg.split( "[DIVIDE]" );
var m_hexa_tar_score = zipDataTar[0];
var zipData = zipDataTar[1];
var dataDiv = document.getElementById( "displayDataB" );
dataDiv.innerHTML = "SCORE : " + m_hexa_tar_score;
var rowSplit = zipData.split( "R" );
for( i = 0; i < m_size_of_y; i++ )
{
var colSplit = rowSplit[i].split( "C" );
for( k = 0; k < m_size_of_x; k++ )
{
m_trg_hexa_matrix[ i * m_size_of_x + k ] = colSplit[k];
}
}
for( i = 0; i < m_size_of_y - 1; i++ )
{
for( k = 1; k < m_size_of_x - 1; k++ )
{
f_draw_right_each_hexa_matrix( i, k, m_trg_hexa_matrix[ i * m_size_of_x + k ] );
}
}
}
else
{
alert(httpRequest.status);
}
}
}
function f_hexa_matrix_setup()
{
var i, k;
if( m_transfer_type == 1 ) i = 0;
else if( m_transfer_type == 2 ) i = 1;
else
{
alert( "Caution! This program needs Microsoft-Explorer Browser \n" +
"래디오버튼에서 네트웍으로 판별되어질 사용자를 선택하세요!!" );
return;
}
m_confirm_jinro_on = 1;
m_hexa_score = 0;
alert( "Caution! This program needs Microsoft-Explorer Browser \n" +
"자바스크립트로 구현한 헥사 게임을 시작하려합니다. \n" +
"방향키와 스페이스크 그리고 취소키를 이용해서 게임을 즐기십시요.!! " );
for( i = 0; i < m_size_of_y; i++ )
{
for( k = 0; k < m_size_of_x; k++ )
{
m_org_hexa_matrix[ i * m_size_of_x + k ] = 0;
}
}
for( k = 0; k < m_size_of_x; k++ )
{
m_org_hexa_matrix[ ( m_size_of_y-1 ) * m_size_of_x + k ] = 10;
}
for( k = 0; k < m_size_of_y; k++ )
{
m_org_hexa_matrix[ k * m_size_of_x + 0 ] = 100;
m_org_hexa_matrix[ k * m_size_of_x + m_size_of_x - 1 ] = 10;
}
m_time_number = setInterval( "f_time_loop_call_back()", 400 );
f_start_hexa_matrix();
f_draw_active_hexa_matrix();
}
function f_quit_hexa_matrix()
{
m_confirm_jinro_on = 0;
f_draw_clear_hexa_matrix();
clearInterval( m_time_number );
alert( "자바스크립트로 만들어진 헥사게임을 종료합니다. 한번더 하시죠.!" );
}
function f_delete_column( Col, Row )
{
var k;
for( k = Row; k >= 1; k-- )
{
m_org_hexa_matrix[ k * m_size_of_x + Col ] = m_org_hexa_matrix[ ( k - 1 ) * m_size_of_x + Col ];
}
}
function f_check_horizontal()
{
var i, k, j, No;
for( i = 0; i < m_size_of_y - 1; i++ )
{
for( k = 1; k < m_size_of_x - 3; k++ )
{
No = 0;
while( 1 )
{
if( m_org_hexa_matrix[ i * m_size_of_x + k + No ] != 0 )
{
if( m_org_hexa_matrix[ i * m_size_of_x + k + No ] == m_org_hexa_matrix[ i * m_size_of_x + k + No + 1 ] )
{
No = No + 1;
}
else break;
}
else break;
}
if( No >= 2 )
{
m_hexa_score = m_hexa_score + 1;
for( j = k; j <= k + No; j++ )
{
f_delete_column( j, i );
}
return 1;
}
}
}
return 0;
}
function f_check_vertical()
{
var i, k, j, No;
for( k = 1; k < m_size_of_x - 1; k++ )
{
for( i = m_size_of_y - 2; i >= 0; i-- )
{
No = 0;
while( 1 )
{
if( m_org_hexa_matrix[ ( i - No ) * m_size_of_x + k ] != 0 )
{
if( m_org_hexa_matrix[ ( i - No ) * m_size_of_x + k ] == m_org_hexa_matrix[ ( i - No - 1 ) * m_size_of_x + k ] )
{
No = No + 1;
}
else break;
}
else break;
}
if( No >= 2 )
{
m_hexa_score = m_hexa_score + 1;
for( j = i; j >= i - No; j-- )
{
f_delete_column( k, i );
}
return 1;
}
}
}
return 0;
}
function f_check_left_to_right()
{
var i, k, j, No;
for( k = 1; k < m_size_of_x - 1; k++ )
{
for( i = 0; i < m_size_of_y - 1; i++ )
{
No = 0;
while( 1 )
{
if( m_org_hexa_matrix[ ( i + No ) * m_size_of_x + k + No ] != 0 )
{
if( m_org_hexa_matrix[ ( i + No ) * m_size_of_x + ( k + No ) ] == m_org_hexa_matrix[ ( i + No + 1 ) * m_size_of_x + ( k + No + 1 ) ] )
{
No = No + 1;
}
else break;
}
else break;
}
if( No >= 2 )
{
m_hexa_score = m_hexa_score + 1;
for( j = 0; j <= No; j++ )
{
f_delete_column( k + j, i + j );
}
return 1;
}
}
}
return 0;
}
function f_check_right_to_left()
{
var i, k, j, No;
for( k = m_size_of_x - 2; k >= 1; k-- )
{
for( i = 0; i < m_size_of_y - 1; i++ )
{
No = 0;
while( 1 )
{
if( m_org_hexa_matrix[ ( i + No ) * m_size_of_x + k - No ] != 0 )
{
if( m_org_hexa_matrix[ ( i + No ) * m_size_of_x + ( k - No ) ] == m_org_hexa_matrix[ ( i + No + 1 ) * m_size_of_x + ( k - No - 1 ) ] )
{
No = No + 1;
}
else break;
}
else break;
}
if( No >= 2 )
{
m_hexa_score = m_hexa_score + 1;
for( j = 0; j <= No; j++ )
{
f_delete_column( k - j, i + j );
}
return 1;
}
}
}
return 0;
}
function f_time_loop_call_back()
{
var i, k;
f_load_list_from_ajax();
if( f_common_midway_control( m_def_down_key ) == 1 )
{
f_delete_hexa_matrix();
ypos = ypos + 1;
f_get_shape_hexa_matrix();
f_draw_current_hexa_matrix();
}
else
{
if( ypos == 0 ) f_quit_hexa_matrix();
else
{
while( 1 )
{
if( f_check_horizontal() == 0 )
{
if( f_check_vertical() == 0 )
{
if( f_check_left_to_right() == 0 )
{
if( f_check_right_to_left() == 0 )
{
break;
}
}
}
}
}
f_draw_active_hexa_matrix();
f_start_hexa_matrix();
f_draw_active_hexa_matrix();
}
}
}
function f_check_enter_key()
{
while( 1 )
{
if( f_common_midway_control( m_def_down_key ) == 1 )
{
f_delete_hexa_matrix();
ypos = ypos + 1;
f_get_shape_hexa_matrix();
}
else
{
while( 1 )
{
if( f_check_horizontal() == 0 )
{
if( f_check_vertical() == 0 )
{
if( f_check_left_to_right() == 0 )
{
if( f_check_right_to_left() == 0 )
{
break;
}
}
}
}
else f_draw_current_hexa_matrix();
}
f_draw_active_hexa_matrix();
f_start_hexa_matrix();
f_draw_active_hexa_matrix();
break;
}
}
}
function f_script_rand_data()
{
var Number;
if( m_data_of_seleted_rand == 1 )
{
m_data_of_random = m_data_of_random + 23;
m_data_of_seleted_rand = 2;
}
else if( m_data_of_seleted_rand == 2 )
{
m_data_of_random = m_data_of_random + 48;
m_data_of_seleted_rand = 3;
}
else if( m_data_of_seleted_rand == 3 )
{
m_data_of_random = m_data_of_random + 37;
m_data_of_seleted_rand = 4;
}
else if( m_data_of_seleted_rand == 4 )
{
m_data_of_random = m_data_of_random + 12;
m_data_of_seleted_rand = 5;
}
else if( m_data_of_seleted_rand == 5 )
{
m_data_of_random = m_data_of_random + 63;
m_data_of_seleted_rand = 1;
}
Number = ( m_data_of_random % m_max_of_shape_cnt );
if( Number < 0 ) Number = 0;
return Number;
}
function f_start_hexa_matrix()
{
var k;
xpos = 6;
ypos = 0;
for( k = 0; k < 3; k++ )
{
Shape[k] = 1 + f_script_rand_data();
}
f_get_shape_hexa_matrix();
}
function f_delete_hexa_matrix()
{
var k;
for( k = 0; k < 3; k++ )
{
m_org_hexa_matrix[ m_size_of_x * ( ypos + k ) + xpos ] = 0;
}
}
function f_get_shape_hexa_matrix()
{
var k;
for( k = 0; k < 3; k++ )
{
m_org_hexa_matrix[ m_size_of_x * ( ypos + k ) + xpos ] = Shape[k];
}
}
function f_common_midway_control( f_common_midway_controlKey )
{
var k;
f_delete_hexa_matrix();
for( k = 0; k < 3; k++ )
{
if( f_common_midway_controlKey == m_def_right_key )
{
if( m_org_hexa_matrix[ m_size_of_x * ( ypos + k ) + xpos + 1 ] != 0 )
{
f_get_shape_hexa_matrix();
return 0;
}
}
else if( f_common_midway_controlKey == m_def_left_key )
{
if( m_org_hexa_matrix[ m_size_of_x * ( ypos + k ) + xpos - 1 ] != 0 )
{
f_get_shape_hexa_matrix();
return 0;
}
}
else if( f_common_midway_controlKey == m_def_down_key )
{
if( m_org_hexa_matrix[ m_size_of_x * ( ypos + 3 ) + xpos ] != 0 )
{
f_get_shape_hexa_matrix();
return 0;
}
}
else if( f_common_midway_controlKey == m_def_space_key )
{
var Temp;
Temp = Shape[0];
Shape[0] = Shape[1];
Shape[1] = Shape[2];
Shape[2] = Temp;
f_get_shape_hexa_matrix();
return 0;
}
}
f_get_shape_hexa_matrix();
return 1;
}
function f_common_check_right_key()
{
if( m_confirm_jinro_on == 1 ) f_check_right_key();
else
{
alert( "헥사게임을 시작하려면 엔터키가 필요합니다. 먼저 엔터키를 누르세요.!" );
}
}
function f_check_right_key()
{
if( f_common_midway_control( m_def_right_key ) == 1 )
{
f_delete_hexa_matrix();
xpos = xpos + 1;
f_get_shape_hexa_matrix();
}
f_draw_current_hexa_matrix();
}
function f_common_check_left_key()
{
if( m_confirm_jinro_on == 1 ) f_check_left_key();
else
{
alert( "헥사게임을 시작하려면 엔터키가 필요합니다. 먼저 엔터키를 누르세요.!" );
}
}
function f_check_left_key()
{
if( f_common_midway_control( m_def_left_key ) == 1 )
{
f_delete_hexa_matrix();
xpos = xpos - 1;
f_get_shape_hexa_matrix();
}
f_draw_current_hexa_matrix();
}
function f_common_check_enter_key()
{
if( m_confirm_jinro_on == 1 ) f_check_enter_key();
else
{
alert( "헥사게임을 시작하려면 엔터키가 필요합니다. 먼저 엔터키를 누르세요.!" );
}
}
function f_common_check_space_key()
{
if( m_confirm_jinro_on == 1 ) f_check_space_key();
else
{
alert( "Firstly Start GameSource With Enter Key" );
}
}
function f_check_space_key()
{
var Garvage;
if( f_common_midway_control( m_def_space_key ) == 1 )
{
Garvage = Garvage + 1;
}
f_draw_current_hexa_matrix();
}
function f_check_down_key()
{
if( f_common_midway_control( m_def_down_key ) == 1 )
{
f_delete_hexa_matrix();
ypos = ypos + 1;
f_get_shape_hexa_matrix();
}
f_draw_current_hexa_matrix();
}
function f_draw_current_hexa_matrix()
{
var i, k, ImageNo;
var dataDiv = document.getElementById( "displayDataA" );
dataDiv.innerHTML = "SCORE : " + m_hexa_score + " [기능 - SPACE:색깔바꾸기 ENTER:빨리내려오기]";
for( i = ypos - 2; i < ypos + 3; i++ )
{
for( k = xpos - 2; k < xpos + 2; k++ )
{
ImageNo = i * ( m_size_of_x - 2 ) + ( k - 1 );
if( k > 0 && k < m_size_of_x - 1 )
{
if( i < m_size_of_y - 1 )
{
f_draw_left_each_hexa_matrix( i, k, m_org_hexa_matrix[ i * m_size_of_x + k ] );
}
}
}
}
}
function f_draw_active_hexa_matrix()
{
var i, k, ImageNo;
var dataDiv = document.getElementById( "displayDataA" );
dataDiv.innerHTML = "SCORE : " + m_hexa_score + " [기능 - SPACE:색깔바꾸기 ENTER:빨리내려오기]";
m_confirm_graphic_on = 1;
for( i = 0; i < m_size_of_y - 1; i++ )
{
for( k = 1; k < m_size_of_x - 1; k++ )
{
f_draw_left_each_hexa_matrix( i, k, m_org_hexa_matrix[ i * m_size_of_x + k ] );
}
}
m_confirm_graphic_on = 0;
}
function f_draw_clear_hexa_matrix()
{
var i, k, ImageNo;
var dataDiv = document.getElementById( "displayDataA" );
dataDiv.innerHTML = "SCORE : " + m_hexa_score + " [기능 - SPACE:색깔바꾸기 ENTER:빨리내려오기]";
for( i = 0; i < m_size_of_y - 1; i++ )
{
for( k = 1; k < m_size_of_x - 1; k++ )
{
ImageNo = i * ( m_size_of_x - 2 ) + ( k - 1 );
f_draw_left_each_hexa_matrix( i, k, 0 );
}
}
}
document.onkeydown = e_key_down_storage;
function e_key_down_storage()
{
var today = new Date();
if( m_confirm_graphic_on == 0 ) {
var keycode = window.event.keyCode;
var realkey = String.fromCharCode( window.event.keyCode );
if( keycode == "39" ) f_common_check_right_key();
else if( keycode == "37" ) f_common_check_left_key();
else if( keycode == "32" ) f_common_check_space_key();
else if( keycode == "38" )
{
alert( "현재의 시간의 현황은 : " + today.getTime() );
}
else if( keycode == "13" )
{
if( m_confirm_jinro_on == 1 ) f_common_check_enter_key();
else if( m_confirm_jinro_on == 0 ) f_hexa_matrix_setup();
}
else if( keycode == "27" )
{
if( m_confirm_jinro_on == 1 ) f_quit_hexa_matrix();
else if( m_confirm_jinro_on == 0 )
{
alert( "함부로 취소키를 누르시지 마십시요, 키보드 닳아집니다." );
}
}
}
}
function f_draw_left_each_hexa_matrix( D_Y, D_X, ID_COLOR )
{
// Height Value is 21, So Array is 22
// Width Value is 17, So Array is 19
var CH_ID_COLOR;
if( ID_COLOR == 0 ) CH_ID_COLOR = "#FFFFFF";
else if( ID_COLOR == 1 ) CH_ID_COLOR = "#da009a";
else if( ID_COLOR == 2 ) CH_ID_COLOR = "#6c00da";
else if( ID_COLOR == 3 ) CH_ID_COLOR = "#0f00da";
else if( ID_COLOR == 4 ) CH_ID_COLOR = "#0052da";
else if( ID_COLOR == 5 ) CH_ID_COLOR = "#009ada";
else if( ID_COLOR == 6 ) CH_ID_COLOR = "#00dabe";
else if( ID_COLOR == 7 ) CH_ID_COLOR = "#00ba1f";
else if( ID_COLOR == 8 ) CH_ID_COLOR = "#abba00";
else if( ID_COLOR == 9 ) CH_ID_COLOR = "#f4da00";
else if( ID_COLOR == 10 ) CH_ID_COLOR = "#f4a100";
else if( ID_COLOR == 11 ) CH_ID_COLOR = "#f46700";
else if( ID_COLOR == 12 ) CH_ID_COLOR = "#da0000";
if( D_Y == 0 && D_X == 1 ) TD0001.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 2 ) TD0002.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 3 ) TD0003.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 4 ) TD0004.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 5 ) TD0005.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 6 ) TD0006.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 7 ) TD0007.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 8 ) TD0008.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 9 ) TD0009.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 10 ) TD0010.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 11 ) TD0011.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 12 ) TD0012.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 13 ) TD0013.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 14 ) TD0014.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 15 ) TD0015.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 16 ) TD0016.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 17 ) TD0017.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 1 ) TD0101.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 2 ) TD0102.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 3 ) TD0103.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 4 ) TD0104.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 5 ) TD0105.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 6 ) TD0106.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 7 ) TD0107.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 8 ) TD0108.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 9 ) TD0109.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 10 ) TD0110.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 11 ) TD0111.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 12 ) TD0112.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 13 ) TD0113.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 14 ) TD0114.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 15 ) TD0115.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 16 ) TD0116.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 17 ) TD0117.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 1 ) TD0201.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 2 ) TD0202.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 3 ) TD0203.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 4 ) TD0204.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 5 ) TD0205.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 6 ) TD0206.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 7 ) TD0207.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 8 ) TD0208.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 9 ) TD0209.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 10 ) TD0210.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 11 ) TD0211.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 12 ) TD0212.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 13 ) TD0213.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 14 ) TD0214.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 15 ) TD0215.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 16 ) TD0216.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 17 ) TD0217.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 1 ) TD0301.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 2 ) TD0302.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 3 ) TD0303.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 4 ) TD0304.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 5 ) TD0305.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 6 ) TD0306.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 7 ) TD0307.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 8 ) TD0308.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 9 ) TD0309.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 10 ) TD0310.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 11 ) TD0311.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 12 ) TD0312.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 13 ) TD0313.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 14 ) TD0314.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 15 ) TD0315.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 16 ) TD0316.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 17 ) TD0317.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 1 ) TD0401.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 2 ) TD0402.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 3 ) TD0403.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 4 ) TD0404.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 5 ) TD0405.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 6 ) TD0406.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 7 ) TD0407.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 8 ) TD0408.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 9 ) TD0409.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 10 ) TD0410.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 11 ) TD0411.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 12 ) TD0412.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 13 ) TD0413.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 14 ) TD0414.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 15 ) TD0415.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 16 ) TD0416.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 17 ) TD0417.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 1 ) TD0501.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 2 ) TD0502.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 3 ) TD0503.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 4 ) TD0504.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 5 ) TD0505.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 6 ) TD0506.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 7 ) TD0507.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 8 ) TD0508.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 9 ) TD0509.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 10 ) TD0510.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 11 ) TD0511.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 12 ) TD0512.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 13 ) TD0513.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 14 ) TD0514.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 15 ) TD0515.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 16 ) TD0516.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 17 ) TD0517.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 1 ) TD0601.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 2 ) TD0602.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 3 ) TD0603.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 4 ) TD0604.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 5 ) TD0605.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 6 ) TD0606.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 7 ) TD0607.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 8 ) TD0608.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 9 ) TD0609.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 10 ) TD0610.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 11 ) TD0611.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 12 ) TD0612.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 13 ) TD0613.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 14 ) TD0614.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 15 ) TD0615.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 16 ) TD0616.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 17 ) TD0617.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 1 ) TD0701.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 2 ) TD0702.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 3 ) TD0703.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 4 ) TD0704.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 5 ) TD0705.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 6 ) TD0706.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 7 ) TD0707.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 8 ) TD0708.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 9 ) TD0709.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 10 ) TD0710.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 11 ) TD0711.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 12 ) TD0712.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 13 ) TD0713.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 14 ) TD0714.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 15 ) TD0715.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 16 ) TD0716.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 17 ) TD0717.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 1 ) TD0801.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 2 ) TD0802.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 3 ) TD0803.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 4 ) TD0804.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 5 ) TD0805.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 6 ) TD0806.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 7 ) TD0807.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 8 ) TD0808.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 9 ) TD0809.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 10 ) TD0810.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 11 ) TD0811.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 12 ) TD0812.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 13 ) TD0813.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 14 ) TD0814.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 15 ) TD0815.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 16 ) TD0816.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 17 ) TD0817.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 1 ) TD0901.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 2 ) TD0902.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 3 ) TD0903.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 4 ) TD0904.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 5 ) TD0905.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 6 ) TD0906.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 7 ) TD0907.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 8 ) TD0908.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 9 ) TD0909.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 10 ) TD0910.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 11 ) TD0911.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 12 ) TD0912.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 13 ) TD0913.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 14 ) TD0914.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 15 ) TD0915.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 16 ) TD0916.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 17 ) TD0917.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 1 ) TD1001.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 2 ) TD1002.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 3 ) TD1003.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 4 ) TD1004.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 5 ) TD1005.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 6 ) TD1006.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 7 ) TD1007.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 8 ) TD1008.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 9 ) TD1009.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 10 ) TD1010.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 11 ) TD1011.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 12 ) TD1012.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 13 ) TD1013.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 14 ) TD1014.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 15 ) TD1015.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 16 ) TD1016.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 17 ) TD1017.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 1 ) TD1101.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 2 ) TD1102.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 3 ) TD1103.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 4 ) TD1104.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 5 ) TD1105.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 6 ) TD1106.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 7 ) TD1107.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 8 ) TD1108.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 9 ) TD1109.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 10 ) TD1110.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 11 ) TD1111.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 12 ) TD1112.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 13 ) TD1113.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 14 ) TD1114.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 15 ) TD1115.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 16 ) TD1116.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 17 ) TD1117.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 1 ) TD1201.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 2 ) TD1202.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 3 ) TD1203.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 4 ) TD1204.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 5 ) TD1205.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 6 ) TD1206.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 7 ) TD1207.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 8 ) TD1208.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 9 ) TD1209.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 10 ) TD1210.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 11 ) TD1211.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 12 ) TD1212.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 13 ) TD1213.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 14 ) TD1214.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 15 ) TD1215.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 16 ) TD1216.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 17 ) TD1217.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 1 ) TD1301.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 2 ) TD1302.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 3 ) TD1303.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 4 ) TD1304.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 5 ) TD1305.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 6 ) TD1306.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 7 ) TD1307.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 8 ) TD1308.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 9 ) TD1309.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 10 ) TD1310.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 11 ) TD1311.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 12 ) TD1312.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 13 ) TD1313.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 14 ) TD1314.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 15 ) TD1315.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 16 ) TD1316.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 17 ) TD1317.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 1 ) TD1401.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 2 ) TD1402.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 3 ) TD1403.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 4 ) TD1404.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 5 ) TD1405.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 6 ) TD1406.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 7 ) TD1407.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 8 ) TD1408.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 9 ) TD1409.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 10 ) TD1410.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 11 ) TD1411.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 12 ) TD1412.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 13 ) TD1413.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 14 ) TD1414.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 15 ) TD1415.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 16 ) TD1416.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 17 ) TD1417.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 1 ) TD1501.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 2 ) TD1502.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 3 ) TD1503.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 4 ) TD1504.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 5 ) TD1505.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 6 ) TD1506.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 7 ) TD1507.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 8 ) TD1508.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 9 ) TD1509.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 10 ) TD1510.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 11 ) TD1511.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 12 ) TD1512.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 13 ) TD1513.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 14 ) TD1514.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 15 ) TD1515.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 16 ) TD1516.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 17 ) TD1517.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 1 ) TD1601.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 2 ) TD1602.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 3 ) TD1603.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 4 ) TD1604.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 5 ) TD1605.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 6 ) TD1606.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 7 ) TD1607.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 8 ) TD1608.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 9 ) TD1609.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 10 ) TD1610.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 11 ) TD1611.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 12 ) TD1612.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 13 ) TD1613.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 14 ) TD1614.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 15 ) TD1615.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 16 ) TD1616.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 17 ) TD1617.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 1 ) TD1701.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 2 ) TD1702.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 3 ) TD1703.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 4 ) TD1704.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 5 ) TD1705.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 6 ) TD1706.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 7 ) TD1707.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 8 ) TD1708.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 9 ) TD1709.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 10 ) TD1710.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 11 ) TD1711.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 12 ) TD1712.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 13 ) TD1713.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 14 ) TD1714.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 15 ) TD1715.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 16 ) TD1716.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 17 ) TD1717.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 1 ) TD1801.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 2 ) TD1802.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 3 ) TD1803.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 4 ) TD1804.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 5 ) TD1805.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 6 ) TD1806.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 7 ) TD1807.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 8 ) TD1808.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 9 ) TD1809.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 10 ) TD1810.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 11 ) TD1811.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 12 ) TD1812.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 13 ) TD1813.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 14 ) TD1814.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 15 ) TD1815.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 16 ) TD1816.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 17 ) TD1817.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 1 ) TD1901.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 2 ) TD1902.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 3 ) TD1903.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 4 ) TD1904.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 5 ) TD1905.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 6 ) TD1906.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 7 ) TD1907.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 8 ) TD1908.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 9 ) TD1909.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 10 ) TD1910.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 11 ) TD1911.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 12 ) TD1912.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 13 ) TD1913.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 14 ) TD1914.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 15 ) TD1915.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 16 ) TD1916.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 17 ) TD1917.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 1 ) TD2001.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 2 ) TD2002.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 3 ) TD2003.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 4 ) TD2004.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 5 ) TD2005.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 6 ) TD2006.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 7 ) TD2007.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 8 ) TD2008.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 9 ) TD2009.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 10 ) TD2010.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 11 ) TD2011.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 12 ) TD2012.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 13 ) TD2013.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 14 ) TD2014.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 15 ) TD2015.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 16 ) TD2016.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 17 ) TD2017.style.backgroundColor = CH_ID_COLOR;
}
function f_draw_right_each_hexa_matrix( D_Y, D_X, ID_COLOR )
{
// Height Value is 21, So Array is 22
// Width Value is 17, So Array is 19
var CH_ID_COLOR;
if( ID_COLOR == 0 ) CH_ID_COLOR = "#FFFFFF";
else if( ID_COLOR == 1 ) CH_ID_COLOR = "#da009a";
else if( ID_COLOR == 2 ) CH_ID_COLOR = "#6c00da";
else if( ID_COLOR == 3 ) CH_ID_COLOR = "#0f00da";
else if( ID_COLOR == 4 ) CH_ID_COLOR = "#0052da";
else if( ID_COLOR == 5 ) CH_ID_COLOR = "#009ada";
else if( ID_COLOR == 6 ) CH_ID_COLOR = "#00dabe";
else if( ID_COLOR == 7 ) CH_ID_COLOR = "#00ba1f";
else if( ID_COLOR == 8 ) CH_ID_COLOR = "#abba00";
else if( ID_COLOR == 9 ) CH_ID_COLOR = "#f4da00";
else if( ID_COLOR == 10 ) CH_ID_COLOR = "#f4a100";
else if( ID_COLOR == 11 ) CH_ID_COLOR = "#f46700";
else if( ID_COLOR == 12 ) CH_ID_COLOR = "#da0000";
if( D_Y == 0 && D_X == 1 ) HD0001.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 2 ) HD0002.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 3 ) HD0003.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 4 ) HD0004.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 5 ) HD0005.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 6 ) HD0006.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 7 ) HD0007.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 8 ) HD0008.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 9 ) HD0009.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 10 ) HD0010.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 11 ) HD0011.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 12 ) HD0012.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 13 ) HD0013.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 14 ) HD0014.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 15 ) HD0015.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 16 ) HD0016.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 0 && D_X == 17 ) HD0017.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 1 ) HD0101.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 2 ) HD0102.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 3 ) HD0103.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 4 ) HD0104.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 5 ) HD0105.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 6 ) HD0106.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 7 ) HD0107.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 8 ) HD0108.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 9 ) HD0109.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 10 ) HD0110.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 11 ) HD0111.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 12 ) HD0112.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 13 ) HD0113.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 14 ) HD0114.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 15 ) HD0115.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 16 ) HD0116.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 1 && D_X == 17 ) HD0117.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 1 ) HD0201.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 2 ) HD0202.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 3 ) HD0203.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 4 ) HD0204.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 5 ) HD0205.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 6 ) HD0206.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 7 ) HD0207.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 8 ) HD0208.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 9 ) HD0209.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 10 ) HD0210.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 11 ) HD0211.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 12 ) HD0212.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 13 ) HD0213.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 14 ) HD0214.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 15 ) HD0215.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 16 ) HD0216.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 2 && D_X == 17 ) HD0217.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 1 ) HD0301.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 2 ) HD0302.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 3 ) HD0303.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 4 ) HD0304.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 5 ) HD0305.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 6 ) HD0306.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 7 ) HD0307.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 8 ) HD0308.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 9 ) HD0309.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 10 ) HD0310.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 11 ) HD0311.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 12 ) HD0312.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 13 ) HD0313.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 14 ) HD0314.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 15 ) HD0315.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 16 ) HD0316.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 3 && D_X == 17 ) HD0317.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 1 ) HD0401.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 2 ) HD0402.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 3 ) HD0403.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 4 ) HD0404.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 5 ) HD0405.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 6 ) HD0406.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 7 ) HD0407.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 8 ) HD0408.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 9 ) HD0409.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 10 ) HD0410.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 11 ) HD0411.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 12 ) HD0412.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 13 ) HD0413.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 14 ) HD0414.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 15 ) HD0415.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 16 ) HD0416.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 4 && D_X == 17 ) HD0417.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 1 ) HD0501.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 2 ) HD0502.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 3 ) HD0503.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 4 ) HD0504.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 5 ) HD0505.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 6 ) HD0506.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 7 ) HD0507.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 8 ) HD0508.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 9 ) HD0509.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 10 ) HD0510.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 11 ) HD0511.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 12 ) HD0512.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 13 ) HD0513.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 14 ) HD0514.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 15 ) HD0515.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 16 ) HD0516.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 5 && D_X == 17 ) HD0517.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 1 ) HD0601.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 2 ) HD0602.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 3 ) HD0603.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 4 ) HD0604.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 5 ) HD0605.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 6 ) HD0606.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 7 ) HD0607.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 8 ) HD0608.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 9 ) HD0609.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 10 ) HD0610.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 11 ) HD0611.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 12 ) HD0612.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 13 ) HD0613.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 14 ) HD0614.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 15 ) HD0615.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 16 ) HD0616.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 6 && D_X == 17 ) HD0617.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 1 ) HD0701.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 2 ) HD0702.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 3 ) HD0703.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 4 ) HD0704.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 5 ) HD0705.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 6 ) HD0706.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 7 ) HD0707.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 8 ) HD0708.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 9 ) HD0709.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 10 ) HD0710.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 11 ) HD0711.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 12 ) HD0712.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 13 ) HD0713.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 14 ) HD0714.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 15 ) HD0715.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 16 ) HD0716.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 7 && D_X == 17 ) HD0717.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 1 ) HD0801.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 2 ) HD0802.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 3 ) HD0803.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 4 ) HD0804.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 5 ) HD0805.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 6 ) HD0806.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 7 ) HD0807.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 8 ) HD0808.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 9 ) HD0809.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 10 ) HD0810.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 11 ) HD0811.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 12 ) HD0812.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 13 ) HD0813.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 14 ) HD0814.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 15 ) HD0815.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 16 ) HD0816.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 8 && D_X == 17 ) HD0817.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 1 ) HD0901.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 2 ) HD0902.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 3 ) HD0903.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 4 ) HD0904.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 5 ) HD0905.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 6 ) HD0906.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 7 ) HD0907.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 8 ) HD0908.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 9 ) HD0909.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 10 ) HD0910.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 11 ) HD0911.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 12 ) HD0912.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 13 ) HD0913.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 14 ) HD0914.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 15 ) HD0915.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 16 ) HD0916.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 9 && D_X == 17 ) HD0917.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 1 ) HD1001.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 2 ) HD1002.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 3 ) HD1003.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 4 ) HD1004.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 5 ) HD1005.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 6 ) HD1006.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 7 ) HD1007.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 8 ) HD1008.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 9 ) HD1009.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 10 ) HD1010.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 11 ) HD1011.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 12 ) HD1012.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 13 ) HD1013.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 14 ) HD1014.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 15 ) HD1015.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 16 ) HD1016.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 10 && D_X == 17 ) HD1017.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 1 ) HD1101.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 2 ) HD1102.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 3 ) HD1103.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 4 ) HD1104.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 5 ) HD1105.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 6 ) HD1106.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 7 ) HD1107.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 8 ) HD1108.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 9 ) HD1109.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 10 ) HD1110.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 11 ) HD1111.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 12 ) HD1112.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 13 ) HD1113.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 14 ) HD1114.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 15 ) HD1115.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 16 ) HD1116.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 11 && D_X == 17 ) HD1117.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 1 ) HD1201.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 2 ) HD1202.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 3 ) HD1203.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 4 ) HD1204.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 5 ) HD1205.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 6 ) HD1206.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 7 ) HD1207.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 8 ) HD1208.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 9 ) HD1209.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 10 ) HD1210.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 11 ) HD1211.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 12 ) HD1212.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 13 ) HD1213.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 14 ) HD1214.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 15 ) HD1215.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 16 ) HD1216.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 12 && D_X == 17 ) HD1217.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 1 ) HD1301.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 2 ) HD1302.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 3 ) HD1303.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 4 ) HD1304.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 5 ) HD1305.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 6 ) HD1306.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 7 ) HD1307.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 8 ) HD1308.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 9 ) HD1309.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 10 ) HD1310.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 11 ) HD1311.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 12 ) HD1312.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 13 ) HD1313.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 14 ) HD1314.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 15 ) HD1315.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 16 ) HD1316.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 13 && D_X == 17 ) HD1317.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 1 ) HD1401.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 2 ) HD1402.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 3 ) HD1403.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 4 ) HD1404.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 5 ) HD1405.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 6 ) HD1406.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 7 ) HD1407.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 8 ) HD1408.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 9 ) HD1409.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 10 ) HD1410.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 11 ) HD1411.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 12 ) HD1412.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 13 ) HD1413.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 14 ) HD1414.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 15 ) HD1415.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 16 ) HD1416.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 14 && D_X == 17 ) HD1417.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 1 ) HD1501.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 2 ) HD1502.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 3 ) HD1503.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 4 ) HD1504.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 5 ) HD1505.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 6 ) HD1506.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 7 ) HD1507.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 8 ) HD1508.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 9 ) HD1509.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 10 ) HD1510.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 11 ) HD1511.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 12 ) HD1512.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 13 ) HD1513.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 14 ) HD1514.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 15 ) HD1515.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 16 ) HD1516.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 15 && D_X == 17 ) HD1517.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 1 ) HD1601.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 2 ) HD1602.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 3 ) HD1603.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 4 ) HD1604.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 5 ) HD1605.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 6 ) HD1606.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 7 ) HD1607.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 8 ) HD1608.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 9 ) HD1609.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 10 ) HD1610.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 11 ) HD1611.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 12 ) HD1612.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 13 ) HD1613.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 14 ) HD1614.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 15 ) HD1615.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 16 ) HD1616.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 16 && D_X == 17 ) HD1617.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 1 ) HD1701.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 2 ) HD1702.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 3 ) HD1703.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 4 ) HD1704.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 5 ) HD1705.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 6 ) HD1706.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 7 ) HD1707.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 8 ) HD1708.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 9 ) HD1709.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 10 ) HD1710.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 11 ) HD1711.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 12 ) HD1712.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 13 ) HD1713.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 14 ) HD1714.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 15 ) HD1715.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 16 ) HD1716.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 17 && D_X == 17 ) HD1717.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 1 ) HD1801.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 2 ) HD1802.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 3 ) HD1803.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 4 ) HD1804.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 5 ) HD1805.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 6 ) HD1806.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 7 ) HD1807.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 8 ) HD1808.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 9 ) HD1809.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 10 ) HD1810.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 11 ) HD1811.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 12 ) HD1812.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 13 ) HD1813.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 14 ) HD1814.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 15 ) HD1815.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 16 ) HD1816.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 18 && D_X == 17 ) HD1817.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 1 ) HD1901.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 2 ) HD1902.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 3 ) HD1903.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 4 ) HD1904.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 5 ) HD1905.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 6 ) HD1906.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 7 ) HD1907.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 8 ) HD1908.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 9 ) HD1909.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 10 ) HD1910.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 11 ) HD1911.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 12 ) HD1912.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 13 ) HD1913.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 14 ) HD1914.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 15 ) HD1915.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 16 ) HD1916.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 19 && D_X == 17 ) HD1917.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 1 ) HD2001.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 2 ) HD2002.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 3 ) HD2003.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 4 ) HD2004.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 5 ) HD2005.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 6 ) HD2006.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 7 ) HD2007.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 8 ) HD2008.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 9 ) HD2009.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 10 ) HD2010.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 11 ) HD2011.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 12 ) HD2012.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 13 ) HD2013.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 14 ) HD2014.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 15 ) HD2015.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 16 ) HD2016.style.backgroundColor = CH_ID_COLOR;
else if( D_Y == 20 && D_X == 17 ) HD2017.style.backgroundColor = CH_ID_COLOR;
}
</SCRIPT>
<BODY OnLoad="f_radio_button_type()">
<input type='hidden' id='edit_identify' value="<%= param_userid %>">
<BR><BR><BR>
<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=1 CELLSPACING=0>
<TR><TD> </TD><TD>
<TABLE ALIGN=LEFT BORDER=1 CELLPADDING=1 CELLSPACING=0>
<TR HEIGHT=20>
<TD ID=TD0001 WIDTH=40> </TD>
<TD ID=TD0002 WIDTH=40> </TD>
<TD ID=TD0003 WIDTH=40> </TD>
<TD ID=TD0004 WIDTH=40> </TD>
<TD ID=TD0005 WIDTH=40> </TD>
<TD ID=TD0006 WIDTH=40> </TD>
<TD ID=TD0007 WIDTH=40> </TD>
<TD ID=TD0008 WIDTH=40> </TD>
<TD ID=TD0009 WIDTH=40> </TD>
<TD ID=TD0010 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0101 WIDTH=40> </TD>
<TD ID=TD0102 WIDTH=40> </TD>
<TD ID=TD0103 WIDTH=40> </TD>
<TD ID=TD0104 WIDTH=40> </TD>
<TD ID=TD0105 WIDTH=40> </TD>
<TD ID=TD0106 WIDTH=40> </TD>
<TD ID=TD0107 WIDTH=40> </TD>
<TD ID=TD0108 WIDTH=40> </TD>
<TD ID=TD0109 WIDTH=40> </TD>
<TD ID=TD0110 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0201 WIDTH=40> </TD>
<TD ID=TD0202 WIDTH=40> </TD>
<TD ID=TD0203 WIDTH=40> </TD>
<TD ID=TD0204 WIDTH=40> </TD>
<TD ID=TD0205 WIDTH=40> </TD>
<TD ID=TD0206 WIDTH=40> </TD>
<TD ID=TD0207 WIDTH=40> </TD>
<TD ID=TD0208 WIDTH=40> </TD>
<TD ID=TD0209 WIDTH=40> </TD>
<TD ID=TD0210 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0301 WIDTH=40> </TD>
<TD ID=TD0302 WIDTH=40> </TD>
<TD ID=TD0303 WIDTH=40> </TD>
<TD ID=TD0304 WIDTH=40> </TD>
<TD ID=TD0305 WIDTH=40> </TD>
<TD ID=TD0306 WIDTH=40> </TD>
<TD ID=TD0307 WIDTH=40> </TD>
<TD ID=TD0308 WIDTH=40> </TD>
<TD ID=TD0309 WIDTH=40> </TD>
<TD ID=TD0310 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0401 WIDTH=40> </TD>
<TD ID=TD0402 WIDTH=40> </TD>
<TD ID=TD0403 WIDTH=40> </TD>
<TD ID=TD0404 WIDTH=40> </TD>
<TD ID=TD0405 WIDTH=40> </TD>
<TD ID=TD0406 WIDTH=40> </TD>
<TD ID=TD0407 WIDTH=40> </TD>
<TD ID=TD0408 WIDTH=40> </TD>
<TD ID=TD0409 WIDTH=40> </TD>
<TD ID=TD0410 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0501 WIDTH=40> </TD>
<TD ID=TD0502 WIDTH=40> </TD>
<TD ID=TD0503 WIDTH=40> </TD>
<TD ID=TD0504 WIDTH=40> </TD>
<TD ID=TD0505 WIDTH=40> </TD>
<TD ID=TD0506 WIDTH=40> </TD>
<TD ID=TD0507 WIDTH=40> </TD>
<TD ID=TD0508 WIDTH=40> </TD>
<TD ID=TD0509 WIDTH=40> </TD>
<TD ID=TD0510 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0601 WIDTH=40> </TD>
<TD ID=TD0602 WIDTH=40> </TD>
<TD ID=TD0603 WIDTH=40> </TD>
<TD ID=TD0604 WIDTH=40> </TD>
<TD ID=TD0605 WIDTH=40> </TD>
<TD ID=TD0606 WIDTH=40> </TD>
<TD ID=TD0607 WIDTH=40> </TD>
<TD ID=TD0608 WIDTH=40> </TD>
<TD ID=TD0609 WIDTH=40> </TD>
<TD ID=TD0610 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0701 WIDTH=40> </TD>
<TD ID=TD0702 WIDTH=40> </TD>
<TD ID=TD0703 WIDTH=40> </TD>
<TD ID=TD0704 WIDTH=40> </TD>
<TD ID=TD0705 WIDTH=40> </TD>
<TD ID=TD0706 WIDTH=40> </TD>
<TD ID=TD0707 WIDTH=40> </TD>
<TD ID=TD0708 WIDTH=40> </TD>
<TD ID=TD0709 WIDTH=40> </TD>
<TD ID=TD0710 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0801 WIDTH=40> </TD>
<TD ID=TD0802 WIDTH=40> </TD>
<TD ID=TD0803 WIDTH=40> </TD>
<TD ID=TD0804 WIDTH=40> </TD>
<TD ID=TD0805 WIDTH=40> </TD>
<TD ID=TD0806 WIDTH=40> </TD>
<TD ID=TD0807 WIDTH=40> </TD>
<TD ID=TD0808 WIDTH=40> </TD>
<TD ID=TD0809 WIDTH=40> </TD>
<TD ID=TD0810 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD0901 WIDTH=40> </TD>
<TD ID=TD0902 WIDTH=40> </TD>
<TD ID=TD0903 WIDTH=40> </TD>
<TD ID=TD0904 WIDTH=40> </TD>
<TD ID=TD0905 WIDTH=40> </TD>
<TD ID=TD0906 WIDTH=40> </TD>
<TD ID=TD0907 WIDTH=40> </TD>
<TD ID=TD0908 WIDTH=40> </TD>
<TD ID=TD0909 WIDTH=40> </TD>
<TD ID=TD0910 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1001 WIDTH=40> </TD>
<TD ID=TD1002 WIDTH=40> </TD>
<TD ID=TD1003 WIDTH=40> </TD>
<TD ID=TD1004 WIDTH=40> </TD>
<TD ID=TD1005 WIDTH=40> </TD>
<TD ID=TD1006 WIDTH=40> </TD>
<TD ID=TD1007 WIDTH=40> </TD>
<TD ID=TD1008 WIDTH=40> </TD>
<TD ID=TD1009 WIDTH=40> </TD>
<TD ID=TD1010 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1101 WIDTH=40> </TD>
<TD ID=TD1102 WIDTH=40> </TD>
<TD ID=TD1103 WIDTH=40> </TD>
<TD ID=TD1104 WIDTH=40> </TD>
<TD ID=TD1105 WIDTH=40> </TD>
<TD ID=TD1106 WIDTH=40> </TD>
<TD ID=TD1107 WIDTH=40> </TD>
<TD ID=TD1108 WIDTH=40> </TD>
<TD ID=TD1109 WIDTH=40> </TD>
<TD ID=TD1110 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1201 WIDTH=40> </TD>
<TD ID=TD1202 WIDTH=40> </TD>
<TD ID=TD1203 WIDTH=40> </TD>
<TD ID=TD1204 WIDTH=40> </TD>
<TD ID=TD1205 WIDTH=40> </TD>
<TD ID=TD1206 WIDTH=40> </TD>
<TD ID=TD1207 WIDTH=40> </TD>
<TD ID=TD1208 WIDTH=40> </TD>
<TD ID=TD1209 WIDTH=40> </TD>
<TD ID=TD1210 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1301 WIDTH=40> </TD>
<TD ID=TD1302 WIDTH=40> </TD>
<TD ID=TD1303 WIDTH=40> </TD>
<TD ID=TD1304 WIDTH=40> </TD>
<TD ID=TD1305 WIDTH=40> </TD>
<TD ID=TD1306 WIDTH=40> </TD>
<TD ID=TD1307 WIDTH=40> </TD>
<TD ID=TD1308 WIDTH=40> </TD>
<TD ID=TD1309 WIDTH=40> </TD>
<TD ID=TD1310 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1401 WIDTH=40> </TD>
<TD ID=TD1402 WIDTH=40> </TD>
<TD ID=TD1403 WIDTH=40> </TD>
<TD ID=TD1404 WIDTH=40> </TD>
<TD ID=TD1405 WIDTH=40> </TD>
<TD ID=TD1406 WIDTH=40> </TD>
<TD ID=TD1407 WIDTH=40> </TD>
<TD ID=TD1408 WIDTH=40> </TD>
<TD ID=TD1409 WIDTH=40> </TD>
<TD ID=TD1410 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1501 WIDTH=40> </TD>
<TD ID=TD1502 WIDTH=40> </TD>
<TD ID=TD1503 WIDTH=40> </TD>
<TD ID=TD1504 WIDTH=40> </TD>
<TD ID=TD1505 WIDTH=40> </TD>
<TD ID=TD1506 WIDTH=40> </TD>
<TD ID=TD1507 WIDTH=40> </TD>
<TD ID=TD1508 WIDTH=40> </TD>
<TD ID=TD1509 WIDTH=40> </TD>
<TD ID=TD1510 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1601 WIDTH=40> </TD>
<TD ID=TD1602 WIDTH=40> </TD>
<TD ID=TD1603 WIDTH=40> </TD>
<TD ID=TD1604 WIDTH=40> </TD>
<TD ID=TD1605 WIDTH=40> </TD>
<TD ID=TD1606 WIDTH=40> </TD>
<TD ID=TD1607 WIDTH=40> </TD>
<TD ID=TD1608 WIDTH=40> </TD>
<TD ID=TD1609 WIDTH=40> </TD>
<TD ID=TD1610 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1701 WIDTH=40> </TD>
<TD ID=TD1702 WIDTH=40> </TD>
<TD ID=TD1703 WIDTH=40> </TD>
<TD ID=TD1704 WIDTH=40> </TD>
<TD ID=TD1705 WIDTH=40> </TD>
<TD ID=TD1706 WIDTH=40> </TD>
<TD ID=TD1707 WIDTH=40> </TD>
<TD ID=TD1708 WIDTH=40> </TD>
<TD ID=TD1709 WIDTH=40> </TD>
<TD ID=TD1710 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1801 WIDTH=40> </TD>
<TD ID=TD1802 WIDTH=40> </TD>
<TD ID=TD1803 WIDTH=40> </TD>
<TD ID=TD1804 WIDTH=40> </TD>
<TD ID=TD1805 WIDTH=40> </TD>
<TD ID=TD1806 WIDTH=40> </TD>
<TD ID=TD1807 WIDTH=40> </TD>
<TD ID=TD1808 WIDTH=40> </TD>
<TD ID=TD1809 WIDTH=40> </TD>
<TD ID=TD1810 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD1901 WIDTH=40> </TD>
<TD ID=TD1902 WIDTH=40> </TD>
<TD ID=TD1903 WIDTH=40> </TD>
<TD ID=TD1904 WIDTH=40> </TD>
<TD ID=TD1905 WIDTH=40> </TD>
<TD ID=TD1906 WIDTH=40> </TD>
<TD ID=TD1907 WIDTH=40> </TD>
<TD ID=TD1908 WIDTH=40> </TD>
<TD ID=TD1909 WIDTH=40> </TD>
<TD ID=TD1910 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=TD2001 WIDTH=40> </TD>
<TD ID=TD2002 WIDTH=40> </TD>
<TD ID=TD2003 WIDTH=40> </TD>
<TD ID=TD2004 WIDTH=40> </TD>
<TD ID=TD2005 WIDTH=40> </TD>
<TD ID=TD2006 WIDTH=40> </TD>
<TD ID=TD2007 WIDTH=40> </TD>
<TD ID=TD2008 WIDTH=40> </TD>
<TD ID=TD2009 WIDTH=40> </TD>
<TD ID=TD2010 WIDTH=40> </TD>
</TR>
<TR><TD COLSPAN=10><SPAN ID="displayDataA"></SPAN></TD></TR>
</TABLE></TD><TD> </TD>
<TD><TABLE ALIGN=LEFT BORDER=1 CELLPADDING=1 CELLSPACING=0>
<TR HEIGHT=20>
<TD ID=HD0001 WIDTH=40> </TD>
<TD ID=HD0002 WIDTH=40> </TD>
<TD ID=HD0003 WIDTH=40> </TD>
<TD ID=HD0004 WIDTH=40> </TD>
<TD ID=HD0005 WIDTH=40> </TD>
<TD ID=HD0006 WIDTH=40> </TD>
<TD ID=HD0007 WIDTH=40> </TD>
<TD ID=HD0008 WIDTH=40> </TD>
<TD ID=HD0009 WIDTH=40> </TD>
<TD ID=HD0010 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0101 WIDTH=40> </TD>
<TD ID=HD0102 WIDTH=40> </TD>
<TD ID=HD0103 WIDTH=40> </TD>
<TD ID=HD0104 WIDTH=40> </TD>
<TD ID=HD0105 WIDTH=40> </TD>
<TD ID=HD0106 WIDTH=40> </TD>
<TD ID=HD0107 WIDTH=40> </TD>
<TD ID=HD0108 WIDTH=40> </TD>
<TD ID=HD0109 WIDTH=40> </TD>
<TD ID=HD0110 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0201 WIDTH=40> </TD>
<TD ID=HD0202 WIDTH=40> </TD>
<TD ID=HD0203 WIDTH=40> </TD>
<TD ID=HD0204 WIDTH=40> </TD>
<TD ID=HD0205 WIDTH=40> </TD>
<TD ID=HD0206 WIDTH=40> </TD>
<TD ID=HD0207 WIDTH=40> </TD>
<TD ID=HD0208 WIDTH=40> </TD>
<TD ID=HD0209 WIDTH=40> </TD>
<TD ID=HD0210 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0301 WIDTH=40> </TD>
<TD ID=HD0302 WIDTH=40> </TD>
<TD ID=HD0303 WIDTH=40> </TD>
<TD ID=HD0304 WIDTH=40> </TD>
<TD ID=HD0305 WIDTH=40> </TD>
<TD ID=HD0306 WIDTH=40> </TD>
<TD ID=HD0307 WIDTH=40> </TD>
<TD ID=HD0308 WIDTH=40> </TD>
<TD ID=HD0309 WIDTH=40> </TD>
<TD ID=HD0310 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0401 WIDTH=40> </TD>
<TD ID=HD0402 WIDTH=40> </TD>
<TD ID=HD0403 WIDTH=40> </TD>
<TD ID=HD0404 WIDTH=40> </TD>
<TD ID=HD0405 WIDTH=40> </TD>
<TD ID=HD0406 WIDTH=40> </TD>
<TD ID=HD0407 WIDTH=40> </TD>
<TD ID=HD0408 WIDTH=40> </TD>
<TD ID=HD0409 WIDTH=40> </TD>
<TD ID=HD0410 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0501 WIDTH=40> </TD>
<TD ID=HD0502 WIDTH=40> </TD>
<TD ID=HD0503 WIDTH=40> </TD>
<TD ID=HD0504 WIDTH=40> </TD>
<TD ID=HD0505 WIDTH=40> </TD>
<TD ID=HD0506 WIDTH=40> </TD>
<TD ID=HD0507 WIDTH=40> </TD>
<TD ID=HD0508 WIDTH=40> </TD>
<TD ID=HD0509 WIDTH=40> </TD>
<TD ID=HD0510 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0601 WIDTH=40> </TD>
<TD ID=HD0602 WIDTH=40> </TD>
<TD ID=HD0603 WIDTH=40> </TD>
<TD ID=HD0604 WIDTH=40> </TD>
<TD ID=HD0605 WIDTH=40> </TD>
<TD ID=HD0606 WIDTH=40> </TD>
<TD ID=HD0607 WIDTH=40> </TD>
<TD ID=HD0608 WIDTH=40> </TD>
<TD ID=HD0609 WIDTH=40> </TD>
<TD ID=HD0610 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0701 WIDTH=40> </TD>
<TD ID=HD0702 WIDTH=40> </TD>
<TD ID=HD0703 WIDTH=40> </TD>
<TD ID=HD0704 WIDTH=40> </TD>
<TD ID=HD0705 WIDTH=40> </TD>
<TD ID=HD0706 WIDTH=40> </TD>
<TD ID=HD0707 WIDTH=40> </TD>
<TD ID=HD0708 WIDTH=40> </TD>
<TD ID=HD0709 WIDTH=40> </TD>
<TD ID=HD0710 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0801 WIDTH=40> </TD>
<TD ID=HD0802 WIDTH=40> </TD>
<TD ID=HD0803 WIDTH=40> </TD>
<TD ID=HD0804 WIDTH=40> </TD>
<TD ID=HD0805 WIDTH=40> </TD>
<TD ID=HD0806 WIDTH=40> </TD>
<TD ID=HD0807 WIDTH=40> </TD>
<TD ID=HD0808 WIDTH=40> </TD>
<TD ID=HD0809 WIDTH=40> </TD>
<TD ID=HD0810 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD0901 WIDTH=40> </TD>
<TD ID=HD0902 WIDTH=40> </TD>
<TD ID=HD0903 WIDTH=40> </TD>
<TD ID=HD0904 WIDTH=40> </TD>
<TD ID=HD0905 WIDTH=40> </TD>
<TD ID=HD0906 WIDTH=40> </TD>
<TD ID=HD0907 WIDTH=40> </TD>
<TD ID=HD0908 WIDTH=40> </TD>
<TD ID=HD0909 WIDTH=40> </TD>
<TD ID=HD0910 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1001 WIDTH=40> </TD>
<TD ID=HD1002 WIDTH=40> </TD>
<TD ID=HD1003 WIDTH=40> </TD>
<TD ID=HD1004 WIDTH=40> </TD>
<TD ID=HD1005 WIDTH=40> </TD>
<TD ID=HD1006 WIDTH=40> </TD>
<TD ID=HD1007 WIDTH=40> </TD>
<TD ID=HD1008 WIDTH=40> </TD>
<TD ID=HD1009 WIDTH=40> </TD>
<TD ID=HD1010 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1101 WIDTH=40> </TD>
<TD ID=HD1102 WIDTH=40> </TD>
<TD ID=HD1103 WIDTH=40> </TD>
<TD ID=HD1104 WIDTH=40> </TD>
<TD ID=HD1105 WIDTH=40> </TD>
<TD ID=HD1106 WIDTH=40> </TD>
<TD ID=HD1107 WIDTH=40> </TD>
<TD ID=HD1108 WIDTH=40> </TD>
<TD ID=HD1109 WIDTH=40> </TD>
<TD ID=HD1110 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1201 WIDTH=40> </TD>
<TD ID=HD1202 WIDTH=40> </TD>
<TD ID=HD1203 WIDTH=40> </TD>
<TD ID=HD1204 WIDTH=40> </TD>
<TD ID=HD1205 WIDTH=40> </TD>
<TD ID=HD1206 WIDTH=40> </TD>
<TD ID=HD1207 WIDTH=40> </TD>
<TD ID=HD1208 WIDTH=40> </TD>
<TD ID=HD1209 WIDTH=40> </TD>
<TD ID=HD1210 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1301 WIDTH=40> </TD>
<TD ID=HD1302 WIDTH=40> </TD>
<TD ID=HD1303 WIDTH=40> </TD>
<TD ID=HD1304 WIDTH=40> </TD>
<TD ID=HD1305 WIDTH=40> </TD>
<TD ID=HD1306 WIDTH=40> </TD>
<TD ID=HD1307 WIDTH=40> </TD>
<TD ID=HD1308 WIDTH=40> </TD>
<TD ID=HD1309 WIDTH=40> </TD>
<TD ID=HD1310 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1401 WIDTH=40> </TD>
<TD ID=HD1402 WIDTH=40> </TD>
<TD ID=HD1403 WIDTH=40> </TD>
<TD ID=HD1404 WIDTH=40> </TD>
<TD ID=HD1405 WIDTH=40> </TD>
<TD ID=HD1406 WIDTH=40> </TD>
<TD ID=HD1407 WIDTH=40> </TD>
<TD ID=HD1408 WIDTH=40> </TD>
<TD ID=HD1409 WIDTH=40> </TD>
<TD ID=HD1410 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1501 WIDTH=40> </TD>
<TD ID=HD1502 WIDTH=40> </TD>
<TD ID=HD1503 WIDTH=40> </TD>
<TD ID=HD1504 WIDTH=40> </TD>
<TD ID=HD1505 WIDTH=40> </TD>
<TD ID=HD1506 WIDTH=40> </TD>
<TD ID=HD1507 WIDTH=40> </TD>
<TD ID=HD1508 WIDTH=40> </TD>
<TD ID=HD1509 WIDTH=40> </TD>
<TD ID=HD1510 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1601 WIDTH=40> </TD>
<TD ID=HD1602 WIDTH=40> </TD>
<TD ID=HD1603 WIDTH=40> </TD>
<TD ID=HD1604 WIDTH=40> </TD>
<TD ID=HD1605 WIDTH=40> </TD>
<TD ID=HD1606 WIDTH=40> </TD>
<TD ID=HD1607 WIDTH=40> </TD>
<TD ID=HD1608 WIDTH=40> </TD>
<TD ID=HD1609 WIDTH=40> </TD>
<TD ID=HD1610 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1701 WIDTH=40> </TD>
<TD ID=HD1702 WIDTH=40> </TD>
<TD ID=HD1703 WIDTH=40> </TD>
<TD ID=HD1704 WIDTH=40> </TD>
<TD ID=HD1705 WIDTH=40> </TD>
<TD ID=HD1706 WIDTH=40> </TD>
<TD ID=HD1707 WIDTH=40> </TD>
<TD ID=HD1708 WIDTH=40> </TD>
<TD ID=HD1709 WIDTH=40> </TD>
<TD ID=HD1710 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1801 WIDTH=40> </TD>
<TD ID=HD1802 WIDTH=40> </TD>
<TD ID=HD1803 WIDTH=40> </TD>
<TD ID=HD1804 WIDTH=40> </TD>
<TD ID=HD1805 WIDTH=40> </TD>
<TD ID=HD1806 WIDTH=40> </TD>
<TD ID=HD1807 WIDTH=40> </TD>
<TD ID=HD1808 WIDTH=40> </TD>
<TD ID=HD1809 WIDTH=40> </TD>
<TD ID=HD1810 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD1901 WIDTH=40> </TD>
<TD ID=HD1902 WIDTH=40> </TD>
<TD ID=HD1903 WIDTH=40> </TD>
<TD ID=HD1904 WIDTH=40> </TD>
<TD ID=HD1905 WIDTH=40> </TD>
<TD ID=HD1906 WIDTH=40> </TD>
<TD ID=HD1907 WIDTH=40> </TD>
<TD ID=HD1908 WIDTH=40> </TD>
<TD ID=HD1909 WIDTH=40> </TD>
<TD ID=HD1910 WIDTH=40> </TD>
</TR>
<TR HEIGHT=20>
<TD ID=HD2001 WIDTH=40> </TD>
<TD ID=HD2002 WIDTH=40> </TD>
<TD ID=HD2003 WIDTH=40> </TD>
<TD ID=HD2004 WIDTH=40> </TD>
<TD ID=HD2005 WIDTH=40> </TD>
<TD ID=HD2006 WIDTH=40> </TD>
<TD ID=HD2007 WIDTH=40> </TD>
<TD ID=HD2008 WIDTH=40> </TD>
<TD ID=HD2009 WIDTH=40> </TD>
<TD ID=HD2010 WIDTH=40> </TD>
</TR>
<TR><TD COLSPAN=10><SPAN ID="displayDataB"></SPAN></TD></TR>
</TABLE></TD><TD> </TD>
</TR></TABLE>
</BODY>
</HTML>
'c 언어 > 고급과정' 카테고리의 다른 글
포인터변수 + 스택변수를 이용한 해쉬테이블 사용예제(해쉬테이블 2개사용예제) + 수식에 콤마 추가 (0) | 2019.10.31 |
---|---|
WINDOWS, 아이작스를 이용한 네트웍 헥사 프로그래밍(103) (0) | 2019.10.31 |
WINDOWS, 아이작스를 이용한 네트웍 헥사 프로그래밍(101) (0) | 2019.10.31 |
Firebase : Send notification with REST API(common.c) (0) | 2019.10.30 |
Firebase : Send notification with REST API(sample.c) (0) | 2019.10.30 |