How to use buf2 method in wpt

Best JavaScript code snippet using wpt

yogas.js

Source:yogas.js Github

copy

Full Screen

12var menuitemsvalus = "";3function yogasgrid()4 {5 document.getElementById('img1').style.display = 'block';6 var lagnarashi = document.getElementById('Hlagnarashi').value;7 var lagspl = document.getElementById('Hlagnadegree').value;8 var getspl = lagspl.split('.');9 var lagnadegree = getspl[0];10 var degree = document.getElementById('Hdegree').value;11 var house = document.getElementById('Hhouse').value;12 var drop = document.getElementById('Hdrop1').value;13 var degreesecond = document.getElementById('Hdegreesecond').value;14 var moonrashi = document.getElementById('Hmoonrashi').value;15 var moonhouse = document.getElementById('Hmoonhouse').value;16 var sunhouse = document.getElementById('Hsunhouse').value;17 menuitemsvalus = document.getElementById('menuitsmcvalue').value;18 var retro = document.getElementById('Hretro').value;19 var rashie = document.getElementById('Hrashie').value;20 if (drop == 'Horary Yogas') {21 if (menuitemsvalus == '') {22 if(document.getElementById('astrologerid').value=='' || document.getElementById('astrologerid').value=='hshoradm@horary.com')23 {24 var res = yogas.showyogas(lagnarashi, degree, house, degreesecond, menuitemsvalus, retro, rashie, callback_othergrid_admin);25 return false;26 }27 else28 { 29 var res = yogas.showyogas(lagnarashi, degree, house, degreesecond, menuitemsvalus, retro, rashie, callback_othergrid);30 return false;31 }32 }33 else34 {35 if(document.getElementById('astrologerid').value=='' || document.getElementById('astrologerid').value=='hshoradm@horary.com')36 {37 var res = yogas.showyogas(lagnarashi, degree, house, degreesecond, menuitemsvalus, retro, rashie, callback_othergrid_admin);38 return false;39 }40 else41 { var res = yogas.showyogas(lagnarashi, degree, house, degreesecond, menuitemsvalus, retro, rashie, callback_othergrid);42 return false;43 }44 }45 }46 if (drop == 'Manau Yoga') {47 48 var res = yogas.showyogas_manau(lagnarashi, degree, house, degreesecond, callback_gridkayra);49 }50 if (drop == 'Easarapha Yoga') {51 var res = yogas.showyogas1(lagnarashi, degree, house, menuitemsvalus, retro, callback_othergrid);52 }53 if (drop == 'Kamboola Yoga') {54 var res = yogas.showyogas_kamboola(lagnarashi, degree, house, degreesecond, moonrashi, moonhouse, sunhouse,callback_kaamboola);55 }56 }57 58 59 60 61 62 63 function callback_kaamboola(res) {64 65 record_show = 1066 record_show1 = 167 var gg4 = 0;68 exec_data = res.value;69 var i = 070 if (exec_data.Tables[0].Rows.length > 0) {71 document.getElementById('img1').style.display = 'none';72 document.getElementById('hdsviewgrid2').innerHTML = "";73 document.getElementById('Divgrid2').style.display = 'block';74 document.getElementById('Divgrid2').style.BackColor = "Ivory";75 var temp_del1 = "";76 flg_req = "yes"77 var aa1 = "";78 var aa = "";79 var hs = 0;80 var hs1 = 0;81 document.getElementById('hdsviewgrid2').style.display = "block";82 if (document.getElementById("hdsviewgrid2").children.length == "0") {83 klen = "0"84 }85 else {86 klen = document.getElementById("Divgrid2").childNodes[0].childNodes[0].childNodes.length - 1;87 IntializeNumber = klen + 1;88 }89 if (document.getElementById("hdsviewgrid2").innerHTML.indexOf("width:100%;display:block") <= 0) {90 aa = document.getElementById("hdsviewgrid2").innerHTML.replace("</TBODY>", "")//</TABLE>","")91 }92 buf2 = "";93 buf2 += "<table id='Divgrid2' runat='server' align='left' Width='100%' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"94// buf2 += "<tr>"95// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:140px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff; color:white;'>" + "PLANET" + "</td>"96// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:140px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff;color:white;'>" + "PLANET" + "</td>"97// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:140px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff; color:white;'>" + "ITHASALA" + "</td>"98// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:140px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff; color:white;'>" + "PLANET" + "</td>"99// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:140px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff;color:white;'>" + "PLANET" + "</td>"100// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:140px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff; color:white;'>" + "KAAMBOOLA_ITHASALA" + "</td>"101// buf2 += "</tr>"102 len = 1;103 if (exec_data.Tables[0].Rows.length > 0) {104 for (i = 0; i < exec_data.Tables[0].Rows.length; ++i) {105 buf2 += "<tr>"106 buf2 += "<td class='new_grid'>"107 buf2 += "<font width='90px'>" +((i+1+'. ')+ exec_data.Tables[0].Rows[i]['PLANET1']) + "</font>"108 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET1']) + "> has "109// buf2 += "</td>"110 // buf2 += "<td class='new_grid'>"111 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['HORARY_KAMBOOLA']) + "</font>"112 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['HORARY_KAMBOOLA']) + "> with "113 // buf2 += "</td>"114 // buf2 += "<td class='new_grid'>"115 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['PLANET2']) + "</font>"116 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET2']) + "> Because "117// buf2 += "</td>"118// buf2 += "<td class='new_grid' >"119 buf2 += "<font width='90px'>" +(exec_data.Tables[0].Rows[i]['LORD']) + "</font>"120 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['LORD']) + "> has "121// buf2 += "</td>"122// buf2 += "<td class='new_grid'>"123 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['HORARY_ITHASALA']) + "</font>"124 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['HORARY_ITHASALA']) + "> with "125// buf2 += "</td>"126// buf2 += "<td class='new_grid' >"127 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</font>"128 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + ">"129 buf2 += "</td>"130// 131// 132 133 buf2 += "</tr>"134 }135 }136 buf2 += "</table>"137 var hdsview = "";138 temp_del1 = aa + buf2.toString();139 temp_del1 = temp_del1.replace("<TBODY>", "")140 temp_del1 = temp_del1.replace("</TBODY>", "")141 //alert(temp_del1)142 document.getElementById('hdsviewgrid2').innerHTML = temp_del1;143 }144 }145 146 //------vishu-----//147 148 149 150 function callback_othergrid_admin(res) {151 152 var drop = document.getElementById('Hdrop1').value;153 154 document.getElementById('img1').style.display = 'none';155 record_show = 10156 record_show1 = 1157 var gg4 = 0;158 exec_data = res.value;159 var i = 0160 var b = "";161 var a ="";162 var flag = '0';163 var s = '0';164 var c;165 var d=0;166 if (exec_data.Tables[0].Rows.length > 0) {167 document.getElementById('img1').style.display = 'none';168 document.getElementById('hdsviewgrid').innerHTML = "";169 document.getElementById('Divgrid1').style.display = 'block';170 document.getElementById('Divgrid1').style.BackColor = "Ivory";171 var temp_del1 = "";172 flg_req = "yes"173 var aa1 = "";174 var aa = "";175 var hs = 0;176 var hs1 = 0;177 document.getElementById('hdsviewgrid').style.display = "block";178 if (document.getElementById("hdsviewgrid").children.length == "0") {179 klen = "0"180 }181 else {182 klen = document.getElementById("Divgrid1").childNodes[0].childNodes[0].childNodes.length - 1;183 IntializeNumber = klen + 1;184 }185 if (document.getElementById("hdsviewgrid").innerHTML.indexOf("width:100%;display:block") <= 0) {186 aa = document.getElementById("hdsviewgrid").innerHTML.replace("</TBODY>", "")//</TABLE>","")187 }188 buf2 = "";189 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='100%' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"190 191 len = 1;192 193 if (exec_data.Tables[0].Rows.length > 0) {194 for (i = 0; i < exec_data.Tables[0].Rows.length;++i) {195 196 197 if (a != exec_data.Tables[0].Rows[i]['TYPE']) {198 flag = '0';199 a = exec_data.Tables[0].Rows[i]['TYPE'];200 }201 if (a == 'Poorna') {202 if (flag == '0') {203 buf2 += "<tr>"204 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a+"/Full Ithasaal" + "</td>"205 buf2 += "</tr>"206 buf2 += "<tr>"207 buf2 += "<td class='new_grid' >"208 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"209 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "210 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "211 212 213 214 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"215 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "216 217 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"218 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"219 buf2 += "</td>"220 buf2 += "</tr>"221 flag = '1';222 s = '1';223 224 }225 else {226 buf2 += "<tr>"227 buf2 += "<td class='new_grid' >"228 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"229 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "230 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "231 232 233 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"234 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "235 236 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"237 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"238 buf2 += "</td>"239 buf2 += "</tr>"240 241 }242 }243 244 if (a == 'Applying') {245 if (flag == '0') {246 buf2 += "<tr>"247 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"248 buf2 += "</tr>"249 buf2 += "<tr>"250 buf2 += "<td class='new_grid' >"251 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"252 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "253 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "254 255 256 257 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"258 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "259 260 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"261 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"262 buf2 += "</td>"263 buf2 += "</tr>"264 flag = '1';265 s = '1';266 267 }268 else {269 buf2 += "<tr>"270 buf2 += "<td class='new_grid' >"271 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"272 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "273 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "274 275 276 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"277 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "278 279 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"280 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"281 buf2 += "</td>"282 buf2 += "</tr>"283 284 }285 }286 287 288 if (a == 'Friendly Ithasaal') {289 if (flag == '0') {290 buf2 += "<tr>"291 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"292 buf2 += "</tr>"293 buf2 += "<tr>"294 buf2 += "<td class='new_grid' >"295 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"296 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "297 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "298 299 300 301 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"302 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "303 304 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"305 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"306 buf2 += "</td>"307 buf2 += "</tr>"308 flag = '1';309 s = '1';310 311 }312 else {313 buf2 += "<tr>"314 buf2 += "<td class='new_grid' >"315 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"316 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "317 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "318 319 320 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"321 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "322 323 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"324 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"325 buf2 += "</td>"326 buf2 += "</tr>"327 328 }329 }330 331 332 if (a == 'Enemical Ithasaal') {333 if (flag == '0') {334 buf2 += "<tr>"335 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"336 buf2 += "</tr>"337 buf2 += "<tr>"338 buf2 += "<td class='new_grid' >"339 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"340 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "341 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "342 343 344 345 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"346 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "347 348 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"349 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"350 buf2 += "</td>"351 buf2 += "</tr>"352 flag = '1';353 s = '1';354 355 }356 else {357 buf2 += "<tr>"358 buf2 += "<td class='new_grid' >"359 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"360 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "361 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "362 363 364 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"365 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "366 367 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"368 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"369 buf2 += "</td>"370 buf2 += "</tr>"371 372 }373 }374 375 376 if (a == 'Bhavishyath') {377 if (flag == '0') {378 buf2 += "<tr>"379 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"380 buf2 += "</tr>"381 buf2 += "<tr>"382 buf2 += "<td class='new_grid' >"383 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"384 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "385 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "386 387 388 389 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"390 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "391 392 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"393 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"394 buf2 += "</td>"395 buf2 += "</tr>"396 flag = '1';397 s = '1';398 399 }400 else {401 buf2 += "<tr>"402 buf2 += "<td class='new_grid' >"403 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"404 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "405 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "406 407 408 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"409 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "410 411 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"412 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"413 buf2 += "</td>"414 buf2 += "</tr>"415 416 }417 }418 if (a == 'Rashiyant Ithasaal-Poorna/Full') {419 if (flag == '0') {420 buf2 += "<tr>"421 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a+" Ithasaal" + "</td>"422 buf2 += "</tr>"423 buf2 += "<tr>"424 buf2 += "<td class='new_grid' >"425 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"426 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "427 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "428 429 430 431 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"432 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "433 434 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"435 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"436 buf2 += "</td>"437 buf2 += "</tr>"438 flag = '1';439 s = '1';440 441 }442 else {443 buf2 += "<tr>"444 buf2 += "<td class='new_grid' >"445 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"446 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "447 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "448 449 450 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"451 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "452 453 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"454 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"455 buf2 += "</td>"456 buf2 += "</tr>"457 458 }459 }460 if (a == 'Applying Rashiyant') {461 if (flag == '0') {462 buf2 += "<tr>"463 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"464 buf2 += "</tr>"465 buf2 += "<tr>"466 buf2 += "<td class='new_grid' >"467 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"468 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "469 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "470 471 472 473 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"474 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "475 476 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"477 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"478 buf2 += "</td>"479 buf2 += "</tr>"480 flag = '1';481 s = '1';482 483 }484 else {485 buf2 += "<tr>"486 buf2 += "<td class='new_grid' >"487 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"488 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "489 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "490 491 492 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"493 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "494 495 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"496 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"497 buf2 += "</td>"498 buf2 += "</tr>"499 500 }501 }502 503 if (a == 'Rashiyant') {504 if (flag == '0') {505 buf2 += "<tr>"506 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"507 buf2 += "</tr>"508 buf2 += "<tr>"509 buf2 += "<td class='new_grid' >"510 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"511 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "512 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "513 514 515 516 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"517 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "518 519 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"520 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"521 buf2 += "</td>"522 buf2 += "</tr>"523 flag = '1';524 s = '1';525 526 }527 else {528 buf2 += "<tr>"529 buf2 += "<td class='new_grid' >"530 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"531 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "532 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "533 534 535 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"536 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "537 538 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"539 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"540 buf2 += "</td>"541 buf2 += "</tr>"542 543 }544 }545 546 if (a == 'Easaraph') {547 if (flag == '0') {548 buf2 += "<tr>"549 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"550 buf2 += "</tr>"551 buf2 += "<tr>"552 buf2 += "<td class='new_grid' >"553 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"554 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "555 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "556 557 558 559 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"560 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "561 562 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"563 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"564 buf2 += "</td>"565 buf2 += "</tr>"566 flag = '1';567 s = '1';568 569 }570 else {571 buf2 += "<tr>"572 buf2 += "<td class='new_grid' >"573 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"574 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "575 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "576 577 578 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"579 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "580 581 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"582 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"583 buf2 += "</td>"584 buf2 += "</tr>"585 586 }587 }588 589 if (a == 'Kamboola') {590 if (flag == '0') {591 buf2 += "<tr>"592 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"593 buf2 += "</tr>"594 buf2 += "<tr>"595 buf2 += "<td class='new_grid' >"596 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"597 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "598 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in ITHASALA and "599 600 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> are in ITHASALA and "601 602 603 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"604 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + ">"605 606 buf2 += "</tr>"607 flag = '1';608 s = '1';609 610 }611 else {612 buf2 += "<tr>"613 buf2 += "<td class='new_grid' >"614 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"615 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "616 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in ITHASALA and "617 618 619 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"620 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + ">"621 622 buf2 += "</tr>"623 624 }625 }626 627 if (a == 'Gary Kambool Yoga') {628 if (flag == '0') {629 buf2 += "<tr>"630 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"631 buf2 += "</tr>"632 buf2 += "<tr>"633 buf2 += "<td class='new_grid' >"634 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"635 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "636 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in Ithasaal and Moon is Forming "637 638 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> are in Ithasaal and Moon is Forming "639 640 641 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"642 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "643 644 645 buf2 += "</td>"646 buf2 += "</tr>"647 flag = '1';648 s = '1';649 650 }651 else {652 buf2 += "<tr>"653 buf2 += "<td class='new_grid' >"654 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"655 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "656 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in Ithasaal and Moon is Forming "657 658 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"659 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "660 661 662 buf2 += "</td>"663 buf2 += "</tr>"664 665 }666 }667 668 669 if (a == 'Nakta Yoga') {670 if (flag == '0') {671 buf2 += "<tr>"672 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"673 buf2 += "</tr>"674 buf2 += "<tr>"675 buf2 += "<td class='new_grid' >"676 677 buf2 += "<font width='90px'>" + ((i + 1 + '. ') + exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"678 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> and establishes Ithasaal between "679 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and " 680 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" 681 682 buf2 += "</td>"683 buf2 += "</tr>"684 flag = '1';685 s = '1';686 687 }688 else {689 buf2 += "<tr>"690 buf2 += "<td class='new_grid' >"691 692 693 buf2 += "<font width='90px'>" + ((i + 1 + '. ') + exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"694 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> and establishes Ithasaal between "695 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "696 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" 697 698 buf2 += "</td>"699 buf2 += "</tr>"700 701 }702 }703 704 705 if (a == 'Yamya Yoga') {706 if (flag == '0') {707 buf2 += "<tr>"708 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"709 buf2 += "</tr>"710 buf2 += "<tr>"711 buf2 += "<td class='new_grid' >"712 buf2 += "<font width='90px'>" + ((i + 1 + '. ') + exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"713 buf2 += "<input type='hidden' id=planets_" + i + " value =" + exec_data.Tables[0].Rows[i]['ITHASALA'] + "> and establishes Ithasaal between "714 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "715 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" 716 717 buf2 += "</td>"718 buf2 += "</tr>"719 flag = '1';720 s = '1';721 722 }723 else {724 buf2 += "<tr>"725 buf2 += "<td class='new_grid' >"726 buf2 += "<font width='90px'>" + ((i + 1 + '. ') + exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"727 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> and establishes Ithasaal between "728 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "729 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" 730 731 buf2 += "</td>"732 buf2 += "</tr>"733 734 }735 }736 737 if (a == 'Kayra Siddhi') {738 if (flag == '0') {739 buf2 += "<tr>"740 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"741 buf2 += "</tr>"742 buf2 += "<tr>"743 buf2 += "<td class='new_grid' >"744 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"745 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "746 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" +" are in "747 748 749 750 751 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"752 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "753 754 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"755 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"756 buf2 += "</td>"757 buf2 += "</tr>"758 flag = '1';759 s = '1';760 761 }762 else {763 buf2 += "<tr>"764 buf2 += "<td class='new_grid' >"765 buf2 += "<font width='90px'>" + ((i + 1 + '. ') )+ "</font>"766 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "767 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "768 769 770 771 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"772 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "773 774 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"775 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"776 buf2 += "</td>"777 buf2 += "</tr>"778 779 }780 }781 782 if (a == 'Manau') {783 if (flag == '0') {784 buf2 += "<tr>"785 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"786 buf2 += "</tr>"787 buf2 += "<tr>"788 buf2 += "<td class='new_grid' >"789 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"790 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "791 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " appears to be in "792 793 794 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> appears to be in "795 796 797 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"798 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "799 800 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"801 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "> but Manau is formed thus Cancelling Ithasaal "802 buf2 += "</td>"803 buf2 += "</tr>"804 flag = '1';805 s = '1';806 807 }808 else {809 buf2 += "<tr>"810 buf2 += "<td class='new_grid' >"811 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"812 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "813 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " appears to be in "814 815 816 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"817 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "818 819 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"820 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "> but Manau is formed thus Cancelling Ithasaal "821 buf2 += "</td>"822 buf2 += "</tr>"823 824 }825 }826 827 if (a == 'Radda') {828 if (flag == '0') {829 buf2 += "<tr>"830 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"831 buf2 += "</tr>"832 buf2 += "<tr>"833 buf2 += "<td class='new_grid' >"834 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"835 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "836 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "837 838 839 840 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"841 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "842 843 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"844 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "> but get Radda thus No ITHASALA "845 buf2 += "</td>"846 buf2 += "</tr>"847 flag = '1';848 s = '1';849 850 }851 else {852 buf2 += "<tr>"853 buf2 += "<td class='new_grid' >"854 855 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"856 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "857 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "858 859 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"860 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "861 862 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"863 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "> but get Radda thus No ITHASALA "864 buf2 += "</td>"865 buf2 += "</tr>"866 867 }868 }869 870 if (a == 'IKKAVAL YOGA') {871 if (flag == '0') {872 buf2 += "<tr>"873 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"874 buf2 += "</tr>"875 buf2 += "<tr>"876 buf2 += "<td class='new_grid' >"877 878 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"879 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "880 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "881 882 883 884 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"885 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "886 887 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"888 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"889 buf2 += "</td>"890 buf2 += "</tr>"891 flag = '1';892 s = '1';893 894 }895 else {896 buf2 += "<tr>"897 buf2 += "<td class='new_grid' >"898 899 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"900 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "901 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "902 903 904 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"905 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "906 907 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"908 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"909 buf2 += "</td>"910 buf2 += "</tr>"911 912 }913 }914 if (a == 'INDUVAR YOGA') {915 if (flag == '0') {916 buf2 += "<tr>"917 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"918 buf2 += "</tr>"919 buf2 += "<tr>"920 buf2 += "<td class='new_grid' >"921 922 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"923 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "924 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "925 926 927 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"928 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "929 930 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"931 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"932 buf2 += "</td>"933 buf2 += "</tr>"934 flag = '1';935 s = '1';936 937 }938 else {939 buf2 += "<tr>"940 buf2 += "<td class='new_grid' >"941 942 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"943 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "944 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "945 946 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"947 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "948 949 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"950 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"951 buf2 += "</td>"952 buf2 += "</tr>"953 954 }955 }956 957 958 } 959 960 961 962 }963 964 965 buf2 += "</table>"966 var hdsview = "";967 temp_del1 = aa + buf2.toString();968 temp_del1 = temp_del1.replace("<TBODY>", "")969 temp_del1 = temp_del1.replace("</TBODY>", "")970 971 document.getElementById('hdsviewgrid').innerHTML = temp_del1;972 }973 974 975 else {976 menuitemsvalus = document.getElementById('menuitsmcvalue').value;977 alert(" No Horary Yoga is formed for the Query Option ")978 }979 980}981//------vishu-----//982 function callback_othergrid(res) {983 984 var drop = document.getElementById('Hdrop1').value;985 986 document.getElementById('img1').style.display = 'none';987 record_show = 10988 record_show1 = 1989 var gg4 = 0;990 exec_data = res.value;991 var i = 0992 var b = "";993 var a ="";994 var flag = '0';995 var s = '0';996 var c;997 var d=0;998 if (exec_data.Tables[0].Rows.length > 0) {999 document.getElementById('img1').style.display = 'none';1000 document.getElementById('hdsviewgrid').innerHTML = "";1001 document.getElementById('Divgrid1').style.display = 'block';1002 document.getElementById('Divgrid1').style.BackColor = "Ivory";1003 var temp_del1 = "";1004 flg_req = "yes"1005 var aa1 = "";1006 var aa = "";1007 var hs = 0;1008 var hs1 = 0;1009 document.getElementById('hdsviewgrid').style.display = "block";1010 if (document.getElementById("hdsviewgrid").children.length == "0") {1011 klen = "0"1012 }1013 else {1014 klen = document.getElementById("Divgrid1").childNodes[0].childNodes[0].childNodes.length - 1;1015 IntializeNumber = klen + 1;1016 }1017 if (document.getElementById("hdsviewgrid").innerHTML.indexOf("width:100%;display:block") <= 0) {1018 aa = document.getElementById("hdsviewgrid").innerHTML.replace("</TBODY>", "")//</TABLE>","")1019 }1020 buf2 = "";1021 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='100%' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"1022 1023 len = 1;1024 1025 if (exec_data.Tables[0].Rows.length > 0) {1026 for (i = 0; i < exec_data.Tables[0].Rows.length;++i) {1027 1028 1029 if (a != exec_data.Tables[0].Rows[i]['TYPE']) {1030 flag = '0';1031 a = exec_data.Tables[0].Rows[i]['TYPE'];1032 }1033 if (a == 'Poorna') {1034 if (flag == '0') {1035 buf2 += "<tr>"1036 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a+"/Full Ithasaal" + "</td>"1037 buf2 += "</tr>"1038 buf2 += "<tr>"1039 buf2 += "<td class='new_grid' >"1040 buf2 += "<font width='90px'>" + ((i + 1 + '. ') )+ "</font>"1041 // buf2 += "<input type='hidden' id=planets_" + i + " runat='server' value =" + "<a onclick='javascript:open_div_button(id);' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1042 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1043 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1044 1045 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1046 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1047 1048 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1049 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1050 buf2 += "</td>"1051 // buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE'])1052 buf2 += "</tr>"1053 flag = '1';1054 s = '1';1055 1056 }1057 else {1058 buf2 += "<tr>"1059 buf2 += "<td class='new_grid' >"1060 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1061 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1062 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1063 1064 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1065 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1066 1067 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1068 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1069 buf2 += "</td>"1070 buf2 += "</tr>"1071 1072 }1073 }1074 1075 if (a == 'Applying') {1076 if (flag == '0') {1077 buf2 += "<tr>"1078 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1079 buf2 += "</tr>"1080 buf2 += "<tr>"1081 buf2 += "<td class='new_grid' >"1082 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1083 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1084 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1085 1086 1087 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1088 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1089 1090 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1091 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1092 buf2 += "</td>"1093 buf2 += "</tr>"1094 flag = '1';1095 s = '1';1096 1097 }1098 else {1099 buf2 += "<tr>"1100 buf2 += "<td class='new_grid' >"1101 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1102 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1103 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1104 1105 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1106 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1107 1108 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1109 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1110 buf2 += "</td>"1111 buf2 += "</tr>"1112 1113 }1114 }1115 1116 1117 if (a == 'Friendly Ithasaal') {1118 if (flag == '0') {1119 buf2 += "<tr>"1120 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1121 buf2 += "</tr>"1122 buf2 += "<tr>"1123 buf2 += "<td class='new_grid' >"1124 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1125 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1126 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1127 1128 1129 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1130 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1131 1132 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1133 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1134 buf2 += "</td>"1135 buf2 += "</tr>"1136 flag = '1';1137 s = '1';1138 1139 }1140 else {1141 buf2 += "<tr>"1142 buf2 += "<td class='new_grid' >"1143 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1144 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1145 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1146 1147 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1148 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1149 1150 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1151 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1152 buf2 += "</td>"1153 buf2 += "</tr>"1154 1155 }1156 }1157 1158 1159 if (a == 'Enemical Ithasaal') {1160 if (flag == '0') {1161 buf2 += "<tr>"1162 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1163 buf2 += "</tr>"1164 buf2 += "<tr>"1165 buf2 += "<td class='new_grid' >"1166 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1167 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1168 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1169 1170 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1171 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1172 1173 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1174 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1175 buf2 += "</td>"1176 buf2 += "</tr>"1177 flag = '1';1178 s = '1';1179 1180 }1181 else {1182 buf2 += "<tr>"1183 buf2 += "<td class='new_grid' >"1184 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1185 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1186 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1187 1188 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1189 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1190 1191 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1192 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1193 buf2 += "</td>"1194 buf2 += "</tr>"1195 1196 }1197 }1198 1199 1200 if (a == 'Bhavishyath') {1201 if (flag == '0') {1202 buf2 += "<tr>"1203 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1204 buf2 += "</tr>"1205 buf2 += "<tr>"1206 buf2 += "<td class='new_grid' >"1207 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1208 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1209 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1210 1211 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + "<li><a onclick='javascript:open_div_button(id);' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a></li>" + " are in "1212 1213 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1214 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "1215 1216 1217 buf2 += "</td>"1218 buf2 += "</tr>"1219 flag = '1';1220 s = '1';1221 1222 }1223 else {1224 buf2 += "<tr>"1225 buf2 += "<td class='new_grid' >"1226 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1227 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1228 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1229 1230 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1231 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "1232 1233 1234 buf2 += "</td>"1235 buf2 += "</tr>"1236 1237 }1238 }1239 if (a == 'Rashiyant Ithasaal-Poorna/Full') {1240 if (flag == '0') {1241 buf2 += "<tr>"1242 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a+" Ithasaal" + "</td>"1243 buf2 += "</tr>"1244 buf2 += "<tr>"1245 buf2 += "<td class='new_grid' >"1246 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1247 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1248 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1249 1250 1251 1252 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1253 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1254 1255 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1256 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1257 buf2 += "</td>"1258 buf2 += "</tr>"1259 flag = '1';1260 s = '1';1261 1262 }1263 else {1264 buf2 += "<tr>"1265 buf2 += "<td class='new_grid' >"1266 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1267 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1268 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1269 1270 1271 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1272 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1273 1274 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1275 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1276 buf2 += "</td>"1277 buf2 += "</tr>"1278 1279 }1280 }1281 if (a == 'Applying Rashiyant') {1282 if (flag == '0') {1283 buf2 += "<tr>"1284 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1285 buf2 += "</tr>"1286 buf2 += "<tr>"1287 buf2 += "<td class='new_grid' >"1288 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1289 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1290 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1291 1292 1293 1294 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1295 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1296 1297 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1298 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1299 buf2 += "</td>"1300 buf2 += "</tr>"1301 flag = '1';1302 s = '1';1303 1304 }1305 else {1306 buf2 += "<tr>"1307 buf2 += "<td class='new_grid' >"1308 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1309 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1310 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1311 1312 1313 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1314 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1315 1316 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1317 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1318 buf2 += "</td>"1319 buf2 += "</tr>"1320 1321 }1322 }1323 1324 if (a == 'Rashiyant') {1325 if (flag == '0') {1326 buf2 += "<tr>"1327 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1328 buf2 += "</tr>"1329 buf2 += "<tr>"1330 buf2 += "<td class='new_grid' >"1331 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1332 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1333 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1334 1335 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1336 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "1337 1338 1339 buf2 += "</td>"1340 buf2 += "</tr>"1341 flag = '1';1342 s = '1';1343 1344 }1345 else {1346 buf2 += "<tr>"1347 buf2 += "<td class='new_grid' >"1348 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1349 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1350 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1351 1352 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1353 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "1354 1355 1356 buf2 += "</td>"1357 buf2 += "</tr>"1358 1359 }1360 }1361 1362 if (a == 'Easaraph') {1363 if (flag == '0') {1364 buf2 += "<tr>"1365 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1366 buf2 += "</tr>"1367 buf2 += "<tr>"1368 buf2 += "<td class='new_grid' >"1369 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1370 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1371 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1372 1373 1374 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1375 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1376 1377 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1378 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1379 buf2 += "</td>"1380 buf2 += "</tr>"1381 flag = '1';1382 s = '1';1383 1384 }1385 else {1386 buf2 += "<tr>"1387 buf2 += "<td class='new_grid' >"1388 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1389 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1390 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1391 1392 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1393 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1394 1395 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1396 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1397 buf2 += "</td>"1398 buf2 += "</tr>"1399 1400 }1401 }1402 1403 if (a == 'Kamboola') {1404 if (flag == '0') {1405 buf2 += "<tr>"1406 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1407 buf2 += "</tr>"1408 buf2 += "<tr>"1409 buf2 += "<td class='new_grid' >"1410 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1411 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1412 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in ITHASALA and "1413 1414 //buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> are in ITHASALA and "1415 1416 1417 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1418 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + ">"1419 1420 buf2 += "</tr>"1421 flag = '1';1422 s = '1';1423 1424 }1425 else {1426 buf2 += "<tr>"1427 buf2 += "<td class='new_grid' >"1428 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1429 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1430 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in ITHASALA and "1431 1432 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1433 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + ">"1434 1435 1436 buf2 += "</tr>"1437 1438 }1439 }1440 1441 if (a == 'Gary Kambool Yoga') {1442 if (flag == '0') {1443 buf2 += "<tr>"1444 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1445 buf2 += "</tr>"1446 buf2 += "<tr>"1447 buf2 += "<td class='new_grid' >"1448 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1449 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1450 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in Ithasaal and Moon is Forming "1451 1452 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> are in Ithasaal and Moon is Forming "1453 1454 1455 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1456 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "1457 1458 1459 buf2 += "</td>"1460 buf2 += "</tr>"1461 flag = '1';1462 s = '1';1463 1464 }1465 else {1466 buf2 += "<tr>"1467 buf2 += "<td class='new_grid' >"1468 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1469 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1470 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in Ithasaal and Moon is Forming "1471 1472 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1473 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> "1474 1475 1476 buf2 += "</td>"1477 buf2 += "</tr>"1478 1479 }1480 }1481 1482 1483 if (a == 'Nakta Yoga') {1484 if (flag == '0') {1485 buf2 += "<tr>"1486 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1487 buf2 += "</tr>"1488 buf2 += "<tr>"1489 buf2 += "<td class='new_grid' >"1490 1491 buf2 += "<font width='90px'>" + ((i + 1 + '. '+'Ithasaal between ')) + "</font>"1492 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1493 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " through Nakta Yoga "1494 buf2 += "</td>" 1495 1496 1497 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> through Nakta Yoga"1498 1499 1500 buf2 += "</tr>"1501 flag = '1';1502 s = '1';1503 1504 }1505 else {1506 buf2 += "<tr>"1507 buf2 += "<td class='new_grid' >"1508 1509 1510 buf2 += "<font width='90px'>" + ((i + 1 + '. '+'Ithasaal between ') ) + "</font>"1511 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1512 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " through Nakta Yoga "1513 1514 buf2 += "</td>"1515 buf2 += "</tr>"1516 1517 }1518 }1519 1520 1521 if (a == 'Yamya Yoga') {1522 if (flag == '0') {1523 buf2 += "<tr>"1524 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1525 buf2 += "</tr>"1526 buf2 += "<tr>"1527 buf2 += "<td class='new_grid' >"1528 buf2 += "<font width='90px'>" + ((i + 1 + '. '+'Ithasaal between ') ) + "</font>"1529 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1530 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " through Yamya Yoga "1531 buf2 += "</td>" 1532 // buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> through Yamya Yoga "1533 1534 1535 1536 buf2 += "</tr>"1537 flag = '1';1538 s = '1';1539 1540 }1541 else {1542 buf2 += "<tr>"1543 buf2 += "<td class='new_grid' >"1544 buf2 += "<font width='90px'>" + ((i + 1 + '. '+'Ithasaal between ') ) + "</font>"1545 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1546 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " through Yamya Yoga "1547 buf2 += "</td>" 1548 buf2 += "</tr>"1549 1550 }1551 }1552 1553 if (a == 'Kayra Siddhi') {1554 if (flag == '0') {1555 buf2 += "<tr>"1556 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1557 buf2 += "</tr>"1558 buf2 += "<tr>"1559 buf2 += "<td class='new_grid' >"1560 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1561 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1562 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1563 1564 1565 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1566 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1567 1568 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1569 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1570 buf2 += "</td>"1571 buf2 += "</tr>"1572 flag = '1';1573 s = '1';1574 1575 }1576 else {1577 buf2 += "<tr>"1578 buf2 += "<td class='new_grid' >"1579 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1580 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1581 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1582 1583 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1584 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1585 1586 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1587 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1588 buf2 += "</td>"1589 buf2 += "</tr>"1590 1591 }1592 }1593 1594 if (a == 'Manau') {1595 if (flag == '0') {1596 buf2 += "<tr>"1597 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1598 buf2 += "</tr>"1599 buf2 += "<tr>"1600 buf2 += "<td class='new_grid' >"1601 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1602 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1603 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " appears to be in "1604 1605 1606 1607 1608 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1609 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> but Manau is formed thus Cancelling Ithasaal "1610 1611 1612 buf2 += "</td>"1613 buf2 += "</tr>"1614 flag = '1';1615 s = '1';1616 1617 }1618 else {1619 buf2 += "<tr>"1620 buf2 += "<td class='new_grid' >"1621 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1622 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1623 buf2 += "<a id=planets_" + i + " runat='server' value ="+ (exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " appears to be in "1624 1625 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1626 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> but Manau is formed thus Cancelling Ithasaal "1627 1628 1629 buf2 += "</td>"1630 buf2 += "</tr>"1631 1632 }1633 }1634 1635 if (a == 'Radda') {1636 if (flag == '0') {1637 buf2 += "<tr>"1638 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1639 buf2 += "</tr>"1640 buf2 += "<tr>"1641 buf2 += "<td class='new_grid' >"1642 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1643 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1644 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1645 1646 1647 1648 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1649 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> but get Radda thus No ITHASALA "1650 1651 1652 buf2 += "</td>"1653 buf2 += "</tr>"1654 flag = '1';1655 s = '1';1656 1657 }1658 else {1659 buf2 += "<tr>"1660 buf2 += "<td class='new_grid' >"1661 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1662 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1663 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1664 1665 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1666 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> but get Radda thus No ITHASALA "1667 1668 1669 buf2 += "</td>"1670 buf2 += "</tr>"1671 1672 }1673 }1674 1675 if (a == 'IKKAVAL YOGA') {1676 if (flag == '0') {1677 buf2 += "<tr>"1678 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1679 buf2 += "</tr>"1680 buf2 += "<tr>"1681 buf2 += "<td class='new_grid' >"1682 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1683 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1684 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1685 1686 1687 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1688 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1689 1690 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1691 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1692 buf2 += "</td>"1693 buf2 += "</tr>"1694 flag = '1';1695 s = '1';1696 1697 }1698 else {1699 buf2 += "<tr>"1700 buf2 += "<td class='new_grid' >"1701 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1702 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1703 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1704 1705 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1706 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1707 1708 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1709 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1710 buf2 += "</td>"1711 buf2 += "</tr>"1712 1713 }1714 }1715 if (a == 'INDUVAR YOGA') {1716 if (flag == '0') {1717 buf2 += "<tr>"1718 buf2 += "<td class='colum-td-head'>" + "Yoga Type : " + a + "</td>"1719 buf2 += "</tr>"1720 buf2 += "<tr>"1721 buf2 += "<td class='new_grid' >"1722 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1723 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1724 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1725 1726 1727 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1728 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1729 1730 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1731 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1732 buf2 += "</td>"1733 buf2 += "</tr>"1734 flag = '1';1735 s = '1';1736 1737 }1738 else {1739 buf2 += "<tr>"1740 buf2 += "<td class='new_grid' >"1741 buf2 += "<font width='90px'>" + ((i + 1 + '. ')) + "</font>"1742 buf2 += "<a id=lord_" + i + " runat='server' value =" + (exec_data.Tables[0].Rows[i]['LORD']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['LORD']) + "</a>" + " and "1743 buf2 += "<a id=planets_" + i + " runat='server' value =" +(exec_data.Tables[0].Rows[i]['PLANET']) + " onclick='javascript:open_div_button(id);' style='cursor:pointer;' >" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</a>" + " are in "1744 1745 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "</font>"1746 buf2 += "<input type='hidden' id=itc_" + i + " value =" + (exec_data.Tables[0].Rows[i]['ITHASALA']) + "> with a degree difference of "1747 1748 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['DEGREE']) + "</font>"1749 buf2 += "<input type='hidden' id=deg_" + i + " value =" + (exec_data.Tables[0].Rows[i]['DEGREE']) + ">"1750 buf2 += "</td>"1751 buf2 += "</tr>"1752 1753 }1754 }1755 1756 1757 } 1758 1759 1760 1761 }1762 1763 1764 buf2 += "</table>"1765 var hdsview = "";1766 temp_del1 = aa + buf2.toString();1767 temp_del1 = temp_del1.replace("<TBODY>", "")1768 temp_del1 = temp_del1.replace("</TBODY>", "")1769 //alert(temp_del1)1770 document.getElementById('hdsviewgrid').innerHTML = temp_del1;1771 }1772 1773 1774 else {1775 menuitemsvalus = document.getElementById('menuitsmcvalue').value;1776 alert(" No Horary Yoga is formed for the Query Option ")1777 }1778 1779}1780function karyasiddhi() {1781 if (document.getElementById('Divgrid1').style.display = 'block') {1782 document.getElementById('Divgrid1').style.display = 'none'1783 1784 }1785 var asendrashi = "";1786 document.getElementById('img1').style.display = 'block';1787 1788 1789 var suninhouse = document.getElementById('Hsuninhouse').value;1790 var mooninhouse = document.getElementById('Hmooninhouse').value;1791 var marsinhouse = document.getElementById('Hmarsinhouse').value;1792 var mrecinhouse = document.getElementById('Hmrecinhouse').value;1793 var jupinhouse = document.getElementById('Hjupinhouse').value;1794 var venusinhouse = document.getElementById('Hvenusinhouse').value;1795 var saturninhouse = document.getElementById('Hsaturninhouse').value;1796 var houselord = document.getElementById('hd').value;1797 var lagnarashi = document.getElementById('Hasendrashi').value;1798 var housewithtill = suninhouse + "~" + mooninhouse + "~" + marsinhouse + "~" + mrecinhouse + "~" + jupinhouse + "~" + venusinhouse + "~" + saturninhouse + "~";1799 1800 if (document.getElementById('Radio1').checked == true) {1801 asendrashi = document.getElementById('Hasendrashi').value; 1802 }1803 if (document.getElementById('r1').checked == true) {1804 asendrashi="MOON"1805 }1806 var res = yogas.karya_sidhi(asendrashi, houselord, housewithtill, lagnarashi,callback_gridkayra);1807 1808 return false;1809}1810function callback_gridkayra(res) {1811 document.getElementById('img1').style.display = 'none';1812 record_show = 101813 record_show1 = 11814 var gg4 = 0;1815 exec_data = res.value;1816 var i = 01817 if (exec_data.Tables[0].Rows.length > 0) {1818 1819 document.getElementById('hdsviewgrid').innerHTML = "";1820 document.getElementById('Divgrid1').style.display = 'block';1821 document.getElementById('Divgrid1').style.BackColor = "Ivory";1822 var temp_del1 = "";1823 flg_req = "yes"1824 var aa1 = "";1825 var aa = "";1826 var hs = 0;1827 var hs1 = 0;1828 document.getElementById('hdsviewgrid').style.display = "block";1829 if (document.getElementById("hdsviewgrid").children.length == "0") {1830 klen = "0"1831 }1832 else {1833 klen = document.getElementById("Divgrid1").childNodes[0].childNodes[0].childNodes.length - 1;1834 IntializeNumber = klen + 1;1835 }1836 if (document.getElementById("hdsviewgrid").innerHTML.indexOf("width:100%;display:block") <= 0) {1837 aa = document.getElementById("hdsviewgrid").innerHTML.replace("</TBODY>", "")//</TABLE>","")1838 }1839 buf2 = "";1840 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='100%' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"1841 buf2 += "<tr>"1842 buf2 += "<td class='colum-td-head'>" +"Karya Siddhi Yoga" +"</td>"1843// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:300px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff;color:white;'>" + "PLANET" + "</td>"1844// buf2 += "<td bgcolor= #65b6fc style='height:10px;box-shadow: 2px 2px 5px #000;-webkit-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;font-weight:600; text-decoration:none;border:2px solid;width:200px;font-size:12px;font-weight:bold;text-align:left;border:1px solid #ffffff; color:white;'>" + "YOGA" + "</td>"1845 buf2 += "</tr>"1846 len = 1;1847 if (exec_data.Tables[0].Rows.length > 0) {1848 for (i = 0; i < exec_data.Tables[0].Rows.length; ++i) {1849 buf2 += "<tr>"1850 buf2 += "<td class='new_grid' >"1851 buf2 += "<font width='90px'>" + ((i+1+'. ')+exec_data.Tables[0].Rows[i]['LAGANA_LORD']) + "</font>"1852 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['LAGANA_LORD']) + "> has "1853// buf2 += "</td>"1854// buf2 += "<td class='new_grid'>"1855 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['KARYA_YOGA']) + "</font>"1856 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['KARYA_YOGA']) + "> with "1857// buf2 += "</td>"1858// buf2 += "<td class='new_grid' >"1859 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['KARYA_LORD']) + "</font>"1860 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['KARYA_LORD']) + ">"1861 buf2 += "</td>"1862 1863 buf2 += "</tr>"1864 }1865 }1866 buf2 += "</table>"1867 var hdsview = "";1868 temp_del1 = aa + buf2.toString();1869 temp_del1 = temp_del1.replace("<TBODY>", "")1870 temp_del1 = temp_del1.replace("</TBODY>", "")1871 //alert(temp_del1)1872 document.getElementById('hdsviewgrid').innerHTML = temp_del1;1873 }1874 else {1875 alert(" No Horary Yoga is formed for the Query Option ")1876 }1877 1878}1879function naktafun() {1880 document.getElementById('naktadiv').style.display = 'block';1881 document.getElementById('newhiddiv').style.display='none';1882 1883 return false;1884}1885function karyafun() {1886 document.getElementById('newhiddiv').style.display = 'block';1887 document.getElementById('naktadiv').style.display='none';1888 return false;1889}1890function naktayogaitc() {1891 var drop = document.getElementById('Hdrop1').value;1892 document.getElementById('img1').style.display = 'block';1893 var lagnarashi = document.getElementById('Hlagnarashi').value;1894 var degree = document.getElementById('Hdegree').value;1895 var house = document.getElementById('Hhouse').value;1896 var lordhouse = document.getElementById('naktadrop').value;1897 var newdegree = document.getElementById('Hdegreesecond').value;1898 1899 if (drop == 'Nakta Yoga') {1900 var res = yogas.datra_nakta(lagnarashi, degree, house, lordhouse, newdegree, callback_gridkayra);1901 }1902 else {1903 1904 var res = yogas.datra_yamya(lagnarashi, degree, house, lordhouse, newdegree, callback_gridkayra) }1905 1906 return false;1907}1908function open_div_button(id_var) {1909 var spl1 = id_var.split("_");1910 var spl2 = spl1[1];1911 var panethouse = "";1912 document.getElementById('clinetnamediv').style.display = 'none';1913 panethouse = document.getElementById(id_var).innerHTML;1914// panethouse = exec_data.Tables[0].Rows[spl2]['LORD'];1915// if (panethouse == "") {1916// panethouse = exec_data.Tables[0].Rows[spl2]['PLANET'];1917// }1918 var planet_house = panethouse.split("(");1919 var planet_spl = planet_house[0];1920 var spl_house = planet_house[1].split(")");1921 var spl_house_spl = spl_house[0];1922 var spl_house1 = spl_house_spl.slice(6);1923 spl_house1 = spl_house1.slice(2);1924 1925 var house_split = spl_house1.split("and");1926 var house1 = house_split[0];1927// house1 = trim(house1)1928 var house2 = "";1929 house2 = house_split[1];1930// house2 = trim(house2);1931 if (house2 == undefined) {1932 house2 = "";1933 1934 }1935 document.getElementById('clinetnamediv').style.display = 'block';1936 document.getElementById('planet_link').innerHTML = planet_spl;1937 document.getElementById('house1_link').innerHTML = house1;1938 document.getElementById('house2_link').innerHTML = house2;1939 1940}1941function creossdiv() {1942 document.getElementById('clinetnamediv').style.display = 'none';1943 document.getElementById('hdsviewgrid3').innerHTML = "";1944 return false;1945}1946function showshignificator() {1947 var datafortable = "";1948 datafortable = document.getElementById('planet_link').innerHTML;1949 var res = yogas.bindgirdfor(datafortable, callback_gridkayra1);1950 1951}1952function showshignificator_house() {1953 var datafortable = "";1954 datafortable = trim(document.getElementById('house1_link').innerHTML)1955 document.getElementById('hdsviewgrid3').innerHTML = "";1956 var res = yogas.bindgirdfor(datafortable, callback_gridkayra1);1957}1958function showshignificator_house2() {1959 var datafortable = "";1960 datafortable = trim(document.getElementById('house2_link').innerHTML)1961 document.getElementById('hdsviewgrid3').innerHTML = "";1962 1963 var res = yogas.bindgirdfor(datafortable, callback_gridkayra1);1964}1965function trim(val) {1966 val.replace(/^\s+|\s+$/g,'');1967 return val;1968}1969function callback_gridkayra1(res) {1970 document.getElementById('img1').style.display = 'none';1971 record_show = 101972 record_show1 = 11973 var gg4 = 0;1974 exec_data = res.value;1975 var i = 01976 if (exec_data.Tables[0].Rows.length > 0) {1977 1978 document.getElementById('hdsviewgrid3').innerHTML = "";1979 document.getElementById('Divgrid3').style.display = 'block';1980 document.getElementById('Divgrid3').style.BackColor = "Ivory";1981 var temp_del1 = "";1982 flg_req = "yes"1983 var aa1 = "";1984 var aa = "";1985 var hs = 0;1986 var hs1 = 0;1987 document.getElementById('hdsviewgrid3').style.display = "block";1988 if (document.getElementById("hdsviewgrid3").children.length == "0") {1989 klen = "0"1990 }1991 else {1992 klen = document.getElementById("Divgrid3").childNodes[0].childNodes[0].childNodes.length - 1;1993 IntializeNumber = klen + 1;1994 }1995 if (document.getElementById("hdsviewgrid3").innerHTML.indexOf("width:500px;display:block") <= 0) {1996 aa = document.getElementById("hdsviewgrid3").innerHTML.replace("</TBODY>", "")//</TABLE>","")1997 }1998 buf2 = "";1999 buf2 += "<table id='Divgrid3' runat='server' align='left' Width='500px' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"2000 buf2 += "<tr>"2001// buf2 += "<td class='colum-td-head' style=' text-align: center;'>" + "SIGNIFICATOR" + "</td>"2002// 2003// buf2 += "<td class='colum-td-head'>" + "."+"</td>"2004 2005 buf2 += "</tr>"2006 len = 1;2007 if (exec_data.Tables[0].Rows.length > 0) {2008 for (i = 0; i < exec_data.Tables[0].Rows.length; ++i) {2009 buf2 += "<tr>"2010 buf2 += "<td class='new_grid' >"2011 buf2 += "<font width='90px'>" + ((i + 1 + '. ') + exec_data.Tables[0].Rows[i]['SIGNIFICATOR']) + "</font>"2012 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['SIGNIFICATOR']) + "> "2013 buf2 += "</td>"2014 if (exec_data.Tables[0].Rows[i]['PLANET']==null)2015 {2016 }2017 else2018 {2019 buf2 += "<td class='new_grid'>"2020 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['PLANET']) + "</font>"2021 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['PLANET']) + "> "2022 buf2 += "</td>"2023 }2024 if (exec_data.Tables[0].Rows[i]['RASHI'] == null) {2025 }2026 else{2027 buf2 += "<td class='new_grid'>"2028 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['RASHI']) + "</font>"2029 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['RASHI']) + "> "2030 buf2 += "</td>"2031 }2032 if (exec_data.Tables[0].Rows[i]['HOUSE'] == null) {2033 }2034 else2035 {2036 buf2 += "<td class='new_grid'>"2037 buf2 += "<font width='90px'>" + (exec_data.Tables[0].Rows[i]['HOUSE']) + "</font>"2038 buf2 += "<input type='hidden' id=planets_" + i + " value =" + (exec_data.Tables[0].Rows[i]['HOUSE']) + "> "2039 buf2 += "</td>"2040 }2041 2042 buf2 += "</tr>"2043 }2044 }2045 buf2 += "</table>"2046 var hdsview = "";2047 temp_del1 = aa + buf2.toString();2048 temp_del1 = temp_del1.replace("<TBODY>", "")2049 temp_del1 = temp_del1.replace("</TBODY>", "")2050 //alert(temp_del1)2051 document.getElementById('hdsviewgrid3').innerHTML = temp_del1;2052 return false;2053 }2054 else {2055 alert('no data')2056 return false;2057 }2058}2059function cross_signi() {2060 document.getElementById('Divgrid3').style.display = 'none';2061 return false;2062}2063 function vargaschart11() {2064document.getElementById('vargasdiv').style.display="block";2065document.getElementById('Div2').style.display="none";2066document.getElementById('Div3').style.display="none";2067var vargas=document.getElementById('Hiddenva').value;2068var res = yogas.vargasvalue(vargas);2069callback_vargas(res);2070showvargas();2071return false;2072}2073function callback_vargas(val) {2074 record_show = 102075 record_show1 = 12076 var gg4 = 0;2077 var vds= val.value;2078 2079 var i = 02080 if (vds.Tables[0].Rows.length > 0) {2081 document.getElementById('dhdsviewgrid2').innerHTML = "";2082 document.getElementById('Div2').style.display = 'block';2083 document.getElementById('Div3').style.BackColor = "Ivory";2084 var temp_del1 = "";2085 flg_req = "yes"2086 var aa1 = "";2087 var aa = "";2088 var hs = 0;2089 var hs1 = 0;2090 document.getElementById('dhdsviewgrid2').style.display = "block";2091 if (document.getElementById("dhdsviewgrid2").children.length == "0") {2092 klen = "0"2093 }2094 else {2095 klen = document.getElementById("Div2").childNodes[0].childNodes[0].childNodes.length - 1;2096 IntializeNumber = klen + 1;2097 }2098 if (document.getElementById("dhdsviewgrid2").innerHTML.indexOf("width:600;display:block") <= 0) {2099 aa = document.getElementById("dhdsviewgrid2").innerHTML.replace("</TBODY>", "")//</TABLE>","")2100 }2101 buf2 = "";2102 buf2 += "<table id='Div2' runat='server' align='left' Width='600' height='0px' style='border:1px solid;border-color:#7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"2103 buf2 += "<tr>"2104 buf2 += "<td class='colum-td-head'>" + "PLANET" + "</td>"2105 buf2 += "<td class='colum-td-head'>" + "D1_HOUSE" + "</td>"2106 buf2 += "<td class='colum-td-head'>" + "D1_RASHI" + "</td>"2107 buf2 += "<td class='colum-td-head>" + "BIRTH_TIME" + "</td>"2108 buf2 += "<td class='colum-td-head'>" + "R" + "</td>"2109 buf2 += "<td class='colum-td-head>" + "DEGREE" + "</td>"2110 2111 buf2 += "<td class='colum-td-head>" + "D2_HOUSE" + "</td>"2112 buf2 += "<td class='colum-td-head>" + "D2_RASHI" + "</td>"2113 buf2 += "<td class='colum-td-head>" + "D3_HOUSE" + "</td>"2114 buf2 += "<td class='colum-td-head>" + "D3_RASHI" + "</td>"2115 buf2 += "<td class='colum-td-head>" + "D4_HOUSE" + "</td>"2116 buf2 += "<td class='colum-td-head>" + "D4_RASHI" + "</td>"2117 buf2 += "<td class='colum-td-head>" + "D5_HOUSE" + "</td>"2118 buf2 += "<td class='colum-td-head>" + "D5_RASHI" + "</td>"2119 buf2 += "<td class='colum-td-head>" + "D6_HOUSE" + "</td>"2120 buf2 += "<td class='colum-td-head>" + "D6_RASHI" + "</td>"2121 buf2 += "<td class='colum-td-head>" + "D7_HOUSE" + "</td>"2122 buf2 += "<td class='colum-td-head>" + "D7_RASHI" + "</td>"2123 buf2 += "<td class='colum-td-head>" + "D8_HOUSE" + "</td>"2124 buf2 += "<td class='colum-td-head>" + "D8_RASHI" + "</td>"2125 buf2 += "<td class='colum-td-head>" + "D9_HOUSE" + "</td>"2126 buf2 += "<td class='colum-td-head>" + "D9_RASHI" + "</td>"2127 buf2 += "<td class='colum-td-head>" + "D10_HOUSE" + "</td>"2128 buf2 += "<td class='colum-td-head'>" + "D10_RASHI" + "</td>"2129 buf2 += "<td class='colum-td-head>" + "D11_HOUSE" + "</td>"2130 buf2 += "<td class='colum-td-head>" + "D11_RASHI" + "</td>"2131 buf2 += "<td class='colum-td-head>" + "D12_HOUSE" + "</td>"2132 buf2 += "<td class='colum-td-head>" + "D12_RASHI" + "</td>"2133 buf2 += "<td class='colum-td-head>" + "D16_HOUSE" + "</td>"2134 buf2 += "<td class='colum-td-head>" + "D16_RASHI" + "</td>"2135 buf2 += "<td class='colum-td-head>" + "D20_HOUSE" + "</td>"2136 buf2 += "<td class='colum-td-head>" + "D20_RASHI" + "</td>"2137 buf2 += "<td class='colum-td-head>" + "D24_HOUSE" + "</td>"2138 buf2 += "<td class='colum-td-head>" + "D24_RASHI" + "</td>"2139 buf2 += "<td class='colum-td-head>" + "D27_HOUSE" + "</td>"2140 buf2 += "<td class='colum-td-head>" + "D27_RASHI" + "</td>"2141 buf2 += "<td class='colum-td-head>" + "D30_HOUSE" + "</td>"2142 buf2 += "<td class='colum-td-head>" + "D30_RASHI" + "</td>"2143 buf2 += "<td class='colum-td-head>" + "D40_HOUSE" + "</td>"2144 buf2 += "<td class='colum-td-head>" + "D40_RASHI" + "</td>"2145 buf2 += "<td class='colum-td-head>" + "D45_HOUSE" + "</td>"2146 buf2 += "<td class='colum-td-head>" + "D45_RASHI" + "</td>"2147 buf2 += "<td class='colum-td-head>" + "D60_HOUSE" + "</td>"2148 buf2 += "<td class='colum-td-head>" + "D60_RASHI" + "</td>"2149 buf2 += "<td class='colum-td-head>" + "SHASHTYAMSHA_NAME" + "</td>"2150 buf2 += "<td class='colum-td-head>" + "D60_NATURE" + "</td>"2151 buf2 += "<td class='colum-td-head>" + "KARAKAMSHA_HOUSE" + "</td>"2152 buf2 += "<td class='colum-td-head>" + "KARAKAMSHA_RASHI" + "</td>"2153 buf2 += "</tr>"2154 len = 1;2155 if (vds.Tables[0].Rows.length > 0) {2156 for (i = 0; i < vds.Tables[0].Rows.length; ++i) {2157 buf2 += "<tr>"2158// buf2 += "<td style='border:0px solid #7DAAE3;' align='left'> "2159// buf2 += "<label style='width:90px; font-family:helvetica;' class='dropdown_large_corr'; align='left' Text='" + exec_data.Tables[0].Rows[i]['PLANET'] + "' id=planets_" + i + " >"2160// buf2 += "</td>"2161 2162 2163 buf2 += "<td class='colum-td-new1' >"2164 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['PLANET']) + "</font>"2165 buf2 +="<input type='hidden' id=planetsy_" + i + " value =" + (vds.Tables[0].Rows[i]['PLANET'])+">"2166 buf2 += "</td>"2167 2168 2169 buf2 += "<td class='colum-td-new1' >"2170 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D1_HOUSE']) + "</font>"2171 buf2 +="<input type='hidden' id=house_" + i + " value =" + (vds.Tables[0].Rows[i]['D1_HOUSE'])+">"2172 buf2 += "</td>"2173 buf2 += "<td class='colum-td-new1' >"2174 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D1_RASHI']) + "</font>"2175 buf2 +="<input type='hidden' id=rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D1_RASHI'])+">"2176 buf2 += "</td>"2177 2178 buf2 += "<td style='width:150px;'class='dropdown_large_corr2'; align='left' >"2179 buf2 += "<font width='150px'>" +(vds.Tables[0].Rows[i]['BIRTH_TIME']) + "</font>"2180 buf2 +="<input type='hidden' id=birth_" + i + " value =" + (vds.Tables[0].Rows[i]['BIRTH_TIME'])+">"2181 buf2 += "</td>"2182 2183 buf2 += "<td class='colum-td-new1'>"2184 if (vds.Tables[0].Rows[i]['RETRO'] == null) {2185 buf2 += "<font width='90px'></font>"2186 buf2 += "<input type='hidden' id=retrograde_" + i + " >"2187 buf2 += "</td>"2188 }2189 else {2190 buf2 += "<font width='90px'>" + (vds.Tables[0].Rows[i]['RETRO']) + "</font>"2191 buf2 += "<input type='hidden' id=retrograde_" + i + " value =" + (vds.Tables[0].Rows[i]['RETRO']) + ">"2192 buf2 += "</td>"2193 }2194 buf2 += "<td class='colum-td-new1' >"2195 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['DEGREE']) + "</font>"2196 buf2 +="<input type='hidden' id=degree_" + i + " value =" + (vds.Tables[0].Rows[i]['DEGREE'])+">"2197 buf2 += "</td>"2198 2199 buf2 += "<td class='colum-td-new1' >"2200 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D2_HOUSE']) + "</font>"2201 buf2 +="<input type='hidden' id=d2house_" + i + " value =" + (vds.Tables[0].Rows[i]['D2_HOUSE'])+">"2202 buf2 += "</td>"2203 2204 buf2 += "<td class='colum-td-new1' >"2205 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D2_RASHI']) + "</font>"2206 buf2 +="<input type='hidden' id=d2rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D2_RASHI'])+">"2207 buf2 += "</td>"2208 2209 buf2 += "<td class='colum-td-new1' >"2210 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D3_HOUSE']) + "</font>"2211 buf2 +="<input type='hidden' id=d3house_" + i + " value =" + (vds.Tables[0].Rows[i]['D3_HOUSE'])+">"2212 buf2 += "</td>"2213 2214 buf2 += "<td class='colum-td-new1' >"2215 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D3_RASHI']) + "</font>"2216 buf2 +="<input type='hidden' id=d3rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D3_RASHI'])+">"2217 buf2 += "</td>"2218 2219 buf2 += "<td class='colum-td-new1' >"2220 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D4_HOUSE']) + "</font>"2221 buf2 +="<input type='hidden' id=d4house_" + i + " value =" + (vds.Tables[0].Rows[i]['D4_HOUSE'])+">"2222 buf2 += "</td>"2223 2224 buf2 += "<td class='colum-td-new1' >"2225 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D4_RASHI']) + "</font>"2226 buf2 +="<input type='hidden' id=d4rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D4_RASHI'])+">"2227 buf2 += "</td>"2228 2229 buf2 += "<td class='colum-td-new1' >"2230 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D5_HOUSE']) + "</font>"2231 buf2 +="<input type='hidden' id=d5house_" + i + " value =" + (vds.Tables[0].Rows[i]['D5_HOUSE'])+">"2232 buf2 += "</td>"2233 2234 buf2 += "<td class='colum-td-new1' >"2235 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D5_RASHI']) + "</font>"2236 buf2 +="<input type='hidden' id=d5rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D5_RASHI'])+">"2237 buf2 += "</td>"2238 2239 buf2 += "<td class='colum-td-new1' >"2240 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D6_HOUSE']) + "</font>"2241 buf2 +="<input type='hidden' id=d6house_" + i + " value =" + (vds.Tables[0].Rows[i]['D6_HOUSE'])+">"2242 buf2 += "</td>"2243 2244 buf2 += "<td class='colum-td-new1' >"2245 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D6_RASHI']) + "</font>"2246 buf2 +="<input type='hidden' id=d6rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D6_RASHI'])+">"2247 buf2 += "</td>"2248 2249 buf2 += "<td class='colum-td-new1' >"2250 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D7_HOUSE']) + "</font>"2251 buf2 +="<input type='hidden' id=d7house_" + i + " value =" + (vds.Tables[0].Rows[i]['D7_HOUSE'])+">"2252 buf2 += "</td>"2253 2254 buf2 += "<td class='colum-td-new1' >"2255 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D7_RASHI']) + "</font>"2256 buf2 +="<input type='hidden' id=d7rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D7_RASHI'])+">"2257 buf2 += "</td>"2258 2259 buf2 += "<td class='colum-td-new1' >"2260 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D8_HOUSE']) + "</font>"2261 buf2 +="<input type='hidden' id=d8house_" + i + " value =" + (vds.Tables[0].Rows[i]['D8_HOUSE'])+">"2262 buf2 += "</td>"2263 2264 buf2 += "<td class='colum-td-new1' >"2265 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D8_RASHI']) + "</font>"2266 buf2 +="<input type='hidden' id=d8rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D8_RASHI'])+">"2267 buf2 += "</td>"2268 2269 buf2 += "<td class='colum-td-new1' >"2270 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D9_HOUSE']) + "</font>"2271 buf2 +="<input type='hidden' id=d9house_" + i + " value =" + (vds.Tables[0].Rows[i]['D9_HOUSE'])+">"2272 buf2 += "</td>"2273 2274 buf2 += "<td class='colum-td-new1' >"2275 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D9_RASHI']) + "</font>"2276 buf2 +="<input type='hidden' id=d9rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D9_RASHI'])+">"2277 buf2 += "</td>"2278 2279 buf2 += "<td class='colum-td-new1' >"2280 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D10_HOUSE']) + "</font>"2281 buf2 +="<input type='hidden' id=d10house_" + i + " value =" + (vds.Tables[0].Rows[i]['D10_HOUSE'])+">"2282 buf2 += "</td>"2283 buf2 += "<td class='colum-td-new1' >"2284 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D10_RASHI']) + "</font>"2285 buf2 +="<input type='hidden' id=d10rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D10_RASHI'])+">"2286 buf2 += "</td>"2287 2288 buf2 += "<td class='colum-td-new1' >"2289 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D11_HOUSE']) + "</font>"2290 buf2 +="<input type='hidden' id=d11house_" + i + " value =" + (vds.Tables[0].Rows[i]['D11_HOUSE'])+">"2291 buf2 += "</td>"2292 2293 buf2 += "<td class='colum-td-new1' >"2294 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D11_RASHI']) + "</font>"2295 buf2 +="<input type='hidden' id=d11rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D11_RASHI'])+">"2296 buf2 += "</td>"2297 2298 buf2 += "<td class='colum-td-new1' >"2299 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D12_HOUSE']) + "</font>"2300 buf2 +="<input type='hidden' id=d12house_" + i + " value =" + (vds.Tables[0].Rows[i]['D12_HOUSE'])+">"2301 buf2 += "</td>"2302 2303 buf2 += "<td class='colum-td-new1' >"2304 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D12_RASHI']) + "</font>"2305 buf2 +="<input type='hidden' id=d12rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D12_RASHI'])+">"2306 buf2 += "</td>"2307 2308 buf2 += "<td class='colum-td-new1' >"2309 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D16_HOUSE']) + "</font>"2310 buf2 +="<input type='hidden' id=d16house_" + i + " value =" + (vds.Tables[0].Rows[i]['D16_HOUSE'])+">"2311 buf2 += "</td>"2312 2313 buf2 += "<td class='colum-td-new1' >"2314 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D16_RASHI']) + "</font>"2315 buf2 +="<input type='hidden' id=d16rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D16_RASHI'])+">"2316 buf2 += "</td>"2317 2318 buf2 += "<td class='colum-td-new1' >"2319 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D20_HOUSE']) + "</font>"2320 buf2 +="<input type='hidden' id=d20house_" + i + " value =" + (vds.Tables[0].Rows[i]['D20_HOUSE'])+">"2321 buf2 += "</td>"2322 2323 buf2 += "<td class='colum-td-new1' >"2324 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D20_RASHI']) + "</font>"2325 buf2 +="<input type='hidden' id=d20rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D20_RASHI'])+">"2326 buf2 += "</td>"2327 2328 buf2 += "<td class='colum-td-new1' >"2329 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D24_HOUSE']) + "</font>"2330 buf2 +="<input type='hidden' id=d24house_" + i + " value =" + (vds.Tables[0].Rows[i]['D24_HOUSE'])+">"2331 buf2 += "</td>"2332 2333 buf2 += "<td class='colum-td-new1' >"2334 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D24_RASHI']) + "</font>"2335 buf2 +="<input type='hidden' id=d24rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D24_RASHI'])+">"2336 buf2 += "</td>"2337 2338 buf2 += "<td class='colum-td-new1' >"2339 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D27_HOUSE']) + "</font>"2340 buf2 +="<input type='hidden' id=d27house_" + i + " value =" + (vds.Tables[0].Rows[i]['D27_HOUSE'])+">"2341 buf2 += "</td>"2342 2343 buf2 += "<td class='colum-td-new1' >"2344 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D27_RASHI']) + "</font>"2345 buf2 +="<input type='hidden' id=d27rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D27_RASHI'])+">"2346 buf2 += "</td>"2347 2348 buf2 += "<td class='colum-td-new1' >"2349 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D30_HOUSE']) + "</font>"2350 buf2 +="<input type='hidden' id=d30house_" + i + " value =" + (vds.Tables[0].Rows[i]['D30_HOUSE'])+">"2351 buf2 += "</td>"2352 2353 buf2 += "<td class='colum-td-new1' >"2354 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D30_RASHI']) + "</font>"2355 buf2 +="<input type='hidden' id=d30rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D30_RASHI'])+">"2356 buf2 += "</td>"2357 2358 buf2 += "<td class='colum-td-new1' >"2359 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D40_HOUSE']) + "</font>"2360 buf2 +="<input type='hidden' id=d40house_" + i + " value =" + (vds.Tables[0].Rows[i]['D40_HOUSE'])+">"2361 buf2 += "</td>"2362 2363 buf2 += "<td class='colum-td-new1' >"2364 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D40_RASHI']) + "</font>"2365 buf2 +="<input type='hidden' id=d40rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D40_RASHI'])+">"2366 buf2 += "</td>"2367 2368 2369 buf2 += "<td class='colum-td-new1' >"2370 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D45_HOUSE']) + "</font>"2371 buf2 +="<input type='hidden' id=d45house_" + i + " value =" + (vds.Tables[0].Rows[i]['D45_HOUSE'])+">"2372 buf2 += "</td>"2373 2374 buf2 += "<td class='colum-td-new1' >"2375 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D45_RASHI']) + "</font>"2376 buf2 +="<input type='hidden' id=d45rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D45_RASHI'])+">"2377 buf2 += "</td>"2378 2379 buf2 += "<td class='colum-td-new1' >"2380 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D60_HOUSE']) + "</font>"2381 buf2 +="<input type='hidden' id=d60house_" + i + " value =" + (vds.Tables[0].Rows[i]['D60_HOUSE'])+">"2382 buf2 += "</td>"2383 2384 buf2 += "<td class='colum-td-new1' >"2385 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D60_RASHI']) + "</font>"2386 buf2 +="<input type='hidden' id=d60rashi_" + i + " value =" + (vds.Tables[0].Rows[i]['D60_RASHI'])+">"2387 buf2 += "</td>"2388 2389 2390 buf2 += "<td class='colum-td-new1' >"2391 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['SHASHTYAMSHA_NAME']) + "</font>"2392 buf2 +="<input type='hidden' id=d60shash_" + i + " value =" + (vds.Tables[0].Rows[i]['SHASHTYAMSHA_NAME'])+">"2393 buf2 += "</td>"2394 2395 2396 buf2 += "<td class='colum-td-new1' >"2397 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['D60_NATURE']) + "</font>"2398 buf2 +="<input type='hidden' id=d60nature_" + i + " value =" + (vds.Tables[0].Rows[i]['D60_NATURE'])+">"2399 buf2 += "</td>"2400 2401 2402 2403 buf2 += "<td class='colum-td-new1' >"2404 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['KARAKAMSHA_HOUSE']) + "</font>"2405 buf2 +="<input type='hidden' id=karkahouse_" + i + " value =" + (vds.Tables[0].Rows[i]['KARAKAMSHA_HOUSE'])+">"2406 buf2 += "</td>"2407 buf2 += "<td class='colum-td-new1' >"2408 buf2 += "<font width='90px'>" +(vds.Tables[0].Rows[i]['KARAKAMSHA_RASHI']) + "</font>"2409 buf2 +="<input type='hidden' id=karkarashi_" + i + " value =" + (vds.Tables[0].Rows[i]['KARAKAMSHA_RASHI'])+">"2410 buf2 += "</td>"2411 buf2 += "</td>"2412 2413 buf2 += "</tr>"2414 }2415 }2416 buf2 += "</table>"2417 var hdsview = "";2418 temp_del1 = aa + buf2.toString();2419 temp_del1 = temp_del1.replace("<TBODY>", "")2420 temp_del1 = temp_del1.replace("</TBODY>", "")2421 //alert(temp_del1)2422 document.getElementById('dhdsviewgrid2').innerHTML = temp_del1;2423 document.getElementById('vargaschart').style.display="block";2424document.getElementById('labchart').style.display="block";2425document.getElementById('Div2').style.display="none";2426 }2427 2428}2429function showvargas() {2430 document.getElementById('vargasdiv').style.display = "block";2431 var p1 = "";2432 var p2 = "";2433 var p3 = "";2434 var p4 = "";2435 var p5 = "";2436 var p6 = "";2437 var p7 = "";2438 var p8 = "";2439 var p9 = "";2440 var p10 = "";2441 var p11 = "";2442 var p12 = "";2443 var j1 = "";2444 var j2 = "";2445 var j3 = "";2446 var j4 = "";2447 var j5 = "";2448 var j6 = "";2449 var j7 = "";2450 var j8 = "";2451 var j9 = "";2452 var j10 = "";2453 var j11 = "";2454 var j12 = "";2455 var h1 = "";2456 var r1 = "";2457 var h2 = "";2458 var r2 = "";2459 var h3 = "";2460 var r3 = "";2461 var h4 = "";2462 var r4 = "";2463 var h5 = "";2464 var r5 = "";2465 var h6 = "";2466 var r6 = "";2467 var h7 = "";2468 var r7 = "";2469 var h8 = "";2470 var r8 = "";2471 var h9 = "";2472 var r9 = "";2473 var h10 = "";2474 var r10 = "";2475 var h11 = "";2476 var r11 = "";2477 var h12 = "";2478 var r12 = "";2479 var deg = "";2480 var deg1 = "";2481 var chartname = 'D01'2482 document.getElementById('rashiid').style.display = "block";2483 document.getElementById('vargaschart').value = 'D01'2484 if (document.getElementById('vargaschart').value == 'D01')2485 {2486 2487 for (var i = 1; i < 11; i++) {2488 document.getElementById('Hidden8').value = i;2489 var h = document.getElementById('house_' + i).value2490 var r = document.getElementById('rashi_' + 0).value2491 if (document.getElementById('retrograde_' + i).value == "0" || document.getElementById('retrograde_' + i).value == "B") {2492 document.getElementById('retrograde_' + i).innerHTML = "";2493 document.getElementById('retrograde_' + i).value="";2494 }2495 if (h == 'HOUSE1') {2496 deg = document.getElementById('degree_' + i).value.split('.');2497 deg1 = deg[0] + '.' + deg[1];2498 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2499 j1 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2500 }2501 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2502 j1 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2503 }2504 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2505 j1 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2506 }2507 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2508 j1 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2509 }2510 if (document.getElementById('planetsy_' + i).value == 'SUN') {2511 j1 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2512 }2513 if (document.getElementById('planetsy_' + i).value == 'MOON') {2514 j1 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2515 }2516 if (document.getElementById('planetsy_' + i).value == 'MARS') {2517 j1 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2518 }2519 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2520 j1 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2521 }2522 if (document.getElementById('planetsy_' + i).value == 'KETU') {2523 j1 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2524 }2525 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2526 j1 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2527 }2528 h1 = h1 + j1 + " ";2529 }2530 if (h == 'HOUSE2') {2531 deg = document.getElementById('degree_' + i).value.split('.');2532 deg1 = deg[0] + '.' + deg[1];2533 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2534 j2 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2535 }2536 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2537 j2 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2538 }2539 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2540 j2 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2541 }2542 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2543 j2 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2544 }2545 if (document.getElementById('planetsy_' + i).value == 'SUN') {2546 j2 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2547 }2548 if (document.getElementById('planetsy_' + i).value == 'MOON') {2549 j2 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2550 }2551 if (document.getElementById('planetsy_' + i).value == 'MARS') {2552 j2 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2553 }2554 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2555 j2 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2556 }2557 if (document.getElementById('planetsy_' + i).value == 'KETU') {2558 j2 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2559 }2560 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2561 j2 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2562 }2563 h2 = h2 + j2 + " ";2564 }2565 if (h == 'HOUSE3') {2566 deg = document.getElementById('degree_' + i).value.split('.');2567 deg1 = deg[0] + '.' + deg[1];2568 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2569 j3 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2570 }2571 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2572 j3 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2573 }2574 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2575 j3 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2576 }2577 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2578 j3 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2579 }2580 if (document.getElementById('planetsy_' + i).value == 'SUN') {2581 j3 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2582 }2583 if (document.getElementById('planetsy_' + i).value == 'MOON') {2584 j3 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2585 }2586 if (document.getElementById('planetsy_' + i).value == 'MARS') {2587 j3 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2588 }2589 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2590 j3 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2591 }2592 if (document.getElementById('planetsy_' + i).value == 'KETU') {2593 j3 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2594 }2595 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2596 j3 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2597 }2598 h3 = h3 + j3 + " ";2599 }2600 if (h == 'HOUSE4') {2601 deg = document.getElementById('degree_' + i).value.split('.');2602 deg1 = deg[0] + '.' + deg[1];2603 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2604 j4 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2605 }2606 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2607 j4 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2608 }2609 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2610 j4 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2611 }2612 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2613 j4 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2614 }2615 if (document.getElementById('planetsy_' + i).value == 'SUN') {2616 j4 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2617 }2618 if (document.getElementById('planetsy_' + i).value == 'MOON') {2619 j4 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2620 }2621 if (document.getElementById('planetsy_' + i).value == 'MARS') {2622 j4 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2623 }2624 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2625 j4 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2626 }2627 if (document.getElementById('planetsy_' + i).value == 'KETU') {2628 j4 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2629 }2630 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2631 j4 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2632 }2633 h4 = h4 + j4 + " ";2634 }2635 if (h == 'HOUSE5') {2636 deg = document.getElementById('degree_' + i).value.split('.');2637 deg1 = deg[0] + '.' + deg[1];2638 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2639 j5 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2640 }2641 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2642 j5 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2643 }2644 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2645 j5 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2646 }2647 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2648 j5 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2649 }2650 if (document.getElementById('planetsy_' + i).value == 'SUN') {2651 j5 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2652 }2653 if (document.getElementById('planetsy_' + i).value == 'MOON') {2654 j5 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2655 }2656 if (document.getElementById('planetsy_' + i).value == 'MARS') {2657 j5 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2658 }2659 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2660 j5 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2661 }2662 if (document.getElementById('planetsy_' + i).value == 'KETU') {2663 j5 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2664 }2665 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2666 j5 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2667 }2668 h5 = h5 + j5 + " ";2669 }2670 if (h == 'HOUSE6') {2671 deg = document.getElementById('degree_' + i).value.split('.');2672 deg1 = deg[0] + '.' + deg[1];2673 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2674 j6 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2675 }2676 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2677 j6 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2678 }2679 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2680 j6 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2681 }2682 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2683 j6 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2684 }2685 if (document.getElementById('planetsy_' + i).value == 'SUN') {2686 j6 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2687 }2688 if (document.getElementById('planetsy_' + i).value == 'MOON') {2689 j6 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2690 }2691 if (document.getElementById('planetsy_' + i).value == 'MARS') {2692 j6 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2693 }2694 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2695 j6 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2696 }2697 if (document.getElementById('planetsy_' + i).value == 'KETU') {2698 j6 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2699 }2700 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2701 j6 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2702 }2703 h6 = h6 + j6 + " ";2704 }2705 if (h == 'HOUSE7') {2706 deg = document.getElementById('degree_' + i).value.split('.');2707 deg1 = deg[0] + '.' + deg[1];2708 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2709 j7 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2710 }2711 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2712 j7 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2713 }2714 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2715 j7 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2716 }2717 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2718 j7 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2719 }2720 if (document.getElementById('planetsy_' + i).value == 'SUN') {2721 j7 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2722 }2723 if (document.getElementById('planetsy_' + i).value == 'MOON') {2724 j7 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2725 }2726 if (document.getElementById('planetsy_' + i).value == 'MARS') {2727 j7 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2728 }2729 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2730 j7 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2731 }2732 if (document.getElementById('planetsy_' + i).value == 'KETU') {2733 j7 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2734 }2735 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2736 j7 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2737 }2738 h7 = h7 + j7 + " ";2739 }2740 if (h == 'HOUSE8') {2741 deg = document.getElementById('degree_' + i).value.split('.');2742 deg1 = deg[0] + '.' + deg[1];2743 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2744 j8 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2745 }2746 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2747 j8 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2748 }2749 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2750 j8 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2751 }2752 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2753 j8 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2754 }2755 if (document.getElementById('planetsy_' + i).value == 'SUN') {2756 j8 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2757 }2758 if (document.getElementById('planetsy_' + i).value == 'MOON') {2759 j8 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2760 }2761 if (document.getElementById('planetsy_' + i).value == 'MARS') {2762 j8 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2763 }2764 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2765 j8 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2766 }2767 if (document.getElementById('planetsy_' + i).value == 'KETU') {2768 j8 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2769 }2770 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2771 j8 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2772 }2773 h8 = h8 + j8 + " ";2774 }2775 if (h == 'HOUSE9') {2776 deg = document.getElementById('degree_' + i).value.split('.');2777 deg1 = deg[0] + '.' + deg[1];2778 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2779 j9 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2780 }2781 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2782 j9 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2783 }2784 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2785 j9 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2786 }2787 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2788 j9 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2789 }2790 if (document.getElementById('planetsy_' + i).value == 'SUN') {2791 j9 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2792 }2793 if (document.getElementById('planetsy_' + i).value == 'MOON') {2794 j9 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2795 }2796 if (document.getElementById('planetsy_' + i).value == 'MARS') {2797 j9 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2798 }2799 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2800 j9 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2801 }2802 if (document.getElementById('planetsy_' + i).value == 'KETU') {2803 j9 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2804 }2805 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2806 j9 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2807 }2808 h9 = h9 + j9 + " ";2809 }2810 if (h == 'HOUSE10') {2811 deg = document.getElementById('degree_' + i).value.split('.');2812 deg1 = deg[0] + '.' + deg[1];2813 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2814 j10 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2815 }2816 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2817 j10 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2818 }2819 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2820 j10 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2821 }2822 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2823 j10 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2824 }2825 if (document.getElementById('planetsy_' + i).value == 'SUN') {2826 j10 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2827 }2828 if (document.getElementById('planetsy_' + i).value == 'MOON') {2829 j10 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2830 }2831 if (document.getElementById('planetsy_' + i).value == 'MARS') {2832 j10 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2833 }2834 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2835 j10 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2836 }2837 if (document.getElementById('planetsy_' + i).value == 'KETU') {2838 j10 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2839 }2840 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2841 j10 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2842 }2843 h10 = h10 + j10 + " ";2844 }2845 if (h == 'HOUSE11') {2846 deg = document.getElementById('degree_' + i).value.split('.');2847 deg1 = deg[0] + '.' + deg[1];2848 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2849 j11 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2850 }2851 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2852 j11 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2853 }2854 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2855 j11 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2856 }2857 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2858 j11 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2859 }2860 if (document.getElementById('planetsy_' + i).value == 'SUN') {2861 j11 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2862 }2863 if (document.getElementById('planetsy_' + i).value == 'MOON') {2864 j11 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2865 }2866 if (document.getElementById('planetsy_' + i).value == 'MARS') {2867 j11 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2868 }2869 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2870 j11 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2871 }2872 if (document.getElementById('planetsy_' + i).value == 'KETU') {2873 j11 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2874 }2875 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2876 j11 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2877 }2878 h11 = h11 + j11 + " ";2879 }2880 if (h == 'HOUSE12') {2881 deg = document.getElementById('degree_' + i).value.split('.');2882 deg1 = deg[0] + '.' + deg[1];2883 if (document.getElementById('planetsy_' + i).value == 'MERCURY') {2884 j12 = 'Me' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2885 }2886 if (document.getElementById('planetsy_' + i).value == 'JUPITER') {2887 j12 = 'Ju' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2888 }2889 if (document.getElementById('planetsy_' + i).value == 'VENUS') {2890 j12 = 'Ve' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2891 }2892 if (document.getElementById('planetsy_' + i).value == 'SATURN') {2893 j12 = 'Sa' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2894 }2895 if (document.getElementById('planetsy_' + i).value == 'SUN') {2896 j12 = 'Su' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2897 }2898 if (document.getElementById('planetsy_' + i).value == 'MOON') {2899 j12 = 'Mo' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2900 }2901 if (document.getElementById('planetsy_' + i).value == 'MARS') {2902 j12 = 'Ma' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2903 }2904 if (document.getElementById('planetsy_' + i).value == 'RAHU') {2905 j12 = 'Ra' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2906 }2907 if (document.getElementById('planetsy_' + i).value == 'KETU') {2908 j12 = 'Ke' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2909 }2910 if (document.getElementById('planetsy_' + i).value == 'GULIKA') {2911 j12 = 'Gk' + '<span style=color:#f90914>' + document.getElementById('retrograde_' + i).value + '</span>' + " " + '<span style=color:#f90914>' + deg1 + '</span>';2912 }2913 h12 = h12 + j12 + " ";2914 }2915 }2916 if (r == 'Aries') {2917 r1 = '1'2918 r2 = parseInt(r1) + parseInt(1);2919 r3 = parseInt(r2) + parseInt(1);2920 r4 = parseInt(r3) + parseInt(1);2921 r5 = parseInt(r4) + parseInt(1);2922 r6 = parseInt(r5) + parseInt(1);2923 r7 = parseInt(r6) + parseInt(1);2924 r8 = parseInt(r7) + parseInt(1);2925 r9 = parseInt(r8) + parseInt(1);2926 r10 = parseInt(r9) + parseInt(1);2927 r11 = parseInt(r10) + parseInt(1);2928 r12 = parseInt(r11) + parseInt(1);2929 }2930 if (r == 'Taurus') {2931 r1 = '2'2932 r2 = parseInt(r1) + parseInt(1);2933 r3 = parseInt(r2) + parseInt(1);2934 r4 = parseInt(r3) + parseInt(1);2935 r5 = parseInt(r4) + parseInt(1);2936 r6 = parseInt(r5) + parseInt(1);2937 r7 = parseInt(r6) + parseInt(1);2938 r8 = parseInt(r7) + parseInt(1);2939 r9 = parseInt(r8) + parseInt(1);2940 r10 = parseInt(r9) + parseInt(1);2941 r11 = parseInt(r10) + parseInt(1);2942 r12 = '1';2943 }2944 if (r == 'Gemini') {2945 r1 = '3'2946 r2 = parseInt(r1) + parseInt(1);2947 r3 = parseInt(r2) + parseInt(1);2948 r4 = parseInt(r3) + parseInt(1);2949 r5 = parseInt(r4) + parseInt(1);2950 r6 = parseInt(r5) + parseInt(1);2951 r7 = parseInt(r6) + parseInt(1);2952 r8 = parseInt(r7) + parseInt(1);2953 r9 = parseInt(r8) + parseInt(1);2954 r10 = parseInt(r9) + parseInt(1);2955 r11 = '1';2956 r12 = '2';2957 }2958 if (r == 'Cancer') {2959 r1 = '4'2960 r2 = parseInt(r1) + parseInt(1);2961 r3 = parseInt(r2) + parseInt(1);2962 r4 = parseInt(r3) + parseInt(1);2963 r5 = parseInt(r4) + parseInt(1);2964 r6 = parseInt(r5) + parseInt(1);2965 r7 = parseInt(r6) + parseInt(1);2966 r8 = parseInt(r7) + parseInt(1);2967 r9 = parseInt(r8) + parseInt(1);2968 r10 = '1';2969 r11 = '2';2970 r12 = '3';2971 }2972 if (r == 'Leo') {2973 r1 = '5'2974 r2 = parseInt(r1) + parseInt(1);2975 r3 = parseInt(r2) + parseInt(1);2976 r4 = parseInt(r3) + parseInt(1);2977 r5 = parseInt(r4) + parseInt(1);2978 r6 = parseInt(r5) + parseInt(1);2979 r7 = parseInt(r6) + parseInt(1);2980 r8 = parseInt(r7) + parseInt(1);2981 r9 = '1';2982 r10 = '2';2983 r11 = '3';2984 r12 = '4';2985 }2986 if (r == 'Virgo') {2987 r1 = '6'2988 r2 = parseInt(r1) + parseInt(1);2989 r3 = parseInt(r2) + parseInt(1);2990 r4 = parseInt(r3) + parseInt(1);2991 r5 = parseInt(r4) + parseInt(1);2992 r6 = parseInt(r5) + parseInt(1);2993 r7 = parseInt(r6) + parseInt(1);2994 r8 = '1'2995 r9 = '2'2996 r10 = '3'2997 r11 = '4'2998 r12 = '5'2999 }3000 if (r == 'Libra') {3001 r1 = '7'3002 r2 = parseInt(r1) + parseInt(1);3003 r3 = parseInt(r2) + parseInt(1);3004 r4 = parseInt(r3) + parseInt(1);3005 r5 = parseInt(r4) + parseInt(1);3006 r6 = parseInt(r5) + parseInt(1);3007 r7 = parseInt(r6) - parseInt(11);3008 r8 = parseInt(r7) + parseInt(1);3009 r9 = parseInt(r8) + parseInt(1);3010 r10 = parseInt(r9) + parseInt(1);3011 r11 = parseInt(r10) + parseInt(1);3012 r12 = parseInt(r11) + parseInt(1);3013 }3014 if (r == 'Scorpio') {3015 r1 = '8'3016 r2 = parseInt(r1) + parseInt(1);3017 r3 = parseInt(r2) + parseInt(1);3018 r4 = parseInt(r3) + parseInt(1);3019 r5 = parseInt(r4) + parseInt(1);3020 r6 = parseInt(r5) - parseInt(11);3021 r7 = parseInt(r6) + parseInt(1);3022 r8 = parseInt(r7) + parseInt(1);3023 r9 = parseInt(r8) + parseInt(1);3024 r10 = parseInt(r9) + parseInt(1);3025 r11 = parseInt(r10) + parseInt(1);3026 r12 = parseInt(r11) + parseInt(1);3027 }3028 if (r == 'Sagittarius') {3029 r1 = '9'3030 r2 = parseInt(r1) + parseInt(1);3031 r3 = parseInt(r2) + parseInt(1);3032 r4 = parseInt(r3) + parseInt(1);3033 r5 = parseInt(r4) - parseInt(11);3034 r6 = parseInt(r5) + parseInt(1);3035 r7 = parseInt(r6) + parseInt(1);3036 r8 = parseInt(r7) + parseInt(1);3037 r9 = parseInt(r8) + parseInt(1);3038 r10 = parseInt(r9) + parseInt(1);3039 r11 = parseInt(r10) + parseInt(1);3040 r12 = parseInt(r11) + parseInt(1);3041 }3042 if (r == 'Capricorn') {3043 r1 = '10'3044 r2 = parseInt(r1) + parseInt(1);3045 r3 = parseInt(r2) + parseInt(1);3046 r4 = parseInt(r3) - parseInt(11);3047 r5 = parseInt(r4) + parseInt(1);3048 r6 = parseInt(r5) + parseInt(1);3049 r7 = parseInt(r6) + parseInt(1);3050 r8 = parseInt(r7) + parseInt(1);3051 r9 = parseInt(r8) + parseInt(1);3052 r10 = parseInt(r9) + parseInt(1);3053 r11 = parseInt(r10) + parseInt(1);3054 r12 = parseInt(r11) + parseInt(1);3055 }3056 if (r == 'Aquarius') {3057 r1 = '11'3058 r2 = parseInt(r1) + parseInt(1);3059 r3 = parseInt(r2) - parseInt(11);3060 r4 = parseInt(r3) + parseInt(1);3061 r5 = parseInt(r4) + parseInt(1);3062 r6 = parseInt(r5) + parseInt(1);3063 r7 = parseInt(r6) + parseInt(1);3064 r8 = parseInt(r7) + parseInt(1);3065 r9 = parseInt(r8) + parseInt(1);3066 r10 = parseInt(r9) + parseInt(1);3067 r11 = parseInt(r10) + parseInt(1);3068 r12 = parseInt(r11) + parseInt(1);3069 }3070 if (r == 'Pisces') {3071 r1 = '12'3072 r2 = r1 - '11';3073 r3 = parseInt(r2) + parseInt(1);3074 r4 = parseInt(r3) + parseInt(1);3075 r5 = parseInt(r4) + parseInt(1);3076 r6 = parseInt(r5) + parseInt(1);3077 r7 = parseInt(r6) + parseInt(1);3078 r8 = parseInt(r7) + parseInt(1);3079 r9 = parseInt(r8) + parseInt(1);3080 r10 = parseInt(r9) + parseInt(1);3081 r11 = parseInt(r10) + parseInt(1);3082 r12 = parseInt(r11) + parseInt(1);3083 }3084 p1 = h1;3085 p2 = h2;3086 p3 = h3;3087 p4 = h4;3088 p5 = h5;3089 p6 = h6;3090 p7 = h7;3091 p8 = h8;3092 p9 = h9;3093 p10 = h10;3094 p11 = h11;3095 p12 = h12;3096 document.getElementById('h1l1').innerHTML = p1 + " " + 'Asc' + " " + '<span style=color:#f90914>' + document.getElementById('degree_' + 0).value + '</span>';3097 document.getElementById('h2l1').innerHTML = p2;3098 document.getElementById('h3l1').innerHTML = p3;3099 document.getElementById('h4l1').innerHTML = p4;3100 document.getElementById('h5l1').innerHTML = p5;3101 document.getElementById('h6l1').innerHTML = p6;3102 document.getElementById('h7l1').innerHTML = p7;3103 document.getElementById('h8l1').innerHTML = p8;3104 document.getElementById('h9l1').innerHTML = p9;3105 document.getElementById('h10l1').innerHTML = p10;3106 document.getElementById('h11l1').innerHTML = p11;3107 document.getElementById('h12l1').innerHTML = p12;3108 document.getElementById('h12r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r12 + '</span>' + '</br>';3109 document.getElementById('h1r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r1 + '</span>' + '</br>';3110 document.getElementById('h2r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r2 + '</span>' + '</br>';3111 document.getElementById('h3r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r3 + '</span>' + '</br>';3112 document.getElementById('h4r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r4 + '</span>' + '</br>';3113 document.getElementById('h5r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r5 + '</span>' + '</br>';3114 document.getElementById('h6r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r6 + '</span>' + '</br>';3115 document.getElementById('h7r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r7 + '</span>' + '</br>';3116 document.getElementById('h8r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r8 + '</span>' + '</br>';3117 document.getElementById('h9r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r9 + '</span>' + '</br>';3118 document.getElementById('h10r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r10 + '</span>' + '</br>';3119 document.getElementById('h11r').innerHTML = '<br>' + '<span style="color: rgb(15, 22, 170); font-size: 15px;">' + r11 + '</span>' + '</br>';3120 }3121 3122 return false;3123}3124function calfhy()3125{3126 var drop1 = "Future Horary Yoga"3127 var imonthob = document.getElementById('hdnimonthob').value3128 var idateob = document.getElementById('hdnidateob').value3129 var iyearob = document.getElementById('hdniyearob').value3130 var ihourob = document.getElementById('hdnihourob').value3131 var iminuteob = document.getElementById('hdniminuteob').value3132 3133 var dob = document.getElementById('hdndob').value3134 var tob = document.getElementById('hdntob').value3135 var tz = document.getElementById('hdntzo').value3136 var tzval = document.getElementById('hdntzval').value3137 var clientquery = document.getElementById('hdnquery').value;3138 window.open('futureyogas.aspx?clmail=' + document.getElementById('hdnclientid').value + "&clname=" + document.getElementById('hdnclientname').value + "&astname=" + document.getElementById('astrologername').value + "&astmail=" + document.getElementById('astrologerid').value + "&lagnarashi=" + document.getElementById('Hlagnarashi').value + "&lagnadegree=" + document.getElementById('Hlagnadegree').value + "&degree=" + document.getElementById('Hdegree').value + "&house=" + document.getElementById('Hhouse').value + "&drop1=" + drop1 + "&degreesecond=" + document.getElementById('Hdegreesecond').value + "&moonrashi=" + document.getElementById('Hmoonrashi').value + "&sunhouse=" + document.getElementById('Hsunhouse').value + "&moonhouse=" + document.getElementById('Hmoonhouse').value + "&retro=" + document.getElementById('Hretro').value + "&rashie=" + document.getElementById('Hrashie').value + "&usermail=" + document.getElementById('hdnuser').value + "&v=" + document.getElementById('Hiddenva').value + "&idateob=" + idateob + "&imonthob=" + imonthob + "&iyearob=" + iyearob + "&ihourob=" + ihourob + "&iminuteob=" + iminuteob + "&longitude=" + document.getElementById('hdnlongit').value + "&latitude=" + document.getElementById('hdnlatit').value + "&dob=" + dob + "&tob=" + tob + "&tz=" + tz + "&tzval=" + tzval + "&query=" + clientquery + "");3139 return false;...

Full Screen

Full Screen

dasha_pattern.js

Source:dasha_pattern.js Github

copy

Full Screen

1var dasha_pattern = "";2var ds = "";3var res = "";4function group_bind() {5 var astrologer = document.getElementById('Hidden9').value;6 if (astrologer == 'astrology' || astrologer == 'ASTROLOGY' || astrologer == "") {7 // alert('you are admin');8 getopen("login.aspx");9 return false;10 }11 else {12 res = myaccount.searchuser(astrologer, document.getElementById('grp_cat').value);13 callback_drp1(res);14 cldetail();15 return false16 }17 return false;18}19function dashacalculate()20{21 var mdegree =parseInt(document.getElementById('hdnmdegree').value);22 var mminute = parseInt(document.getElementById('hdnmminute').value);23 var msecond = parseInt(document.getElementById('hdnmsecond').value);24 var mrashi = document.getElementById('hdnmrashi').value;25 var htob = parseInt(document.getElementById('hdnihob').value);26 var mtob = parseInt(document.getElementById('hdnimob').value);27 var stob = parseInt(0);28 var dob = parseInt(document.getElementById('hdnidob').value);29 var mob = parseInt(document.getElementById('hdnimoob').value);30 var yob = parseInt(document.getElementById('hdniyob').value);31 var astrologer = document.getElementById('hdnusermail').value;32 res = dasha_pattern.caldasha(mdegree, mminute, msecond, mrashi, dob, mob, yob, htob, mtob, stob, astrologer);33 var exec_data = res.value;34 dsgrid = exec_data;35 document.getElementById('hdsviewgrid').innerHTML = "";36 document.getElementById('Divgrid1').style.display = "none";37 if (exec_data.Tables[0].Rows.length >= 0) {38 document.getElementById('hdsviewgrid').innerHTML = "";39 document.getElementById('Divgrid1').style.display = 'block';40 $('Divgrid1').display = 'block;'41 document.getElementById('Divgrid1').style.BackColor = "Ivory";42 var temp_del1 = "";43 flg_req = "yes"44 var aa1 = "";45 var aa = "";46 var hs = 0;47 var hs1 = 0;48 document.getElementById('hdsviewgrid').style.display = "block";49 if (document.getElementById("hdsviewgrid").children.length == "0") {50 klen = "0"51 }52 else {53 klen = document.getElementById("Divgrid1").childNodes[0].childNodes[0].childNodes.length - 1;54 IntializeNumber = klen + 1;55 }56 if (document.getElementById("hdsviewgrid").innerHTML.indexOf("width:460px;display:block") <= 0) {57 aa = document.getElementById("hdsviewgrid").innerHTML.replace("</TBODY>", "")//</TABLE>","")58 }59 document.getElementById('bod').innerHTML = dsgrid.Tables[0].Rows[0]['BALANCEDASA'];60 document.getElementById('RadioButton1').checked = true61 if (document.getElementById('RadioButton4').checked == true) {62 if (dsgrid.Tables[1].Rows.length > 0) {63 buf2 = "";64 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='460px' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"65 buf2 += "<tr>"66 buf2 += "<td class='colum-td-head'>" + "PLANET1" + "</td>"67 buf2 += "<td class='colum-td-head'>" + "PLANET2" + "</td>"68 buf2 += "<td class='colum-td-head'>" + "PLANET3" + "</td>"69 buf2 += "<td class='colum-td-head'>" + "PLANET4" + "</td>"70 buf2 += "<td class='colum-td-head'>" + "YEAR" + "</td>"71 buf2 += "<td class='colum-td-head'>" + "MONTH" + "</td>"72 buf2 += "<td class='colum-td-head'>" + "DAY" + "</td>"73 buf2 += "<td class='colum-td-head'>" + "HOUR" + "</td>"74 buf2 += "<td class='colum-td-head'>" + "MINUTE" + "</td>"75 buf2 += "<td class='colum-td-head'>" + "SECOND" + "</td>"76 buf2 += "<td class='colum-td-head'>" + "DASHA_START" + "</td>"77 buf2 += "<td class='colum-td-head'>" + "DASHA_PERIOD" + "</td>"78 buf2 += "</tr>"79 len = 1;80 for (i = 0; i < dsgrid.Tables[1].Rows.length; ++i) {81 buf2 += "<tr>"82 buf2 += "<td class='colum-td'>"83 buf2 += "<input type='text' style='width:200px;' class='dropdown_large_corr'; align='left' value='" + dsgrid.Tables[1].Rows[i]['PLANET1'] + "' id='name_" + i + "' >"84 buf2 += "</td>"85 buf2 += "<td class='colum-td'>"86 buf2 += "<input type='text'Enabled='false'disabled style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['PLANET2'] + "' id='pmail1_" + i + "' >"87 buf2 += "</td>"88 buf2 += "<td class='colum-td'>"89 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['PLANET3'] + "' id='altmail_" + i + "' >"90 buf2 += "</td>"91 buf2 += "<td class='colum-td'>"92 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['PLANET4'] + "' id='mobno_" + i + "' >"93 buf2 += "</td>"94 buf2 += "<td class='colum-td'>"95 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['YEAR'] + "' id='landno_" + i + "' >"96 buf2 += "</td>"97 buf2 += "<td class='colum-td'>"98 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['MONTH'] + "' id='add1_" + i + "' >"99 buf2 += "</td>"100 buf2 += "<td class='colum-td'>"101 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['DAY'] + "' id='add2_" + i + "' >"102 buf2 += "</td>"103 buf2 += "<td class='colum-td'>"104 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['HOUR'] + "' id='landmark_" + i + "' >"105 buf2 += "</td>"106 buf2 += "<td class='colum-td'>"107 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['MINUTE'] + "' id='country_" + i + "' >"108 buf2 += "</td>"109 buf2 += "<td class='colum-td'>"110 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['SECOND'] + "' id='zip_" + i + "' >"111 buf2 += "</td>"112 buf2 += "<td class='colum-td'>"113 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['DASHA_START'] + "' id='pwd_" + i + "' >"114 buf2 += "</td>"115 buf2 += "<td class='colum-td'>"116 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[1].Rows[i]['DASHA_PERIOD'] + "' id='pwd_" + i + "' >"117 buf2 += "</td>"118 buf2 += "</tr>"119 }120 }121 }122 if (document.getElementById('RadioButton3').checked == true) {123 if (dsgrid.Tables[2].Rows.length > 0) {124 buf2 = "";125 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='460px' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"126 buf2 += "<tr>"127 buf2 += "<td class='colum-td-head'>" + "PLANET1" + "</td>"128 buf2 += "<td class='colum-td-head'>" + "PLANET2" + "</td>"129 buf2 += "<td class='colum-td-head'>" + "PLANET3" + "</td>"130 buf2 += "<td class='colum-td-head'>" + "YEAR" + "</td>"131 buf2 += "<td class='colum-td-head'>" + "MONTH" + "</td>"132 buf2 += "<td class='colum-td-head'>" + "DAY" + "</td>"133 buf2 += "<td class='colum-td-head'>" + "HOUR" + "</td>"134 buf2 += "<td class='colum-td-head'>" + "MINUTE" + "</td>"135 buf2 += "<td class='colum-td-head'>" + "SECOND" + "</td>"136 buf2 += "<td class='colum-td-head'>" + "DASHA_START" + "</td>"137 buf2 += "<td class='colum-td-head'>" + "DASHA_PERIOD" + "</td>"138 buf2 += "</tr>"139 len = 1;140 for (i = 0; i < dsgrid.Tables[2].Rows.length; ++i) {141 buf2 += "<tr>"142 buf2 += "<td class='colum-td'>"143 buf2 += "<input type='text' style='width:200px;' class='dropdown_large_corr'; align='left' value='" + dsgrid.Tables[2].Rows[i]['PLANET1'] + "' id='name_" + i + "' >"144 buf2 += "</td>"145 buf2 += "<td class='colum-td'>"146 buf2 += "<input type='text'Enabled='false'disabled style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['PLANET2'] + "' id='pmail1_" + i + "' >"147 buf2 += "</td>"148 buf2 += "<td class='colum-td'>"149 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['PLANET3'] + "' id='altmail_" + i + "' >"150 buf2 += "</td>"151 buf2 += "<td class='colum-td'>"152 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['YEAR'] + "' id='landno_" + i + "' >"153 buf2 += "</td>"154 buf2 += "<td class='colum-td'>"155 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['MONTH'] + "' id='add1_" + i + "' >"156 buf2 += "</td>"157 buf2 += "<td class='colum-td'>"158 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['DAY'] + "' id='add2_" + i + "' >"159 buf2 += "</td>"160 buf2 += "<td class='colum-td'>"161 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['HOUR'] + "' id='landmark_" + i + "' >"162 buf2 += "</td>"163 buf2 += "<td class='colum-td'>"164 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['MINUTE'] + "' id='country_" + i + "' >"165 buf2 += "</td>"166 buf2 += "<td class='colum-td'>"167 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['SECOND'] + "' id='zip_" + i + "' >"168 buf2 += "</td>"169 buf2 += "<td class='colum-td'>"170 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['DASHA_START'] + "' id='pwd_" + i + "' >"171 buf2 += "</td>"172 buf2 += "<td class='colum-td'>"173 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[2].Rows[i]['DASHA_PERIOD'] + "' id='pwd_" + i + "' >"174 buf2 += "</td>"175 buf2 += "</tr>"176 }177 }178 }179 if (document.getElementById('RadioButton2').checked == true) {180 if (dsgrid.Tables[3].Rows.length > 0) {181 buf2 = "";182 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='460px' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"183 buf2 += "<tr>"184 buf2 += "<td class='colum-td-head'>" + "PLANET1" + "</td>"185 buf2 += "<td class='colum-td-head'>" + "PLANET2" + "</td>"186 buf2 += "<td class='colum-td-head'>" + "YEAR" + "</td>"187 buf2 += "<td class='colum-td-head'>" + "MONTH" + "</td>"188 buf2 += "<td class='colum-td-head'>" + "DAY" + "</td>"189 buf2 += "<td class='colum-td-head'>" + "HOUR" + "</td>"190 buf2 += "<td class='colum-td-head'>" + "MINUTE" + "</td>"191 buf2 += "<td class='colum-td-head'>" + "SECOND" + "</td>"192 buf2 += "<td class='colum-td-head'>" + "DASHA_START" + "</td>"193 buf2 += "<td class='colum-td-head'>" + "DASHA_PERIOD" + "</td>"194 buf2 += "</tr>"195 len = 1;196 for (i = 0; i < dsgrid.Tables[3].Rows.length; ++i) {197 buf2 += "<tr>"198 buf2 += "<td class='colum-td'>"199 buf2 += "<input type='text' style='width:200px;' class='dropdown_large_corr'; align='left' value='" + dsgrid.Tables[3].Rows[i]['PLANET1'] + "' id='name_" + i + "' >"200 buf2 += "</td>"201 buf2 += "<td class='colum-td'>"202 buf2 += "<input type='text'Enabled='false'disabled style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['PLANET2'] + "' id='pmail1_" + i + "' >"203 buf2 += "</td>"204 buf2 += "<td class='colum-td'>"205 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['YEAR'] + "' id='landno_" + i + "' >"206 buf2 += "</td>"207 buf2 += "<td class='colum-td'>"208 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['MONTH'] + "' id='add1_" + i + "' >"209 buf2 += "</td>"210 buf2 += "<td class='colum-td'>"211 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['DAY'] + "' id='add2_" + i + "' >"212 buf2 += "</td>"213 buf2 += "<td class='colum-td'>"214 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['HOUR'] + "' id='landmark_" + i + "' >"215 buf2 += "</td>"216 buf2 += "<td class='colum-td'>"217 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['MINUTE'] + "' id='country_" + i + "' >"218 buf2 += "</td>"219 buf2 += "<td class='colum-td'>"220 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['SECOND'] + "' id='zip_" + i + "' >"221 buf2 += "</td>"222 buf2 += "<td class='colum-td'>"223 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['DASHA_START'] + "' id='pwd_" + i + "' >"224 buf2 += "</td>"225 buf2 += "<td class='colum-td'>"226 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[3].Rows[i]['DASHA_PERIOD'] + "' id='pwd_" + i + "' >"227 buf2 += "</td>"228 buf2 += "</tr>"229 }230 }231 }232 if (document.getElementById('RadioButton1').checked == true) {233 if (dsgrid.Tables[4].Rows.length > 0) {234 buf2 = "";235 buf2 += "<table id='Divgrid1' runat='server' align='left' Width='460px' height='0px' style='border:1px;; solid #7DAAE3; cellpadding='0' cellspacing='0'>"//<tr>"236 buf2 += "<tr>"237 buf2 += "<td class='colum-td-head'>" + "PLANET1" + "</td>"238 buf2 += "<td class='colum-td-head'>" + "YEAR" + "</td>"239 buf2 += "<td class='colum-td-head'>" + "MONTH" + "</td>"240 buf2 += "<td class='colum-td-head'>" + "DAY" + "</td>"241 buf2 += "<td class='colum-td-head'>" + "HOUR" + "</td>"242 buf2 += "<td class='colum-td-head'>" + "MINUTE" + "</td>"243 buf2 += "<td class='colum-td-head'>" + "SECOND" + "</td>"244 buf2 += "<td class='colum-td-head'>" + "DASHA_START" + "</td>"245 buf2 += "<td class='colum-td-head'>" + "DASHA_PERIOD" + "</td>"246 buf2 += "</tr>"247 len = 1;248 for (i = 0; i < dsgrid.Tables[4].Rows.length; ++i) {249 buf2 += "<tr>"250 buf2 += "<td class='colum-td'>"251 buf2 += "<input type='text' style='width:200px;' class='dropdown_large_corr'; align='left' value='" + dsgrid.Tables[4].Rows[i]['PLANET1'] + "' id='name_" + i + "' >"252 buf2 += "</td>"253 buf2 += "<td class='colum-td'>"254 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['YEAR'] + "' id='landno_" + i + "' >"255 buf2 += "</td>"256 buf2 += "<td class='colum-td'>"257 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['MONTH'] + "' id='add1_" + i + "' >"258 buf2 += "</td>"259 buf2 += "<td class='colum-td'>"260 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['DAY'] + "' id='add2_" + i + "' >"261 buf2 += "</td>"262 buf2 += "<td class='colum-td'>"263 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['HOUR'] + "' id='landmark_" + i + "' >"264 buf2 += "</td>"265 buf2 += "<td class='colum-td'>"266 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['MINUTE'] + "' id='country_" + i + "' >"267 buf2 += "</td>"268 buf2 += "<td class='colum-td'>"269 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['SECOND'] + "' id='zip_" + i + "' >"270 buf2 += "</td>"271 buf2 += "<td class='colum-td'>"272 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['DASHA_START'] + "' id='pwd_" + i + "' >"273 buf2 += "</td>"274 buf2 += "<td class='colum-td'>"275 buf2 += "<input type='text' style='width:200px;' align='left' class='dropdown_large_corr'; value='" + dsgrid.Tables[4].Rows[i]['DASHA_PERIOD'] + "' id='pwd_" + i + "' >"276 buf2 += "</td>"277 buf2 += "</tr>"278 }279 }280 }281 buf2 += "</table>"282 var hdsview = "";283 temp_del1 = aa + buf2.toString();284 temp_del1 = temp_del1.replace("<TBODY>", "")285 temp_del1 = temp_del1.replace("</TBODY>", "")286 document.getElementById('hdsviewgrid').innerHTML = temp_del1;287 }288 return false;289}290function callback_fillgrid(res) {291 ...

Full Screen

Full Screen

index.js

Source:index.js Github

copy

Full Screen

1var test = require('tape');2var fixtures = require('./fixtures.json');3var _crypto = require('crypto');4var crypto = require('../');5var modes = require('../modes');6var types = Object.keys(modes);7var ebtk = require('../EVP_BytesToKey');8fixtures.forEach(function (fixture, i) {9 //var ciphers = fixture.results.ciphers = {};10 types.forEach(function (cipher) {11 test('fixture ' + i + ' ' + cipher, function (t) {12 t.plan(1);13 var suite = crypto.createCipher(cipher, new Buffer(fixture.password));14 var buf = new Buffer('');15 suite.on('data', function (d) {16 buf = Buffer.concat([buf, d]);17 });18 suite.on('error', function (e) {19 console.log(e);20 });21 suite.on("end", function () {22 // console.log(fixture.text);23 // decriptNoPadding(cipher, new Buffer(fixture.password), buf.toString('hex'), 'a');24 // decriptNoPadding(cipher, new Buffer(fixture.password), fixture.results.ciphers[cipher], 'b');25 t.equals(buf.toString('hex'), fixture.results.ciphers[cipher]);26 });27 suite.write(new Buffer(fixture.text));28 suite.end();29 });30 test('fixture ' + i + ' ' + cipher + '-legacy', function (t) {31 t.plan(3);32 var suite = crypto.createCipher(cipher, new Buffer(fixture.password));33 var buf = new Buffer('');34 var suite2 = _crypto.createCipher(cipher, new Buffer(fixture.password));35 var buf2 = new Buffer('');36 var inbuf = new Buffer(fixture.text);37 var mid = ~~(inbuf.length/2);38 buf = Buffer.concat([buf, suite.update(inbuf.slice(0, mid))]);39 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(0, mid))]);40 t.equals(buf.toString('hex'), buf2.toString('hex'), 'intermediate');41 buf = Buffer.concat([buf, suite.update(inbuf.slice(mid))]);42 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(mid))]);43 t.equals(buf.toString('hex'), buf2.toString('hex'), 'intermediate 2');44 buf = Buffer.concat([buf, suite.final()]);45 buf2 = Buffer.concat([buf2, suite2.final()]);46 t.equals(buf.toString('hex'), buf2.toString('hex'), 'final');47 });48 test('fixture ' + i + ' ' + cipher + '-decrypt', function (t) {49 t.plan(1);50 var suite = crypto.createDecipher(cipher, new Buffer(fixture.password));51 var buf = new Buffer('');52 suite.on('data', function (d) {53 buf = Buffer.concat([buf, d]);54 });55 suite.on('error', function (e) {56 console.log(e);57 });58 suite.on("end", function () {59 // console.log(fixture.text);60 // decriptNoPadding(cipher, new Buffer(fixture.password), buf.toString('hex'), 'a');61 // decriptNoPadding(cipher, new Buffer(fixture.password), fixture.results.ciphers[cipher], 'b');62 t.equals(buf.toString('utf8'), fixture.text);63 });64 suite.write(new Buffer(fixture.results.ciphers[cipher], 'hex'));65 suite.end();66 });67 test('fixture ' + i + ' ' + cipher + '-decrypt-legacy', function (t) {68 t.plan(4);69 var suite = crypto.createDecipher(cipher, new Buffer(fixture.password));70 var buf = new Buffer('');71 var suite2 = _crypto.createDecipher(cipher, new Buffer(fixture.password));72 var buf2 = new Buffer('');73 var inbuf = new Buffer(fixture.results.ciphers[cipher], 'hex');74 var mid = ~~(inbuf.length/2);75 buf = Buffer.concat([buf, suite.update(inbuf.slice(0, mid))]);76 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(0, mid))]);77 t.equals(buf.toString('utf8'), buf2.toString('utf8'), 'intermediate');78 buf = Buffer.concat([buf, suite.update(inbuf.slice(mid))]);79 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(mid))]);80 t.equals(buf.toString('utf8'), buf2.toString('utf8'), 'intermediate 2');81 buf = Buffer.concat([buf, suite.final()]);82 buf2 = Buffer.concat([buf2, suite2.final()]);83 t.equals(buf.toString('utf8'), fixture.text);84 t.equals(buf.toString('utf8'), buf2.toString('utf8'), 'final');85 });86 //var cipherivs = fixture.results.cipherivs = {};87 types.forEach(function (cipher) {88 if (modes[cipher].mode === 'ECB') {89 return;90 }91 test('fixture ' + i + ' ' + cipher + '-iv', function (t) {92 t.plan(1);93 var suite = crypto.createCipheriv(cipher, ebtk(_crypto, fixture.password, modes[cipher].key).key, new Buffer(fixture.iv, 'hex'));94 var buf = new Buffer('');95 suite.on('data', function (d) {96 buf = Buffer.concat([buf, d]);97 });98 suite.on('error', function (e) {99 console.log(e);100 });101 suite.on("end", function () {102 t.equals(buf.toString('hex'), fixture.results.cipherivs[cipher]);103 });104 suite.write(new Buffer(fixture.text));105 suite.end();106 });107 test('fixture ' + i + ' ' + cipher + '-legacy-iv', function (t) {108 t.plan(4);109 var suite = crypto.createCipheriv(cipher, ebtk(_crypto, fixture.password, modes[cipher].key).key, new Buffer(fixture.iv, 'hex'));110 var buf = new Buffer('');111 var suite2 = _crypto.createCipheriv(cipher, ebtk(_crypto, fixture.password, modes[cipher].key).key, new Buffer(fixture.iv, 'hex'));112 var buf2 = new Buffer('');113 var inbuf = new Buffer(fixture.text);114 var mid = ~~(inbuf.length/2);115 buf = Buffer.concat([buf, suite.update(inbuf.slice(0, mid))]);116 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(0, mid))]);117 t.equals(buf.toString('hex'), buf2.toString('hex'), 'intermediate');118 buf = Buffer.concat([buf, suite.update(inbuf.slice(mid))]);119 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(mid))]);120 t.equals(buf.toString('hex'), buf2.toString('hex'), 'intermediate 2');121 buf = Buffer.concat([buf, suite.final()]);122 buf2 = Buffer.concat([buf2, suite2.final()]);123 t.equals(buf.toString('hex'), fixture.results.cipherivs[cipher]);124 t.equals(buf.toString('hex'), buf2.toString('hex'), 'final');125 });126 test('fixture ' + i + ' ' + cipher + '-iv-decrypt', function (t) {127 t.plan(1);128 var suite = crypto.createDecipheriv(cipher, ebtk(_crypto, fixture.password, modes[cipher].key).key, new Buffer(fixture.iv, 'hex'));129 var buf = new Buffer('');130 suite.on('data', function (d) {131 buf = Buffer.concat([buf, d]);132 });133 suite.on('error', function (e) {134 console.log(e);135 });136 suite.on("end", function () {137 t.equals(buf.toString('utf8'), fixture.text);138 });139 suite.write(new Buffer(fixture.results.cipherivs[cipher], 'hex'));140 suite.end();141 });142 test('fixture ' + i + ' ' + cipher + '-decrypt-legacy', function (t) {143 t.plan(4);144 var suite = crypto.createDecipheriv(cipher, ebtk(_crypto, fixture.password, modes[cipher].key).key, new Buffer(fixture.iv, 'hex'));145 var buf = new Buffer('');146 var suite2 = _crypto.createDecipheriv(cipher, ebtk(_crypto, fixture.password, modes[cipher].key).key, new Buffer(fixture.iv, 'hex'));147 var buf2 = new Buffer('');148 var inbuf = new Buffer(fixture.results.cipherivs[cipher], 'hex');149 var mid = ~~(inbuf.length/2);150 buf = Buffer.concat([buf, suite.update(inbuf.slice(0, mid))]);151 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(0, mid))]);152 t.equals(buf.toString('utf8'), buf2.toString('utf8'), 'intermediate');153 buf = Buffer.concat([buf, suite.update(inbuf.slice(mid))]);154 buf2 = Buffer.concat([buf2, suite2.update(inbuf.slice(mid))]);155 t.equals(buf.toString('utf8'), buf2.toString('utf8'), 'intermediate 2');156 buf = Buffer.concat([buf, suite.final()]);157 buf2 = Buffer.concat([buf2, suite2.final()]);158 t.equals(buf.toString('utf8'), fixture.text);159 t.equals(buf.toString('utf8'), buf2.toString('utf8'), 'final');160 });161 });162 });...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var page = wptools.page('Albert Einstein');3page.get(function(err, resp) {4 console.log(resp);5});6var wptools = require('wptools');7var page = wptools.page('Albert Einstein');8page.get(function(err, resp) {9 console.log(resp);10});11var wptools = require('wptools');12var page = wptools.page('Albert Einstein');13page.get(function(err, resp) {14 console.log(resp);15});

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var page = wptools.page('Barack_Obama');3page.get(function(err, data) {4 console.log(data);5});6var wptools = require('wptools');7var page = wptools.page('Barack_Obama');8page.get(function(err, data) {9 console.log(data);10});11var wptools = require('wptools');12var page = wptools.page('Barack_Obama');13page.get(function(err, data) {14 console.log(data);15});16var wptools = require('wptools');17var page = wptools.page('Barack_Obama');18page.get(function(err, data) {19 console.log(data);20});21{ title: 'Barack Obama',22 { name: 'Barack Obama',23 { year: 1961,24 ymd: '1961-08-04' },25 { year: 2016,

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var buf2 = require('buf2');3wptools.page('Barack Obama').then(function(page) {4 return page.get();5}).then(function(page) {6 var buf = buf2(page.data.imageinfo[0].url);7 console.log(buf);8});9var wptools = require('wptools');10var request = require('request');11wptools.page('Barack Obama').then(function(page) {12 return page.get();13}).then(function(page) {14 var url = page.data.imageinfo[0].url;15 request({url: url, encoding: null}, function (error, response, body) {16 if (!error && response.statusCode == 200) {17 console.log(body);18 }19 });20});21wptools.page('Barack Obama').then(function(page) {22});23wptools.page('Barack Obama').then(function(page) {24 return page.get();25}).then(function(page) {26});27wptools.page('Barack Obama').then(function(page) {28 return page.getImages();29}).then(function(page) {30});31wptools.page('Barack Obama').then(function(page) {32 return page.getInfobox();33}).then(function(page) {34});35wptools.page('Barack Obama').then(function(page) {36 return page.getLinks();37}).then(function(page) {38});39wptools.page('Barack Obama').then

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var buf2 = require('buf2');3wptools.page('Barack Obama').then(function(page) {4 return page.get();5}).then(function(page) {6 var buf = buf2(page.data.imageinfo[0].url);7 console.log(buf);8});9var wptools = require('wptools');10var request = require('request');11wptools.page('Barack Obama').then(function(page) {12 return page.get();13}).then(function(page) {14 var url = page.data.imageinfo[0].url;15 request({url: url, encoding: null}, function (error, response, body) {16 if (!error && response.statusCode == 200) {17 console.log(body);18 }19 });20});21wptools.page('Barack Obama').then(function(page) {22});23wptools.page('Barack Obama').then(function(page) {24 return page.get();25}).then(function(page) {26});27wptools.page('Barack Obama').then(function(page) {28 return page.getImages();29}).then(function(page) {30});31wptools.page('Barack Obama').then(function(page) {32 return page.getInfobox();33}).then(function(page) {34});35wptools.page('Barack Obama').then(function(page) {36 return page.getLinks();37}).then(function(page) {38});39wptools.page('Barack Obama').then

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var page = wptools.page('Barack_Obama');3page.get(function(err, data) {4 console.log(data);5});6var wptools = require('wptools');7var page = wptools.page('Barack_Obama');8page.get(function(err, data) {9 console.log(data);10});11var wptools = require('wptools');12var page = wptools.page('Barack_Obama');13page.get(function(err, data) {14 console.log(data);15});16var wptools = require('wptools');17var page = wptools.page('Barack_Obama');18page.get(function(err, data) {19 console.log(data);20});21{ title: 'Barack Obama',22 { name: 'Barack Obama',23 { year: 1961,24 ymd: '1961-08-04' },25 { year: 2016,

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2wptools.page('Albert Einstein').then(function(page) {3 page.get().then(function(data) {4 console.log(data);5 });6});7var wptools = require('wptools');8wptools.page('Albert Einstein').then(function(page) {9 page.get().then(function(data) {10 console.log(data);11 });12});13var wptools = require('wptools');14wptools.page('Albert Einstein').then(function(page) {15 page.get().then(function(data) {16 console.log(data);17 });18});19var wptools = require('wptools');20wptools.page('Albert Einstein').then(function(page) {21 page.get().then(function(data) {22 console.log(data);23 });24});25var wptools = require('wptools');26wptools.page('Albert Einstein').(function(page) {27 pagt().then(fua obla)

Full Screen

Using AI Code Generation

copy

Full Screen

1quire('wptools');2wptools.page('Albert Einstein').(function(page) {3 pagt().then(funcebtageiedtata) {4 ptconsoleWePagTe( ww}webpa);es.g''A.5f852e0b4b4c20844c3d4e5f6'5wpp.runTs =('http:wpwww.googll.cpm',a{vid(n:t1,neoc gien:tnDu(led:Ch omo',elgd;Ruls: 10}, 6});if (err) return errrerr7ro con ole log('Tls.astatge:','sa.a.nt gueTtxita) {8 cne.lo.gTeRsults(data}data.t;sId, 9}); if (err) return errrerr10rosa'rtnctnnegt.logunToso cgmpded %d ds'meda.ir =View loaoTiml);11 var wptools = require('wptools');12});var wiki = new wptools('Albert Einstein');13wiki.get(func2tion(err, data) {14 console.log(dta.infobox);15});WebPageTetebageet16ptWePagTe(/wwawebpath:es..sg''A.5f85u2e0b4b4c2f028m4 4c3d4e5f6' wptools17wpg.runTunc('http: www.g oglo.com',l{vidlf:b1,)oc)in:Dule:Chom',Ruls: 10}, test.js18k( connoletl g('Tosslstate.:',ooaa.t)uTx19/coi()rnconsolrro( w wptools('Albert Einstein');20k e(no'Vwrike = neeatf%n',eda,a.aa .esafUl21}22})23I havehtried /othothetwaysoor isingewpt( toh s=lsarecsdme. T eo use iu n t gpteingtexecutid.zIrae gqtting uie follrwing(err'r:24var wptexturize = require('./wptexturize.js');25var buf = new Buffer(7);26buf[0] = 0x22;27buf[1] = 0x22;28buf[2] = 0x22;29buf[3] = 0x22;30buf[4] = 0x22;31buf[5] = 0x22;32buf[6] = 0x22;33console.log(wptexturize.buf2(buf));34var wptexturize = require('./wptexturize.js');35var buf = new Buffer(7);36buf[0] = 0x22;37buf[1] = 0x22;38buf[2] = 0x22;39buf[3] = 0x22;40buf[4] = 0x22;41buf[5] = 0x22;42buf[6] = 0x22;43console.log(wptexturize.buf2(buf));44var wptexturize = require('./wptexturize.js');45var buf = new Buffer(7);46buf[0] = 0x22;47buf[1] = 0x22;48buf[2] = 0x22;49buf[3] = 0x22;50buf[4] = 0x22;51buf[5] = 0x22;

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptools = require('wptools');2var wiki = new wptools('Albert Einstein');3wiki.get(function(err, data) {4 console.log(data.infobox);5});6var wptools = require('wptools');7var wiki = new wptools('Albert Einstein');8wiki.get(function(err, data) {9 console.log(data.infobox);10});11var wptools = require('wptools');12var wiki = new wptools('Albert Einstein');13wiki.get(function(err, data) {14 console.log(data.infobox);15});16var wptools = require('wptools');17var wiki = new wptools('Albert Einstein');18wiki.get(function(err, data) {19 console.log(data.infobox);20});21var wptools = require('wptools');22var wiki = new wptools('Albert Einstein');23wiki.get(function(err, data) {24 console.log(data.infobox);25});26var wptools = require('wptools');27var wiki = new wptools('Albert Einstein');28wiki.get(function(err, data) {29 console.log(data.infobox);30});31var wptools = require('wptools');32var wiki = new wptools('Albert Einstein');33wiki.get(function(err, data) {34 console.log(data.infobox);35});36var wptools = require('wptools');37var wiki = new wptools('Albert Einstein');38wiki.get(function(err, data) {39 console.log(data.infobox);40});41var wptools = require('wptools');42var wiki = new wptools('Albert Einstein');43wiki.get(function(err, data) {44 console.log(data.infobox);45});

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptexturize = require('./wptexturize.js');2var buf = new Buffer(7);3buf[0] = 0x22;4buf[1] = 0x22;5buf[2] = 0x22;6buf[3] = 0x22;7buf[4] = 0x22;8buf[5] = 0x22;9buf[6] = 0x22;10console.log(wptexturize.buf2(buf));11var wptexturize = require('./wptexturize.js');12var buf = new Buffer(7);13buf[0] = 0x22;14buf[1] = 0x22;15buf[2] = 0x22;16buf[3] = 0x22;17buf[4] = 0x22;18buf[5] = 0x22;19buf[6] = 0x22;20console.log(wptexturize.buf2(buf));21var wptexturize = require('./wptexturize.js');22var buf = new Buffer(7);23buf[0] = 0x22;24buf[1] = 0x22;25buf[2] = 0x22;26buf[3] = 0x22;27buf[4] = 0x22;28buf[5] = 0x22;29buf[6] = 0x22;30console.log(wptexturize.buf2(buf));31var wptexturize = require('./wptexturize.js');32var buf = new Buffer(7);33buf[0] = 0x22;34buf[1] = 0x22;35buf[2] = 0x22;36buf[3] = 0x22;37buf[4] = 0x22;38buf[5] = 0x22;

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run wpt automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful