function hesapla() {
with(document.form){
fark1 = sehir1.selectedIndex;
fark2 = sehir2.selectedIndex;
bas.value = mesafeler[fark1][fark2]
}
}
var mesafeler = new Array(
new Array(0,351,573,978,640,489,553,1038,891,892,763,655,735,677,670,831,1101,594,571,766,526,1166,511,748,831,683,207,895,872,1073,190,622,69,939,898,1037,705,331,1147,375,828,356,670,410,880,187,530,889,766,282,205,892,1048,791,745,718,878,501,1070,608,972,644,345,687,905,486,753,265,881,291,486,659,706,778,1126,1116,891,701,246,87,722), //Adana
new Array(351,0,924,652,635,766,904,731,1242,1243,1078,344,409,958,1021,1146,1416,802,699,1117,200,1447,286,549,524,998,149,808,693,747,339,973,420,1220,1249,730,913,450,1428,583,1109,707,1021,185,1231,164,292,1240,459,552,556,805,869,1072,752,392,898,414,1351,521,793,419,109,1038,579,638,1034,616,648,642,694,333,470,1059,890,880,1163,971,216,246,992), //Adiyaman
new Array(573,924,0,1322,592,257,287,1255,344,319,207,1139,1308,423,165,275,528,388,500,219,1099,684,995,945,1137,168,780,883,1038,1641,763,165,565,457,325,1343,499,540,665,440,346,223,97,894,307,760,1103,372,1250,438,472,839,1096,309,674,1291,691,698,588,656,1020,1075,918,114,1473,474,494,363,1047,331,333,1232,1279,519,1432,1422,332,449,819,660,377), //Afyon
new Array(978,652,1322,0,743,1065,1531,386,1666,1574,1368,365,243,1152,1455,1424,1694,991,835,1541,452,1641,505,377,185,1297,771,615,385,433,966,1407,1047,1414,1647,221,1010,818,1622,951,1303,1141,1375,606,1629,816,525,1694,254,920,944,659,537,1266,821,340,979,624,1545,682,485,431,633,1436,230,848,1228,995,309,1134,989,381,436,1253,310,142,1360,1099,831,885,1189), //Agri
new Array(640,635,592,743,0,335,879,711,936,831,625,641,833,409,757,681,951,248,92,811,701,898,550,366,558,567,697,339,446,1143,805,757,633,671,917,764,281,344,879,308,560,579,645,468,899,630,797,964,752,358,435,295,552,523,130,893,263,221,802,114,476,496,718,706,973,197,485,433,455,625,259,834,989,430,853,843,625,364,669,630,454), //Amasya
.
.
.
.
Ek Olarak: Yokmu Cevap :(