You are on page 1of 21

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.

C
lick

Dim add1, add2, top, left As Integer
top = 50
left = -250
add1 = top + 750
add2 = left + 550
Dim nam As String
nam = "lagna"
' str1 = <img src="/kundli3.jpg" width="450" height="350" border="0" st
yle="position:absolute; top:+convert.tostring(add1)
Response.Write("<img src='/kundli3.jpg' width='450' height='350' border=
'0' style='position:absolute; top:" + Convert.ToString(add1) + "px; left:" + Con
vert.ToString(add2) + "px; '/>")
add1 = top + 850
add2 = left + 700
Response.Write("<input type='text' id='" + nam + "_H1_1' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 850
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H1_2' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 825
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H1_3' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 800
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H1_4' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 785
add2 = left + 757
Response.Write("<input type='text' id='" + nam + "_H1_5' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 875
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H1_6' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 850
add2 = left + 800
Response.Write("<input type='text' id='" + nam + "_H1_7' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 825
add2 = left + 800
Response.Write("<input type='text' id='" + nam + "_H1_8' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 825
add2 = left + 700
Response.Write("<input type='text' id='" + nam + "_H1_9' value='test' st
yle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString(
add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; font
-weight:bold;font-size:12px '/>")
add1 = top + 800
add2 = left + 785
Response.Write("<input type='text' id='" + Convert.ToString(nam) + "_H1_
10' value='lagna' style='position: absolute;opacity:.7;text-align:center;left:"
+ Convert.ToString(add2) + "px; top:" + Convert.ToString(add1) + "px;width:35px;
border: none; font-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 590
Response.Write("<input type='text' id='" + nam + "_H2_1' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 625
Response.Write("<input type='text' id='" + nam + "_H2_2' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 660
Response.Write("<input type='text' id='" + nam + "_H2_3' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 695
Response.Write("<input type='text' id='" + nam + "_H2_4' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 605
Response.Write("<input type='text' id='" + nam + "_H2_5' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 640
Response.Write("<input type='text' id='" + nam + "_H2_6' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 675
Response.Write("<input type='text' id='" + nam + "_H2_7' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 795
add2 = left + 630
Response.Write("<input type='text' id='" + nam + "_H2_8' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 795
add2 = left + 660
Response.Write("<input type='text' id='" + nam + "_H2_9' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 549
Response.Write("<input type='text' id='" + nam + "_H3_1' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 795
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H3_2' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 815
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H3_3' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 835
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H3_4' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 855
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H3_5' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 875
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H3_6' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 825
add2 = left + 592
Response.Write("<input type='text' id='" + nam + "_H3_7' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 805
add2 = left + 585
Response.Write("<input type='text' id='" + nam + "_H3_8' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 845
add2 = left + 592
Response.Write("<input type='text' id='" + nam + "_H3_9' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 890
add2 = left + 605
Response.Write("<input type='text' id='" + nam + "_H4_1' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 890
add2 = left + 640
Response.Write("<input type='text' id='" + nam + "_H4_2' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 890
add2 = left + 680
Response.Write("<input type='text' id='" + nam + "_H4_3' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 585
Response.Write("<input type='text' id='" + nam + "_H4_4' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 620
Response.Write("<input type='text' id='" + nam + "_H4_5' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 660
Response.Write("<input type='text' id='" + nam + "_H4_6' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 700
Response.Write("<input type='text' id='" + nam + "_H4_7' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 945
add2 = left + 620
Response.Write("<input type='text' id='" + nam + "_H4_8' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 945
add2 = left + 672
Response.Write("<input type='text' id='" + nam + "_H4_9' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 955
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H5_1' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 975
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H5_2' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 995
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H5_3' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1015
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H5_4' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 553
Response.Write("<input type='text' id='" + nam + "_H5_5' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 550
Response.Write("<input type='text' id='" + nam + "_H5_6' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 980
add2 = left + 583
Response.Write("<input type='text' id='" + nam + "_H5_7' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1000
add2 = left + 592
Response.Write("<input type='text' id='" + nam + "_H5_8' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1020
add2 = left + 592
Response.Write("<input type='text' id='" + nam + "_H5_9' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 590
Response.Write("<input type='text' id='" + nam + "_H6_1' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 625
Response.Write("<input type='text' id='" + nam + "_H6_2' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 660
Response.Write("<input type='text' id='" + nam + "_H6_3' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 695
Response.Write("<input type='text' id='" + nam + "_H6_4' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 607
Response.Write("<input type='text' id='" + nam + "_H6_5' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 640
Response.Write("<input type='text' id='" + nam + "_H6_6' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 675
Response.Write("<input type='text' id='" + nam + "_H6_7' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 632
Response.Write("<input type='text' id='" + nam + "_H6_8' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 660
Response.Write("<input type='text' id='" + nam + "_H6_9' value='test1' s
tyle='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToString
(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fon
t-weight:bold;font-size:12px '/>")
add1 = top + 985
add2 = left + 700
Response.Write("<input type='text' id='" + nam + "_H7_1' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 985
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H7_2' value='test11'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1010
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H7_3' value='test12'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 960
add2 = left + 750
Response.Write("<input type='text' id='" + nam + "_H7_4' value='test13'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 729
Response.Write("<input type='text' id='" + nam + "_H7_5' value='test14'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 985
add2 = left + 800
Response.Write("<input type='text' id='" + nam + "_H7_6' value='test16'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 775
Response.Write("<input type='text' id='" + nam + "_H7_7' value='test17'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1010
add2 = left + 700
Response.Write("<input type='text' id='" + nam + "_H7_8' value='test18'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1010
add2 = left + 800
Response.Write("<input type='text' id='" + nam + "_H7_9' value='test19'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 810
Response.Write("<input type='text' id='" + nam + "_H8_1' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 845
Response.Write("<input type='text' id='" + nam + "_H8_2' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 880
Response.Write("<input type='text' id='" + nam + "_H8_3' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1075
add2 = left + 915
Response.Write("<input type='text' id='" + nam + "_H8_4' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 830
Response.Write("<input type='text' id='" + nam + "_H8_5' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 865
Response.Write("<input type='text' id='" + nam + "_H8_6' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 900
Response.Write("<input type='text' id='" + nam + "_H8_7' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 858
Response.Write("<input type='text' id='" + nam + "_H8_8' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 887
Response.Write("<input type='text' id='" + nam + "_H8_9' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 955
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H9_1' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 975
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H9_2' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 995
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H9_3' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1015
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H9_4' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1035
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H9_5' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1055
add2 = left + 967
Response.Write("<input type='text' id='" + nam + "_H9_6' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 980
add2 = left + 933
Response.Write("<input type='text' id='" + nam + "_H9_7' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1000
add2 = left + 920
Response.Write("<input type='text' id='" + nam + "_H9_8' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 1020
add2 = left + 925
Response.Write("<input type='text' id='" + nam + "_H9_9' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStrin
g(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; fo
nt-weight:bold;font-size:12px '/>")
add1 = top + 890
add2 = left + 825
Response.Write("<input type='text' id='" + nam + "_H10_1' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 890
add2 = left + 860
Response.Write("<input type='text' id='" + nam + "_H10_2' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 890
add2 = left + 900
Response.Write("<input type='text' id='" + nam + "_H10_3' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 800
Response.Write("<input type='text' id='" + nam + "_H10_4' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 840
Response.Write("<input type='text' id='" + nam + "_H10_5' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 880
Response.Write("<input type='text' id='" + nam + "_H10_6' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 915
add2 = left + 920
Response.Write("<input type='text' id='" + nam + "_H10_7' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 945
add2 = left + 830
Response.Write("<input type='text' id='" + nam + "_H10_8' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 945
add2 = left + 882
Response.Write("<input type='text' id='" + nam + "_H10_9' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 778
add2 = left + 967
Response.Write("<input type='text' id='" + nam + "_H11_1' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 795
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H11_2' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 815
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H11_3' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 835
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H11_4' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 855
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H11_5' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 875
add2 = left + 958
Response.Write("<input type='text' id='" + nam + "_H11_6' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 825
add2 = left + 920
Response.Write("<input type='text' id='" + nam + "_H11_7' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 807
add2 = left + 930
Response.Write("<input type='text' id='" + nam + "_H11_8' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 845
add2 = left + 928
Response.Write("<input type='text' id='" + nam + "_H11_9' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 810
Response.Write("<input type='text' id='" + nam + "_H12_1' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 845
Response.Write("<input type='text' id='" + nam + "_H12_2' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 880
Response.Write("<input type='text' id='" + nam + "_H12_3' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 755
add2 = left + 915
Response.Write("<input type='text' id='" + nam + "_H12_4' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 830
Response.Write("<input type='text' id='" + nam + "_H12_5' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 865
Response.Write("<input type='text' id='" + nam + "_H12_6' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 775
add2 = left + 900
Response.Write("<input type='text' id='" + nam + "_H12_7' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 795
add2 = left + 855
Response.Write("<input type='text' id='" + nam + "_H12_8' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
add1 = top + 795
add2 = left + 885
Response.Write("<input type='text' id='" + nam + "_H12_9' value='test10'
style='position: absolute;opacity:.7;text-align:center;left: " + Convert.ToStri
ng(add2) + "px; top: " + Convert.ToString(add1) + "px;width:35px;border: none; f
ont-weight:bold;font-size:12px '/>")
Dim planet_position(13, 13) As String
Dim a, b, c, d, abc(9) As Integer
a = 6
abc = {10, 6, 5, 6, 10, 5, 12, 12, 12}
For c = 0 To 12
For d = 0 To 12
planet_position(c, d) = ""
Next
Next
planet_position(abc(0), 1) = "????"
planet_position(abc(1), 2) = "?????"
planet_position(abc(2), 3) = "????"
planet_position(abc(3), 4) = "???"
planet_position(abc(4), 5) = "????"
planet_position(abc(5), 6) = "?????"
planet_position(abc(6), 7) = "???"
planet_position(abc(7), 8) = "????"
planet_position(abc(8), 8) = "????"
b = 0
If (a > 12) Then
a = 1
End If
For b = 1 To 12
Select Case b
Case 1
Response.Write("<script>document.getElementById('" + nam + "
_H1_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H1_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 2
Response.Write("<script>document.getElementById('" + nam + "
_H2_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H2_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 3
Response.Write("<script>document.getElementById('" + nam + "
_H3_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H3_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 4
Response.Write("<script>document.getElementById('" + nam + "
_H4_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H4_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 5
Response.Write("<script>document.getElementById('" + nam + "
_H5_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H5_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 6
Response.Write("<script>document.getElementById('" + nam + "
_H6_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H6_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 7
Response.Write("<script>document.getElementById('" + nam + "
_H7_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H7_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 8
Response.Write("<script>document.getElementById('" + nam + "
_H8_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H8_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 9
Response.Write("<script>document.getElementById('" + nam + "
_H9_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H9_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 10
Response.Write("<script>document.getElementById('" + nam + "
_H10_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H10_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 11
Response.Write("<script>document.getElementById('" + nam + "
_H11_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H11_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
Case 12
Response.Write("<script>document.getElementById('" + nam + "
_H12_5').value = '" + Convert.ToString(a) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_1').value = '" + Convert.ToString(planet_position(a, 1)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_2').value = '" + Convert.ToString(planet_position(a, 2)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_3').value = '" + Convert.ToString(planet_position(a, 3)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_4').value = '" + Convert.ToString(planet_position(a, 4)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_6').value = '" + Convert.ToString(planet_position(a, 5)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_7').value = '" + Convert.ToString(planet_position(a, 6)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_8').value = '" + Convert.ToString(planet_position(a, 7)) + "'; </script>")
Response.Write("<script>document.getElementById('" + nam + "
_H12_9').value = '" + Convert.ToString(planet_position(a, 8)) + "'; </script>")
End Select
a = a + 1
If (a > 12) Then
a = 1
End If
Next
Dim dTjd_ut1, dTjd_ut, frctn_hr As Double
' c = a * b
Dim da As DateTime
da = Convert.ToDateTime(dateTimeField.Text)
frctn_hr = Convert.ToInt32(da.Hour) + (Convert.ToInt32(da.Minute) / 60)
+ (Convert.ToInt32(da.Second) / 3600)
swe_julday_d(da.Year, da.Month, da.Day, frctn_hr, 1, dTjd_ut1)
swe_julday_d(da.Year, da.Month, da.Day, (frctn_hr - (Convert.ToDouble(ln
g_val1.Text) / 15)), 1, dTjd_ut)
Dim ayan_num As Integer ' Variable to hold ayanamsa flag
If ayanamSa.Value = "Lahiri" Then
ayan_num = 1
ElseIf ayanamSa.Value = "Raman" Then
ayan_num = 3
Else
ayan_num = 5
End If
swe_set_sid_mode(ayan_num, 0, 0) ' Function call to set sideral mode
according to ayanamsa flag
Dim loop1 As Integer
Dim serr As New System.Text.StringBuilder(256)
For loop1 = 0 To 10
swe_calc_ut(dTjd_ut, loop1, 258, x1(loop1, 0), serr) 'function cal
l for planetary position
Next
Dim buff1 As Double 'variable to store buffer value during calculati
on
Dim RASHI(11), ANSH(11), KALA(11), BIKALA(11) As Integer ' var
iables to store planetary position according to their sign,degree,minute and sec
ond
Dim RASHI1, ANSH1, KALA1, BIKALA1 As Integer
Dim BUF As Double = 1.11 'variable to store buffer value during calculat
ion
Dim hour1 As Double '***********
' ' ********* variable for per
ticular date and time
Dim year1, month1, day1 As Long '***********
BUF = 0
Dim intgr, fract As Double ' Variable to hold Integer & Fraction
al part of any number
swe_get_ayanamsa_d(dTjd_ut, BUF) 'Function call to get ayanamsa value
' Label2.Text = " Ayanamsa " + Convert.ToString(degr_to_rashi_etc(BUF))
Dim RASHI_NAME() As String = {"Aries", "Taurus", "Gemini", "Cancer", "Le
o", "Virgo", "Libra", "Scorpio", "Sagittarius", "Capricorn", "Aquarius", "Pisces
"}
Dim obj As make_chakra = New make_chakra
obj.get_ascendent(dTjd_ut, Convert.ToDouble(ltd_val1.Text), Convert.ToDo
uble(lng_val1.Text), RASHI1, ANSH1, KALA1, BIKALA1)
For loop1 = 0 To 10
If (x1(loop1, 0) >= BUF) Then
buff1 = x1(loop1, 0) - BUF
Else
buff1 = (x1(loop1, 0) + 360) - BUF
End If
obj.SplitDecimal(buff1, intgr, fract)
fract = Round(fract, 2)
RASHI(loop1) = (intgr - (intgr Mod 30)) / 30
ANSH(loop1) = (intgr Mod 30)
KALA(loop1) = (fract * 3600.0) / 60
BIKALA(loop1) = (fract * 3600) Mod (60)
' List2.Items.Add(RASHI_NAME(RASHI) + " " + Convert.ToString(ANSH
) + " " + Convert.ToString(KALA) + "' " + Convert.ToString(BIKALA) + """")
' If (x1(loop1, 3) > 0) Then
'List3.Items.Add("Dir")
' Else
' List3.Items.Add("Ret")
' End If
obj.SplitDecimal(x1(loop1, 1), intgr, fract)
' List4.Items.Add(Convert.ToString(intgr) + " " + Convert.ToString
(Round(fract, 2)) + Convert.ToString(KALA) + "' ")
' List5.Items.Add(Convert.ToString(Round((x1(loop1, 2) * 14959787
0), 2)) + " Km")
buff1 = x1(loop1, 1)
obj.SplitDecimal(buff1, intgr, fract)
fract = Round(fract, 2)
Next
End Sub