soundManager.url = 'soundManager2/soundmanagerv278a-20080920';
soundManager.debugMode=false;

var which_mp3_loaded=-1;
NUMBER_OF_108_NAMES=108;
MeaningArray = new Array();
MeaningArray[0]="Om Amriteswaryai namah<br />";
MeaningArray[1]=  "1. Om purna brahma - svarupinyai namah <br />Adorations to Amma, who is the complete manifestation of the Absolute Truth. (Brahman) ";
MeaningArray[2]=  "2. Om saccidananda  murttaye namah <br /> who is existence, knowledge, and bliss embodied. ";
MeaningArray[3]=  "3. Om atma ramagraganyayai namah <br />who is supreme among those who revel in the inner Self.    ";
MeaningArray[4]=  "4. Om yoga linantaratmane namah <br /> whose inner Self (pure mind) is merged in Yoga (the union of the individual Self  with ";
MeaningArray[5]=  "5. Om antar mukha svabhavayai namah<br />who is inwardly drawn by Her very nature.";
MeaningArray[6]=  "6. Om turya tunga sthalijjuse namah<br />who dwells in the top-most plane of consciousness known as ‘turiya’.";
MeaningArray[7]=  "7. Om prabha mandala vitayai namah<br />who is totally surrounded by Divine Light";
MeaningArray[8]=  "8. Om durasada mahaujase namah<br />whose greatness is unsurpassable.";
MeaningArray[9]=  "9. Om tyakta dig vastu kaladi sarvavacceda rasaye namah<br />who has risen above all the limitations of space, matter, and time";
MeaningArray[10]= "10. Om sajatiya vijatiya sviya bheda nirakrte namah<br />who has risen above all kinds of differences (‘differences’ as usually seen among the same species, between different species, and within one and the same individual.";
MeaningArray[11]= "11. Om vani buddhi vimrgyayai namaha<br />whom speech and intellect cannot apprehend.";
MeaningArray[12]= "12. Om sasvad avyakta vartmane namah<br />whose path is eternally undefined.";
MeaningArray[13]= "13. Om nama rupadi sunyayai namah<br />who is devoid of name and form.";
MeaningArray[14]= "14. Om sunya kalpa vibhutaye namah <br />to who the yogic powers are of no importance (like the whole world is unimportant when in dissolution).";
MeaningArray[15]= "15. Om sadaisvarya samudrayai namah <br />who has the auspicious marks of the six godly qualities (aisvarya, affluence; virya, valour;  yasas, fame;  sri, auspiciousness; jnanam, knowledge;vairagya; dispassion).";
MeaningArray[16]= "16. Om duri krta sad urmaye namah <br />who is devoid of the six modifications of life (birth, existence, growth, change, or evolution, degeneration, destruction).";
MeaningArray[17]= "17. Om nitya prabuddha samsuddha nirmuktatma prabhamuce namah <br />who is emanating the light of the Self, which is eternal, conscious, pure, and free.";
MeaningArray[18]= "18. Om karunyakula cittayai namah <br />whose heart is full of mercy.";
MeaningArray[19]= "19. Om tyakta yoga susuptaye namah <br />who has given up the yogic sleep.";
MeaningArray[20]= "20. Om kerala ksmavatirnayai namah <br />who has incarnated in the land of Kerala.";
MeaningArray[21]= "21. Om manusa stri vapurbhrte namah <br />who has a feminine body.";
MeaningArray[22]= "22. Om dharmistha sugunananda  damayanti svayam bhuve namah <br />who has incarnated of Her own will as the daughter of the virtuous Sugunananda and Damayanti.";
MeaningArray[23]= "23. Om mata pitr ciracirna punya pura phalatmane namah <br />who was born to Her parents as a result of their many virtuous deeds over many lives.";
MeaningArray[24]= "24. Om nissabda janani garbha nirgamatbhuta karmane namah <br />who did the miraculous deed of keeping silence when She came out of Her Mother’s womb.";
MeaningArray[25]= "25. Om kali sri krishna sankasa komala syamala tvise namah <br />who has the beautiful dark complexion reminiscent of Kali and Krishna.";
MeaningArray[26]= "26. Om cira nasta  punar labdha bhargava ksetra sampade namah <br />who is the wealth (treasure) of Kerala (land of Bhargava, an incarnation), lost for a long time and now regained.";
MeaningArray[27]= "27. Om mrta praya bhrgu ksetra  punar uddhita tejase namah <br />who is the life of the land of Kerala which was almost dying and is now resurrected.";
MeaningArray[28]= "28. Om sausilyadi gunakrsta jangama sthavaralaye namah <br />who by Her noble qualities, like good behavior etc., attracts the whole creation.";
MeaningArray[29]= "29. Om manusya mrga paksyadi  sarva samsevitanghraye namah <br />whose Feet are served by humans, animals, birds, and all others.";
MeaningArray[30]= "30. Om naisargika daya tirtha snana klinnantar’atmane namah <br />whose inner Self is always bathing in the holy river of mercy";
MeaningArray[31]= "31. Om daridra janata hasta samarpita  nijandhase namah <br />who offered Her own food to the poor.";
MeaningArray[32]= "32. Om anya vaktra pra bhuktanna  purita sviya kuksaye namah <br />whose stomach becomes full when others have their meals.";
MeaningArray[33]= "33. Om samprapta sarva bhutatma  svatma sattanubhutaye namah <br />who attained the experience that Her Self is one with the Self of all beings.";
MeaningArray[34]= "34. Om asiksita svayam svanta sphurat krishna vibhutaye namah <br />who knew all about Krishna without being taught. (In whose mind dawned all the Godly qualities of Krishna.";
MeaningArray[35]= "35. Om acchinna madhurodara  krishna lilanusandhaye namah <br />who continuously contemplated on the sweet sports of Lord Krishna.";
MeaningArray[36]= "36. Om nandatmaja mukhaloka  nityotkanthita cetase namah <br />whose mind ever craves to see the face of the Son of Nanda (Krishna)";
MeaningArray[37]= "37. Om govinda  viprayogadhi dava dagdantar’atmane namah <br />whose mind was burning in the fire of the agony of separation from Govinda (Krishna).";
MeaningArray[38]= "38. Om viyoga soka sammurccha muhur patita varsmane namah <br />who often fell down unconscious, due to the grief of non-union with Krishna.";
MeaningArray[39]= "39. Om sarameyadi  vihita susrusa labdha  buddhaye namah <br />who regained consciousness by the proper nursing given by dogs and other animals.";
MeaningArray[40]= "40. Om prema bhakti balakrsta pradur bhavita  sarngine namah <br />whose supreme love drew Krishna by force, as it were, to manifest Himself before Her.";
MeaningArray[41]= "41. Om krishna loka  mahahlada dhvasta  sokantar’atmane namah <br />whose mind was relieved of its agony by the immense joy of the vision of Krishna.";
MeaningArray[42]= "42. Om kanci candraka manjira  vamsi  sobhi  svabhu - drse namah <br />who had the vision of the shining form of Krishna, with golden ornaments such as girdles, anklets, peacock feather, and flute";
MeaningArray[43]= "43. Om sarvatrika  risikesa  sannidhya  lahari sprse namah <br />who felt the all-pervading presence of Hrisikesa (another name for Krishna meaning one who has conquered all the senses.";
MeaningArray[44]= "44. Om susmera tan  mukhaloka  vi smerotphulla drstaye namah <br />whose eyes remained wide open with joy on beholding the smiling face of Krishna.";
MeaningArray[45]= "45. Om tat kanti yamuna sparsa hrsta  romanga yastaye namah <br />whose hair stood on end when She touched the river of His beauty.";
MeaningArray[46]= "46. Om apratiksita  samprapta devi rupopalabdhaye namah <br />who had an unexpected vision of the Divine Mother.";
MeaningArray[47]= "47. Om pani padma  svapadvina  sobhaman’ambikadrse namah <br />who had the vision of the Divine Mother holding the veena in Her lotus hand.";
MeaningArray[48]= "48. Om devi sadyas tirodhana  tapa vyathita cetase namah <br />whose heart was burnt in the fire of soma on the Divine Mother’s sudden disappearance.";
MeaningArray[49]= "49. Om dina rodana nir dhosa dirna dikkarna vartmane namah <br />whose sorrowful wailing was rending the ears of the four quarters.";
MeaningArray[50]= "50. Om tyaktanna pana  nidradi sarva daihika dharmane namah <br />who gave up all bodily activities like eating, drinking, sleeping, etc.";
MeaningArray[51]= "51. Om kuraradi samanita bhaksya posita varsmane namah <br />whose body was nourished by the food brought by the birds and other animals.";
MeaningArray[52]= "52. Om vina -  nisyanti sangita lalita sruti nalaye namah <br />whose ears became filled by the waves of divine melodies.";
MeaningArray[53]= "53. Om apara paramananda  lahari magna cetase namah <br />whose mind was merged in the intoxicating, limitless, supreme bliss.";
MeaningArray[54]= "54. Om candika bhikarakara  darsanalabdha sarmane namah <br />whose mind was filled with peace by the vision of the terrible form of the Divine Mother (Chandika).";
MeaningArray[55]= "55. Om santa rupamrtajhari parana  nirvrtatmane namah <br />who was filled with ecstasy drinking from the ambrosial river of the blissful aspect of the Divine Mother";
MeaningArray[56]= "56. Om sarada - smarakasesa svabhava guna sampade namah <br />whose nature and qualities remind us of Sri Sarada Devi.";
MeaningArray[57]= "57. Om prati bimbita candreya saradobhaya murttaye namah <br />in who is reflected the dual form of Sri Ramakrishna and Sri Sarada Devi.";
MeaningArray[58]= "58. Om tannadakabhinayana nitya rangayitatmane namah <br />in whom we can see the play of these two re-enacted.";
MeaningArray[59]= "59. Om candreya sarada keli kallolita sudhabdhaye namah <br />who is the ocean of ambrosia in which the waves of the various plays of Sri Ramakrishna and Sri Sarada Devi arise.";
MeaningArray[60]= "60. Om uttejita bhrgu ksetra daiva caitanya  ramhase namah <br />who has enhanced the divine potentialities of Kerala.";
MeaningArray[61]= "61. Om bhuyah pratyavaruddharsa divya samskara rasaye namah <br />who has re-established the eternal, divine values enunciated by the rishis.";
MeaningArray[62]= "62. Om aprakrtat bhutananda kalyana guna sindhave namah <br />who is an ocean of divine qualities which are natural, wondrous, infinite.";
MeaningArray[63]= "63. Om aisvarya virya kirti sri jnana vairagya vesmane namah <br />who is the embodiment of aisvarya (rulership), virya (valour), kirti (fame), Sri (auspiciousness), jnana (knowledge), and vairagya (dispassion). (Six characteristics of Divine Personification).";
MeaningArray[64]= "64. Om upatta bala gopala  vesa bhusa vibhutaye namah <br />who assumed the form and qualities of Bala Gopala (the child Krishna).";
MeaningArray[65]= "65. Om smera snigdha kadaksayai namah <br />whose glances are most sweet and loving.";
MeaningArray[66]= "66. Om svairadyusita vedaye namah <br />who leads programs playfully on the dais.";
MeaningArray[67]= "67. Om pincha kundala manjira  vamsika   kinkini bhrte namah <br />who wore all the ornaments, the peacock feather, the earrings, the anklets, and the flute, like Krishna.";
MeaningArray[68]= "68. Om bhakta lokakhila bhista  purana   prinanecchave namah <br />who is keen to please the world of devotees by fulfilling all their desires.";
MeaningArray[69]= "69. Om pitharudha mahadevi bhava bhasvara murttaye namah <br />who in the mood of the Great Divine Mother, seated on the peetham (Divine seat) looks divinely resplendent.";
MeaningArray[70]= "70. Om bhusan’ambara vesa sri  dipya manamga yastaye namah <br />whose entire body shines, adorned by ornaments and unique dress like that of the Divine Mother.";
MeaningArray[71]= "71. Om suprasanna mukhambhoja varabhayada  panaye namah <br />who has a bright, beaming face, as beautiful as a lotus flower, and who holds Her hand in the posture of blessing.";
MeaningArray[72]= "72. Om kirita rasanakarna pura svarna padi bhrte namah <br />who wears all the various gold ornaments and the crown, like the Divine Mother.";
MeaningArray[73]= "73. Om jihva lidha maha rogi bibhatsa vrnita tvace namah <br />who licks with Her tongue the festering ulcers of people stricken with terrible diseases.";
MeaningArray[74]= "74. Om tvag roga dhvamsa nisnata  gaurangapara murttaye namah <br />who, like Sri Chaitanya, is an adept in removing skin diseases.";
MeaningArray[75]= "75. Om steya himsa surapana dyasesadharma vidvise namah <br />who strongly disapproves of bad qualities like stealing, injuring others, using intoxicants, etc.";
MeaningArray[76]= "76. Om tyaga vairagya maitryadi sarva  sadvasana  puse namah <br />who encourages the cultivation of good qualities, like renunciation, dispassion, Love, etc.";
MeaningArray[77]= "77. Om padasrita manorudha dussamskara rahomuse namah <br />who steals away all bad tendencies from the hearts of those who have taken refuge in Her Lotus Feet.";
MeaningArray[78]= "78. Om prema bhakti sudhasikta sadhu citta guhajjuse namah <br />who resides in the cave of the hearts of the pious that are drenched with the nectar of evotion.";
MeaningArray[79]= "79. Om sudhamani maha namne namah <br />who has the great name Sudhamani.";
MeaningArray[80]= "80. Om subhasita sudha muce namah <br />whose speech is as swee as ambrosia.";
MeaningArray[81]= "81. Om amrtananda mayyakhya janakarna puta sprse namah <br />whose name, as Amritanandamayi, resounds all over the world (reaching the ears of the masses).";
MeaningArray[82]= "82. Om drpta data viraktayai namah <br />who is indifferent to the offerings by vain and worldly people.";
MeaningArray[83]= "83. Om namrarpita bhubhuksave namah <br />who accepts the food offered by devotees with humility.";
MeaningArray[84]= "84. Om utsrsta bhogi samgayai namah <br />who is disinclined to be in the company of pleasure seekers.";
MeaningArray[85]= "85. Om yogi samga riramsave namah <br />who cherishes the company of yogis.";
MeaningArray[86]= "86. Om abhinandita danadi subha karma bhivrddhaye namah <br />who encourages good actions, like charity, etc.";
MeaningArray[87]= "87. Om abhivandita nissesa  sthira jamgama  srstaye namah <br />who is worshipped by the sentient and insentient beings of the world.";
MeaningArray[88]= "88. Om protsahita  brahma vidya  sampradaya pravrttaye namah <br />who encourages the learning of Brahmavidya, the science of the Absolute through the traditional Guru disciple lineage.";
MeaningArray[89]= "89. Om punar’asadita srestha tapovipina vrttaye namah <br />who brought back the great way of living of the sages of the forests.";
MeaningArray[90]= "90. Om bhuyo gurukula vasa siksanotsuka medhase namah <br />who is keen on re-establishing the ‘gurukula’ way of education.";
MeaningArray[91]= "91. Om aneka naisthika brahmacari  nirmatr vedhase namah <br />who is a Mother to many, many life-long brahmacharins.";
MeaningArray[92]= "92. Om sisya samkramita sviya projvalat brahma varcase namah <br />who has transmitted Her Divine brilliance to Her disciples.";
MeaningArray[93]= "93. Om antevasi janasesa cesta patita  drstaye namah <br />who watches over all the actions of the disciples.";
MeaningArray[94]= "94. Om mohandha kara sancari loka nugrahi rocise namah <br />who delights in blessing the worlds, moving like a heavenly light, dispelling the darkness.";
MeaningArray[95]= "95. Om tamah klista mano vrsta svaprakasa subhasise namah <br />who sheds the light of Her blessings on the hearts of those suffering in the darkness of ignorance.";
MeaningArray[96]= "96. Om bhakta suddhanta ramgastha  bhadra dipa sikha tvise namah <br />who is the bright flame of the lamp kindled in the pure heart of devotees.";
MeaningArray[97]= "97. Om saprithi bhukta bhaktaughanyarpita sneha sarpise namah <br />who enjoys drinking the ghee (butter) offered by the devotees.";
MeaningArray[98]= "98. Om sisya varya sabha madhya  dhyana yoga vidhitsave namah <br />who likes to sit with the disciples in meditation.";
MeaningArray[99]= "99. Om sasvalloka hitacara magna  dehendriyasave namah <br />whose body and senses are always engaged in actions for the good of the world.";
MeaningArray[100]="100. Om nija punya pradananya papadana cikirsave namah <br />who is happy in exchanging Her own merits with the demerits of others.";
MeaningArray[101]="101. Om para svaryapana sviya  naraka prapti  - lipsave namah <br />who is happy in exchanging heaven with hell for the relief of others.";
MeaningArray[102]="102. Om rathotsava calat kanya kumari martya murttaye namah <br />who is Kanya Kumari (Goddes of Cape Comarin) in human form, as on the occasion of the chariot festival.";
MeaningArray[103]="103. Om vimo harnava  nirmagna  bhrgu ksetrojjihirsave namah <br />who is anxious to uplift the land of Kerala, which is immersed in the ocean of ignorance.";
MeaningArray[104]="104. Om punassanta nita dvaipayana satkula tantave namah <br />who has extended the great lineage of Sage Veda Vyasa (who took birth in the  community of fisher folks)";
MeaningArray[105]="105. Om veda sastra puranetihasa sasvata bandhave namah <br />who is the eternal friend of the vedic knowledge and all other spiritual texts.";
MeaningArray[106]="106. Om bhrgu - ksetra samun milat para daivata tejase namah <br />who is the Divine glory of the awakening land of Kerala.";
MeaningArray[107]="107. Om devyai namah <br />who is the Great Divine Mother.";
MeaningArray[108]="108. Om premamrtanandamayyai nityam namo namah <br /> (3x)who is full of Divine Love and Immortal Bliss.";

//soundManager.onload = function() {
  // SM2 has loaded - now you can create and play sounds!
//  soundManager.createSound('oan','audio/0.mp3');
//  soundManager.play('oan');
//}
function ahamVaisanaroPlay() {
   soundManager.createSound('ahamVaisanaro','audio/foodPrayer/ahamVaisanaro.mp3');
   soundManager.play('ahamVaisanaro');
}
function brahmArpanamPlay() {
   soundManager.createSound('brahmArpanam','audio/foodPrayer/brahmArpanam.mp3');
   soundManager.play('brahmArpanam');
}

function contPlay() {
   soundManager.createSound('108Names','audio/108Names.mp3');
   soundManager.play('108Names');
}
function stopPlay() {
   soundManager.stop('108Names');
}
function resumePlay() {
   soundManager.resume('108Names');
}
function pausePlay() {
   soundManager.pause('108Names');
}

function changeMP3(direction) {
          which_mp3_loaded = parseInt(which_mp3_loaded)+direction;

          if (which_mp3_loaded < 0)
              which_mp3_loaded = NUMBER_OF_108_NAMES;
          if (which_mp3_loaded > NUMBER_OF_108_NAMES)
              which_mp3_loaded = 0;
        if (document.getElementById) {
              strChant="audio/"+which_mp3_loaded+".mp3";
              //alert(strChant);
              soundManager.createSound("'"+which_mp3_loaded+"'",'audio/'+which_mp3_loaded+'.mp3');
              soundManager.play("'"+which_mp3_loaded+"'");
              document.getElementById('108name').innerHTML = MeaningArray[which_mp3_loaded].substr(0,MeaningArray[which_mp3_loaded].indexOf("<br />",0));
              document.getElementById('108nameMeaning').innerHTML = MeaningArray[which_mp3_loaded].substr(MeaningArray[which_mp3_loaded].indexOf("<br />",0)+6);
              }
}

function play_selected_name(mp3) {
        which_mp3_loaded=mp3;
        if (document.getElementById) {
              strChant="audio/"+which_mp3_loaded+".mp3";
              //alert(strChant);
              soundManager.createSound("'"+which_mp3_loaded+"'",'audio/'+which_mp3_loaded+'.mp3');
              soundManager.play("'"+which_mp3_loaded+"'");
              document.getElementById('108name').innerHTML = MeaningArray[which_mp3_loaded].substr(0,MeaningArray[which_mp3_loaded].indexOf("<br />",0));
              document.getElementById('108nameMeaning').innerHTML = MeaningArray[which_mp3_loaded].substr(MeaningArray[which_mp3_loaded].indexOf("<br />",0)+6);
              }
}

function addOption(selectbox,text,value )
{
var optn = document.createElement("OPTION");
optn.text = text;
optn.value = value;
selectbox.options.add(optn);
}
function addOption_list() {
  for (var i=0; i < 109;++i){
  addOption(document.drop_list.name_list, MeaningArray[i].substr(0,MeaningArray[i].indexOf("<br />",0)), i);
  }
}

