var resultstr; zn = "Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio SagittariusCapricorn Aquarius Pisces "; // Zodiac d2r = Math.PI/180; // degrees to radians r2d = 180/Math.PI; // radians to degrees var range = [1,12,1,31,1800,2100,0,23,0,59,0,12,0,59,0,0,0,179,0,59,0,0,0,89,0,59]; var house1; var house2; var ra,dc; // right ascension, declination var pln,plt; // parallax longitude and latitude lord = "KeVeSuMoMaRaJuSaMe"; var dasha = [7,20,6,10,7,18,16,19,17]; var zn1 = "AriTauGemCanLeoVirLibScoSagCapAquPis"; // Zodiac function checkEntries(f){ for(i = 0; i < 13; i++){ var e = f.elements[i]; if((e.name == "DST") || (e.name == "East") || (e.name == "South") || (e.name=="txtnm") || (e.name=="txtcountry") || (e.name=="txtstate") || (e.name=="txtcity"))continue; if(isNaN(e.value) || (e.value < range[i*2] ) || ( e.value > range[i*2+1])){ msg = "Please enter value between " + range[i*2] + " and " + range[i*2+1] + " in the " + e.name + " field"; //document.write(msg); return false; } } return false; } function calculate() { if(checkEntries(document.BhavaCalc))return; with(Math){ var mon = floor(document.BhavaCalc.Month.value); var day = floor(document.BhavaCalc.Day.value); var year= floor(document.BhavaCalc.Year.value); var hr= floor(document.BhavaCalc.Hour.value); hr += floor(document.BhavaCalc.Min.value)/60; var tz= floor(document.BhavaCalc.ZHour.value); tz += floor(document.BhavaCalc.ZMin.value)/60; var ln= floor(document.BhavaCalc.LonDeg.value); ln += floor(document.BhavaCalc.LonMin.value)/60; var la= floor(document.BhavaCalc.LatDeg.value); la += floor(document.BhavaCalc.LatMin.value)/60; } // checks var dst = document.BhavaCalc.DST.value; var war=document.BhavaCalc.WAR.value; var eln = document.BhavaCalc.East; var sla = document.BhavaCalc.South; if(eln.checked){ ln = -ln; if (document.BhavaCalc.ZHour.value!="5" && document.BhavaCalc.ZMin.value!="30") { tz = -1 * tz; } } //document.write("eln: " +eln.checked+"
"); if(sla.checked)la = -la; //document.write("sla: " +sla.checked+"
"); if(dst==1){ if(ln < 0.0)tz++; else tz--; } if(dst==2){ if(ln < 0.0)tz=tz+2; else tz=tz-2; } if (war==1) { hr=hr-1; } jd = mdy2julian(mon,day,year); if(ln < 0.0)f = hr - tz; else f = hr+tz; t = ((jd - 2415020) + f/24 - 0.5)/36525; ay = calcAyanamsa(t); // document.AscMid.JulDay.value = jd; // document.AscMid.Ayan.value = writedms(ay); ra = (((6.6460656 + 2400.0513 * t + 2.58e-5 * t * t + f) * 15 - ln) % 360) * d2r; // RAMC ob = (23.452294 - 0.0130125 * t) * d2r; // Obliquity of Ecliptic with(Math){ // Calculate mc = atan2(tan(ra),cos(ob)); if(mc < 0.0)mc += PI; if(sin(ra) < 0.0)mc += PI mc *= r2d; // Calculate as = atan2(cos(ra),-sin(ra)*cos(ob)-tan(la * d2r)*sin(ob)); if(as < 0.0)as += PI; if(cos(ra) < 0.0)as += PI; as *= r2d % 360.0; } // add as += ay; mc += ay; var yg = lagna(as); //document.AscMid.MidHvn.value = lon2dmsz(mc); // calculate // var hs = new Array(24); x = as - mc; if(x < 0.0)x += 360.0; x /= 6; y = 18; // 10th house in the array for(i = 0; i < 7; i++){ hs[y] = mc + x * i; y++; if(y > 24)y = 0; } x = mc - fix360(as + 180.0); if(x < 0.0)x += 360.0; x /= 6; y = 12; for(i = 0; i < 7; i++){ hs[y] = fix360(as + 180 + x * i); y++; } for(i = 0; i < 12; i++){ hs[i] = fix360(hs[i+12] + 180); } var s; z = 0; // Fill var as2 = hs [0]; var yg = lagna(as2); as=as2; //alert("ascendant degrees: "+as); //alert("ascendant: "+yg); ////document.write("Ayanamsa: " +as); ////document.write("Final Mc: " +mc); //document.write("Final As: " +as+"
"); //document.write("Final MC: " +mc+"
"); var myas myas=lon2dmsz(as); l=mooncalculate(); document.BhavaCalc.Asc.value = lon2dmsz(as); //alert("Ascendant: "+as); //alert(document.BhavaCalc.Asc.value); document.BhavaCalc.Asc2.value=z; //alert(z); //alert(document.BhavaCalc.Asc2.value); document.BhavaCalc.AYNS.value=ay; //alert(document.BhavaCalc.AYNS.value); document.BhavaCalc.as.value=as; document.BhavaCalc.moon.value=l; //alert(document.BhavaCalc.as.value); //document.myform.submit(); document.BhavaCalc.submit(); } function lagna(as2) { with(Math){ var d,m,s; x = abs(as2); d = floor(as2); z = floor(d/30); u = zn.substr(z*3,3); str = u; //alert(z); } return str; return u; } // calculate bhavas as per function calcAyanamsa(t) { ln = ((933060-6962911*t+7.5*t*t)/3600.0) % 360.0; /* Mean lunar node */ //document.write("in AYANAMSA ln:"+ln+"
"); Off = (259205536.0*t+2013816.0)/3600.0; /* Mean Sun */ Off = 17.23*Math.sin(d2r * ln)+1.27*Math.sin(d2r * Off)-(5025.64+1.11*t)*t; Off = (Off- 80861.27)/3600.0; // 84038.27 = Fagan-Bradley 80861.27 = Lahiri return Off; } // calculate Julian Day from Month, Day and Year function mdy2julian(m,d,y) { with(Math){ im = 12 * (y + 4800) + m - 3; // document.write("In Julian Day:"+im+"
"); j = (2 * (im - floor(im/12) * 12) + 7 + 365 * im)/12; //document.write("j1:"+j+"
"); j = floor(j) + d + floor(im/48) - 32083; //document.write("j2:"+j+"
"); if(j > 2299171)j += floor(im/4800) - floor(im/1200) + 38; //document.write("Final j: " +j+"
"); return j; } } // build string with degrees, minutes, seconds and zodiac sign from longitude function lon2dmsz(x) { with(Math){ var d,m,s; x = abs(x); //document.write("X: " +x+"
"); d = floor(x); m = (x - d); s = m * 60; m = floor(s); s = s - m; z = floor(d/30); d %= 30; //alert("ASC is " +z+ "deg:" +d+ "Min:" +m); house1=z; house2=z+1; //h1=z+1; //if (h1>12) then h1=h1-12; //h2=h1+1; //if (h2>12) then h2=h2-12; //h3=h2+1; // if (h3>12) then h3=h3-12; //h4=h3+1; //if (h4>12) then h4=h4-12; //h5=h4+1; // if (h5>12) then h5=h5-12; //h6=h5+1; // if (h6>12) then h6=h6-12; // h7=h6+1; // if (h7>12) then h7=h7-12; // h8=h7+1; // if (h8>12) then h8=h8-12; // h9=h8+1; // if (h9>12) then h9=h9-12; // h10=h9+1; // if (h10>12) then h10=h10-12; // h11=h10+1; // if (h11>12) then h11=h11-12; // h12=h11+1; // if (h12>12) then h12=h12-12; ////document.write("ASC is " +z+ "deg:" +d+ "Min:" +m); //document.write("Asc: "+z+ " deg: "+d+ "Min: " +m); str = zn.substr(z*11,11); } return str; } // write degrees minutes function writedms(x) { with(Math){ var d,m,s; if(x < 0.0)sgn = -1; else sgn = 1; x = abs(x); d = floor(x); m = (x - d); s = m * 60; m = floor(s); s = s - m; str = (d*sgn) + "° " + m + "\' " + floor(s * 60) + "\""; } return str; } // keep within 360 degrees function fix360(v) { if(v < 0.0)v += 360; if(v > 360)v -= 360; return v; } function calccurdasha(cd,nl) { // check for > 120 years while(cd < 0)cd += 43830; len = 0; for(i = 0; i < 9; i++){ len += dasha[nl] * 365.25; if(len > cd)break; nl++; if(nl == 9)nl = 0; } cd = len - cd; cd /= dasha[nl] * 365.25 bk = calcbhukti(cd,nl); pd = calcpraty(cd,nl); str = lord.substr(nl*2,2) + "/" + lord.substr(bk*2,2) + "/" + lord.substr(pd*2,2); return str; } function calcbhukti(db,dp) { x = 1 - db; // find days elapsed y = 0; var buk = dp; for(i = 0; i < 9; i++){ y += dasha[buk]/120; // percentage of period if(y > x)break; buk++; if(buk == 9)buk = 0; } return buk; } function calcpraty(db,dp) { x = 1 - db; // find days elapsed y = 0; bk1 = dp; for(i = 0; i < 9; i++){ y += dasha[bk1]/120; // percentage of period if(y > x)break; bk1++; if(bk1 == 9)bk1 = 0; } y = y - x; // find days left over y = y/(dasha[bk1]/120); // % of this bukti to go return calcbhukti(y,bk1); } // Calculate Ayanamsa using J2000 Epoch function calcayan(t) { with(Math){ ln = 125.0445550 - 1934.1361849 * t + 0.0020762 * t * t; // Mean lunar node off = 280.466449 + 36000.7698231 * t + 0.00031060 * t * t; // Mean Sun off = 17.23*sin(d2r * ln)+1.27*sin(d2r * off)-(5025.64+1.11*t)*t; off = (off- 85886.27)/3600.0; } return off; } function mjul2mdy(JD) { var str; with(Math){ L = floor(JD + 0.5)+68569; N = floor((4*L)/146097); L -= floor((146097*N + 3)/4); IT = floor((4000*(L+1))/1461001); L -= floor((1461*IT)/4) - 31; JT = floor((80*L)/2447); K = L- floor((2447*JT)/80); L = floor(JT/11); JT += 2 - 12*L; IK = 100*(N-49) + IT + L; str = "(M/D/Y) "; str += floor(JT); // month str += "/" + floor(K); // day str += "/" + floor(IK); // year } return str; } function ut2gst(t,ut) { t0 = 6.697374558 + (2400.051336 * t) + (0.000025862 * t * t); ut *= 1.002737909; t0 += ut; while(t0 < 0.0)t0 += 24; while(t0 > 24.0)t0 -= 24; return t0; } function mmdy2julian(m,d,y) { with(Math){ im = 12 * (y + 4800) + m - 3; j = (2 * (im - floor(im/12) * 12) + 7 + 365 * im)/12; j = floor(j) + d + floor(im/48) - 32083; if(j > 2299171)j += floor(im/4800) - floor(im/1200) + 38; return j; } } function ecl2equ(ln,la,ob) { with(Math){ y = asin(sin(d2r *la ) * cos(d2r * ob ) + cos(d2r *la ) * sin(d2r *ob ) * sin(d2r * ln)); dc = r2d * y; y = sin(d2r *ln ) * cos(d2r * ob) - tan(d2r * la) * sin(d2r * ob); x = cos(d2r * ln); x = atan2(y,x); x = r2d * x; if(x < 0.0)x += 360; ra = x/15; } } function equ2ecl(ra,dc,ob) { ra *= 15; with(Math){ y = sin(d2r *ra) * cos(d2r * ob) + tan(d2r *dc) * sin(d2r * ob); x = cos(d2r * ra); x = atan2(y,x); x *= r2d; if(x < 0)x += 360; pln = x; y = asin(sin(d2r * dc) * cos(d2r * ob) - cos(d2r * dc) * sin(d2r * ob) * sin(d2r * ra)); pla = r2d * y; } } // build string with degrees, minutes, seconds and zodiac sign from longitude function mlon2dmsz(x) { with(Math){ var d,m,s; x = abs(x); d = floor(x); m = (x - d); s = m * 60; m = floor(s); s = s - m; z = floor(d/30); d %= 30; str = d + "° " + m + "\' " + floor(s * 60) + "\" " + zn1.substr(z*3,3); } return str; } function mooncalculate(){ // alert("in moon calculate"); with(Math){ var mon = floor(document.BhavaCalc.Month.value); var day = floor(document.BhavaCalc.Day.value); var year= floor(document.BhavaCalc.Year.value); var hr= floor(document.BhavaCalc.Hour.value); hr += floor(document.BhavaCalc.Min.value)/60; ////document.write("Hr: " +hr+"
"); var tz= floor(document.BhavaCalc.ZHour.value); tz += floor(document.BhavaCalc.ZMin.value)/60; ////document.write("Tz: " +tz+"
"); var ln= floor(document.BhavaCalc.LonDeg.value); ln += floor(document.BhavaCalc.LonMin.value)/60; ////document.write("ln: " +ln+"
"); var la= floor(document.BhavaCalc.LatDeg.value); la += floor(document.BhavaCalc.LatMin.value)/60; ////document.write("la: " +la+"
"); } // checks for checked DST, East, South //alert(day+"-"+mon+"-"+year); var dst = document.BhavaCalc.DST.value; var war=document.BhavaCalc.WAR.value; var eln = document.BhavaCalc.East; var sla = document.BhavaCalc.South; if(eln.checked)ln = -ln; ////document.write("eln: " +eln.checked+"
"); if(sla.checked)la = -la; //document.write("sla: " +sla.checked+"
"); if(dst==1){ if(ln < 0.0)tz++; else tz--; } if(dst==2){ if(ln < 0.0)tz=tz+2; else tz=tz-2; } if (war==1) { hr=hr-1; } jd = mmdy2julian(mon,day,year); //alert ("Julian day: "+jd); if(ln < 0.0)f = hr - tz; else f = hr + tz; t = (jd - 2451545 - 0.5)/36525; gst = ut2gst(t,f); t = ((jd - 2451545) + f/24 - 0.5)/36525; ay = calcayan(t); ob = 23.452294 - 0.0130125 * t; // Obliquity of Ecliptic // Calculate Moon longitude, latitude, and distance using truncated Chapront algorithm // Moon mean longitude l = (218.3164591 + 481267.88134236 * t); // Moon mean elongation d = (297.8502042 + 445267.1115168 * t); // Sun\'s mean anomaly m = (357.5291092 + 35999.0502909 * t); // Moon\'s mean anomaly mm = (134.9634114 + 477198.8676313 * t); // Moon\'s argument of latitude f = (93.2720993 + 483202.0175273 * t); d *= d2r; m *= d2r; mm *= d2r; f *= d2r; e = 1 - 0.002516 * t - 0.0000074 * t * t; with(Math){ p = 6.288774 * sin(mm) + 1.274027 * sin(d*2-mm) + 0.658314 * sin(d*2) + 0.213618 * sin(2*mm) - 0.185116 * e * sin(m) - 0.114332 * sin(f*2); p += 0.058793 * sin(d*2 - mm * 2) + 0.057066 * e * sin(d*2 - m - mm) + 0.053322 * sin(d*2 + mm) + 0.045758 * e * sin(d*2 - m) - 0.040923 * e * sin(m - mm) - 0.034720 * sin(d) - 0.030383 * e * sin(m + mm); p += 0.015327 * sin(d*2 - f*2) - 0.012528 * sin(mm + f*2) + 0.010980 * sin(mm - f*2) + 0.010675 * sin(d * 4 - mm) + 0.010034 * sin(3 * mm); p += 0.008548 * sin(d * 4 - mm * 2) - 0.007888 * e * sin(d * 2 + m - mm) - 0.006766 * e * sin(d * 2 + m) - 0.005163 * sin(d - mm) + 0.004987 * e * sin(d + m) + 0.004036 * e * sin(d*2 - m + mm) + 0.003994 * sin(d * 2 + mm * 2); b = 5.128122 * sin(f) + 0.280602 * sin(mm+f) + 0.277693 * sin(mm-f) + 0.173237 * sin(d*2-f) + 0.055413 * sin(d*2-mm+f) + 0.046271 * sin(d*2-mm-f); b += 0.032573 * sin(2*d + f) + 0.017198 * sin(2*mm + f) + 0.009266 * sin(2*d + mm - f) + 0.008823 * sin(2*mm - f) + 0.008247 * e * sin(2*d - m - f) + 0.004324 * sin(2*d - f - 2*mm); b += 0.004200 * sin(2*d +f+mm) + 0.003372 * e * sin(f - m - 2 * d) + 0.002472 * e * sin(2*d+f-m-mm) + 0.002222 * e * sin(2*d + f - m) + 0.002072 * e * sin(2*d-f-m-mm) + 0.001877 * e * sin(f-m+mm); b += 0.001828 * sin(4*d-f-mm) - 0.001803 * e * sin(f+m) - 0.001750 * sin(3*f) + 0.001570 * e * sin(mm-m-f) - 0.001487 * sin(f+d) - 0.001481 * e * sin(f+m+mm); r = 0.950724 + 0.051818 * cos(mm) + 0.009531 * cos(2*d - mm) + 0.007843 * cos(2*d) + 0.002824 * cos(2*mm) + 0.000857 * cos(2*d + mm) + 0.000533 * e * cos(2*d - m); r += 0.000401 * e * cos(2*d-m-mm) + 0.000320 * e * cos(mm-m) - 0.000271 * cos(d) - 0.000264 * e * cos(m+mm) - 0.000198 * cos(2*f - mm) + 0.000173 * cos(3 * mm); r += 0.000167 * cos(4*d - mm) - 0.000111 * e * cos(m) + 0.000103 * cos(4*d - 2*mm) - 0.000084 * cos(2*mm - 2*d) - 0.000083 * e * cos(2*d + m) + 0.000079 * cos(2*d + 2*mm) + 0.000072 * cos(4*d); } l += p; while(l < 0.0)l += 360.0; while(l > 360.0)l -= 360.0; // Parallax calculations are found in Meeus, Duffett-Smith, Astrologic Almanac (etc) // Topocentric calculations are done on RA and DEC // start parallax calculations ecl2equ(l,b,ob); ln = -ln; // flip sign of longitude ln /= 15; ln += gst; while(ln < 0.0)ln += 24; while(ln > 24.0)ln -= 24; h = (ln - ra) * 15; with(Math){ // calc observer latitude vars u = atan(0.996647 * tan(d2r *la)); // hh = alt/6378140; // assume sea level s = 0.996647 * sin(u); // assume sealevel c = cos(u); // + hh * cos(d2r(la)); // cos la\' -- assume sea level r = 1/sin(d2r * r); dlt = atan2(c * sin(d2r*h),r * cos(d2r * dc) - c * cos(d2r* h)); dlt *= r2d; hh = h + dlt; dlt /= 15; ra -= dlt; dc = atan(cos(d2r * hh) * ((r * sin(d2r * dc) - s)/ (r * cos(d2r *dc) * cos(d2r*h) - c)) ); dc *= r2d; } equ2ecl(ra,dc,ob); // dasha calculations l += ay; if(l < 0.0)l += 360.0; //alert(l); //document.BhavaCalc.moon.value=l; //alert ("Longitudes: " +l); //alert ("Moon degrees: " + mlon2dmsz(l)); //document.write("Moon Degrees: "+lon2dmsz(l)+"
"); var NKS=Array(27); var namakshar=Array(27); var PLN=Array(9); PLN[1]="Ke"; PLN[2]="Ve"; PLN[3]="Su"; PLN[4]="Mo"; PLN[5]="Ma"; PLN[6]="Ra"; PLN[7]="Ju"; PLN[8]="Sa"; PLN[9]="Me"; //NKS[1]="Ashwini"; //NKS[2]="Bharni"; //NKS[3]="Kritika"; //NKS[4]="Rohini"; //NKS[5]="Mrigshira"; //NKS[6]="Adra"; //NKS[7]="Pu.Wasu"; //NKS[8]="Pushya"; //NKS[9]="Ashlesha"; //NKS[10]="Magha"; //NKS[11]="PurwaPhalguni"; //NKS[12]="U.Falguni"; //NKS[13]="Hast "; //NKS[14]="Chitra "; //NKS[15]="Swati "; //NKS[16]="Vishakha "; //NKS[17]="Anuradha "; //NKS[18]="Jyeshtha "; //NKS[19]="Mula "; //NKS[20]="PurwaAshara "; //NKS[21]="UttarAshara "; //NKS[22]="Abhijit "; //NKS[23]="Shrawan "; //NKS[24]="Dhanishtha "; //NKS[25]="Shatbhisha "; //NKS[26]="PurwaBhadrapad "; //NKS[27]="UttraBhadrapad"; //NKS[28]="Rewati "; //--------------------------------- NKS[1]="Ashwini"; NKS[2]="Bharni"; NKS[3]="Kritika"; NKS[4]="Rohini"; NKS[5]="Mrigshira"; NKS[6]="Adra"; NKS[7]="Pu.Wasu"; NKS[8]="Pushya"; NKS[9]="Ashlesha"; NKS[10]="Magha"; NKS[11]="PurwaPhalguni"; NKS[12]="U.Falguni"; NKS[13]="Hast"; NKS[14]="Chitra"; NKS[15]="Swati"; NKS[16]="Vishakha"; NKS[17]="Anuradha"; NKS[18]="Jyeshtha"; NKS[19]="Mula"; NKS[20]="PurwaAshara"; NKS[21]="UttarAshara"; NKS[22]="Shrawan"; NKS[23]="Dhanishtha"; NKS[24]="Shatbhisha"; NKS[25]="PurwaBhadrapad"; NKS[26]="UttraBhadrapad"; NKS[27]="Rewati"; //-------------------------------- namakshar[1]="Chu ,Che ,Cho ,La "; namakshar[2]="Lee ,Loo ,Le ,Lo "; namakshar[3]="A ,e ,oo ,Ay "; namakshar[4]="O ,va ,vee ,Vu "; namakshar[5]="ve ,vo ,ka ,kee "; namakshar[6]="ku ,Gha ,Da,Cha "; namakshar[7]="Kay ,Ko ,Ha ,Hee "; namakshar[8]="Hoo ,Hay ,Ho ,Daa "; namakshar[9]="Dee ,Du ,De,Do "; namakshar[10]="Ma ,Mi ,Moo ,Mey "; namakshar[11]="Mo ,Ta ,Tee ,Too "; namakshar[12]="Tey ,To ,Paa ,Pee "; namakshar[13]="Poo ,Sha ,Ana ,Tha "; namakshar[14]="Pay ,Po ,Ra ,Ri "; namakshar[15]="Roo ,Re ,Ro,Taa "; namakshar[16]="Tee ,Too ,Tae ,To "; namakshar[17]="Na,Nee ,Noo ,Ney "; namakshar[18]="No ,Yaa ,Yee ,Yoo "; namakshar[19]="Yey ,Yoo ,Bha,Bhi"; namakshar[20]="Bhu,Dha,Pha,Dah"; namakshar[21]="Bhey,Bho,Ja ,Jee "; namakshar[22]="Ju,Jey,Jo,Kha"; namakshar[23]="Khi,Khu,Khey,Kho"; namakshar[24]="Gaa,Gee,Gu,Gey"; namakshar[25]="Go ,Sa ,Si ,Soo "; namakshar[26]="Sey ,Soo ,Da ,Dee "; namakshar[27]="Doo,Tha,Jha ,Na"; namakshar[28]="Dey,Doo,Cha,Che"; //for (i = 1;i<=10;i++) //{ xdf = Math.floor(l); xdd = xdf % 30; awq = (l - xdf) * 60; xmf = Math.floor(awq); xsf = Math.floor((awq - xmf) * 600 + 0.5) / 10; xss = Math.floor(xsf); signq = Math.floor(l / 30) + 1; //signq[1] = signA; //hosq = (signq - signA + 13) % 12; // if (hosq == 0) //{ hosq = 12; } lmw = l * 27 / 360; nkw = Math.floor(lmw) + 1; plw = nkw % 9; if (plw == 0) { plw = 9; } fz = (lmw - Math.floor(lmw)) / 0.25; mych = Math.floor(fz) + 1; getpl4 = xdd + ":" + xmf + ":" + xss; //document.write("Degrees: " + getpl4+"
"); getpl6 = NKS[nkw]; getpl8=PLN[plw]; //alert(getpl6); resultstr=""; var charname; if (getpl6 =="Ashwini") { //alert("i m here"); if (mych==1) { charname="1st"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the father can occur. It is advised that some remedial measures should be opted for."; } if (mych==2) { charname="2nd"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune for themselves and to their families too as in this case."; } if (mych==3) { charname="3rd"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune for themselves and to their families too as in this case."; } if (mych==4) { charname="4th"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune and financial gains for themselves and to their families too as in this case."; } } if (getpl6=="Ashlesha") { if (mych==1) { charname="1st"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune, financial gains and pleasure of Authority for themselves and to their families too as in this case."; } if (mych==2) { charname="2nd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, there could be sudden outflow of money in the family. It is advised that some remedial measures should be opted for."; } if (mych==3) { charname="3rd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the mother can occur. It is advised that some remedial measures should be opted for."; } if (mych==4) { charname="4th"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the father can occur. It is advised that some remedial measures should be opted for."; } } if (getpl6=="Magha") { if (mych==1) { charname="1st"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the mother can occur. It is advised that some remedial measures should be opted for."; } if (mych==2) { charname="2nd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the father can occur. It is advised that some remedial measures should be opted for."; } if (mych==3) { charname="3rd"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune and financial gains for themselves and to their families too as in this case."; } if (mych==4) { charname="4th"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune and financial gains for themselves and to their families too as in this case."; } } if (getpl6=="Jyeshtha") { if (mych==1) { charname="1st"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to Elder Brother can occur. It is advised that some remedial measures should be opted for."; } if (mych==2) { charname="2nd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to Younger Brother can occur. It is advised that some remedial measures should be opted for."; } if (mych==3) { charname="3rd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the mother can occur. It is advised that some remedial measures should be opted for."; } if (mych==4) { charname="4th"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, may face struggles and problems in life. It is advised that some remedial measures should be opted for."; } } if (getpl6=="Mula") { if (mych==1) { charname="1st"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the father can occur. It is advised that some remedial measures should be opted for."; } if (mych==2) { charname="2nd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, some tensions to the mother can occur. It is advised that some remedial measures should be opted for."; } if (mych==3) { charname="3rd"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, there could be sudden outflow of money in the family. It is advised that some remedial measures should be opted for.";} if (mych==4) { charname="4th"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune and financial gains for themselves and to their families too as in this case."; } } if (getpl6=="Rewati") { if (mych==1) { charname="1st"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune and financial gains for themselves and to their families too as in this case."; } if (mych==2) { charname="2nd"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune, financial gains and pleasures of Authority for themselves and to their families too as in this case."; } if (mych==3) { charname="3rd"; resultstr="As per the fundamentals of Astrology, it is not necessary that people born in Gandmool yoga always face miseries or they can cause trouble to the near ones. They can bring Good fortune and financial gains for themselves and to their families too as in this case."; } if (mych==4) { charname="4th"; resultstr="As per the fundamentals of Astrology, if the native/ person is born in "+getpl6+" Nakshatra "+ charname +" charan, may face struggles in life. It is advised that some remedial measures should be opted for."; } } //alert(resultstr); //document.write("Nakshatra: " +getpl6+ " and charan is: " + mych+"
"); document.BhavaCalc.nakshatra.value=getpl6; //document.write("name string is: "+namakshar[nkw]+"
"); if (getpl8=="Me" || getpl8=="Ke") { document.BhavaCalc.gandmool2.value="Yes!!!"; document.BhavaCalc.gandmool.value=resultstr; } else { document.BhavaCalc.gandmool2.value="No!!!"; resultstr="There is No Gandmool Dosha in your Birth Chart!"; document.BhavaCalc.gandmool.value=resultstr; } namealpha=namakshar[nkw].split(","); //document.write("namealpha[0]: "+namealpha[0]+"
"); //document.write("namealpha[1]: "+namealpha[1]+"
"); //document.write("namealpha[2]: "+namealpha[2]+"
"); //document.write("namealpha[3]: "+namealpha[3]+"
"); namealpha1=namealpha[mych-1]; //document.BhavaCalc.alphabet.value=namealpha1 document.BhavaCalc.charan.value=mych; return(l); //document.write("Moons Nakshatra is: " + getpl6 + " and Name Alphabet is: " + namealpha1+"
"); } '; ?>
What is Gandamool or Gandmool Nakshatra? There are 27 Nakshatras in Vedic Astrology; in the modern era most of the astrologers count 28 Nakshatras including Abhijit Nakshatra. Those Nakshatras which are ruled by Ketu and Mercury are known as Gandmool Nakshatra. These are basically 6 nakshatras namely Ashwini, Ashlesha, Magha, Jyestha, Moola and Revati.
read more
 
Name :
Date of Birth :    
Time of Birth :    
City :
  :
Name will be displayed here only


Nakshatra  
Charan  
Gandmool Dosha  
 
 

Make Complete Kundli
 
var d = new Date(); //Thus, variable d contains a new date object. We can now call the various methods of this date object. var t_date = d.getDate(); // Returns the day of the month var t_mon = d.getMonth(); // Returns the month as a digit var t_year = d.getFullYear(); // Returns 4 digit year var t_hour = d.getHours(); // Returns hours var t_min = d.getMinutes(); // Returns minutes var t_sec = d.getSeconds(); // Returns seocnds var t_mil = d.getMilliseconds; // Returns Milliseconds document.BhavaCalc.Day.value=t_date; document.BhavaCalc.Month.value=(t_mon+1); document.BhavaCalc.Year.value=t_year; document.BhavaCalc.Hour.value=t_hour; document.BhavaCalc.Min.value=t_min; document.BhavaCalc.mycity.value="Delhi"; checkCity("Delhi"); clickme("1724"); '; ?>