function openlink(){
if (( linkWin==null) || (linkWin.closed)){
var linkWin=window.open ("addlink.html","linkWindow","width=540px,height=565px");}
else{
linkWin.location='addlink.html';
}
}


function display_menu(str,flname){
if (flname=="sl"){
if (str=="dp"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
		"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+ 
		"<tr><td align='center' height='15px'>"+ 
		"<a class=temp_link target='icontent' href='Slokas/WakeupPrayer.html'>Wake up prayer</a></td></tr>"+
		"<tr><td align='center' height='15px'>"+ 
	 "<a class=temp_link target='icontent' href='Slokas/Bathingprayer.html'> Bathing prayer</a></td></tr>"+	
	 	"<tr><td align='center' height='15px'>"+ 
	 "<a class=temp_link target='icontent' href='Slokas/night.html'> Night time prayer</a></td></tr>"+	
		"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+ 
		"</table>"
	}
	else if (str=="gp"){
side_bar_menu.innerHTML="<table width='200' height='300px' cellspacing='0' cellpadding='0' align='center' valign='top'>"+
		"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoLordShiva.html'> Shiva</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoSaraswathy.html'> Saraswathy</a></td></tr>"+
		"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoDathathreya.html'> Dathathreya</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoGanesa.html'> Ganesha</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoHanuman.html'> Hanuman</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoLordSubrahamanya.html'> Subrahmanya</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoParvathy.html'> Parvathy</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoSun.html'> Sun</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoIyappa.html'> Iyappa</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoLakshmi.html'> Lakshmi</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoLordKrishna.html'> Krishna</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link target='icontent' href='Slokas/PrayertoLordRama.html'> Rama</a></td></tr>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
	}
	else if (str=="sp"){
side_bar_menu.innerHTML="<table width='200'  cellspacing='0' cellpadding='0' align='center' valign='top'>"+
	 	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
		"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Slokas/Prayerforpeace.html'> Peace</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Slokas/PrayertoTeacher.html'> Teacher</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Slokas/Prayertolamp.html'> Lamp</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Slokas/Ramayana.html'> Ramayana</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Slokas/StoryofKrishna.html'>Krishna</a></td></tr>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
	}
	}

	else if (flname=="st"){
if (str=="as"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Thewolfandthesevenlambs.html'> The wolf and the seven lambs</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Elephantsdontforget.html'> Elephants don't forget</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/MonkeyandtheCrocodile.html'> Monkey and the crocodile</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Monkeyandthedrum.html'> Monkey and the drum</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Sultanthedog.html'> Sultan the dog</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Thedonkeythedogthecatandthecock.html'> The donkey, the dog, the cat and the cock</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Thefoxwhomarriedagirl.html'> The fox who married the girl</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/animaltales/Thewisemerchantandthecheatingdonkey.html'> The wise merchant and the cheating donkey</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
	}
else if(str=="fs"){
side_bar_menu.innerHTML="<table width='200'  align='center'  ' valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/Thiruvazhuthanandthequeen.html'> Thiruvazhuthan and the queen</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/FoxandtheCreamBiscuit.html'> Fox and the cream biscuit</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/Immathadi.html'> Immathadi</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/MookuPoi.html'> Mooku poi</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/SubbaSastryandSugar.html'> Subba sastry and the sugar</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/Tenaliramanandthehorse.html'> Tenaliraman and the horse</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/TheFourFriends.html'> The four friends </a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/TheFoxandtheHeaven.html'> The fox and the heaven</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/TheLaughingRajma.html'> The laughing Rajma</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/TheSoninlaw.html'> The son-in-law</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/TheStoryofTenaliRamanandthecat.html'> The story of Tenaliraman and the cat</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/folkstales/Thiruvazhuthanandtheking.html'> Thiruvazhuthan and the king</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}
else if(str=="rs"){
side_bar_menu.innerHTML="<table width='200'  align='center'  ' valign='top'>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Viswamithra.html'> Viswamithra</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/AgasthyaandVathapi.html'> Agasthya and Vathapi</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Dasarathaandtheblindparents.html'> Dasaratha and the blind parents</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/DronastesttothePandavas.html'> Drona's test to the Pandavas</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/DurvasaandthePandavas.html'> Durvasa and the Pandavas</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/DushyanthaandShakunthala.html'> Dushyantha and Shakunthala</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Hanumanthemischievouschild.html'> Hanuman the mischievous child</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Valmiki.html'> Valmiki</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/JanakaandSita.html'> Janaka and Sita</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/KillingofBakasura.html'> Killing of Bakasura</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/NalaDamayanthi.html'> Nala Damayanthi</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Parasuramathedutifulson.html'> Parasurama the dutifull son</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/RavanaandGokarna.html'> Ravana and Gokarna</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Ravanaandhisbrothers.html'> Ravana and his brothers</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/SabarithegreatdevoteeofRama.html'> Sabari the great devotee of Rama</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/SampathiandJadayu.html'> Sampathi and Jadayu</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/SamyukthaandChyavana.html'> Samyuktha and Chyavana</a></td></tr>"+
	"<tr><td align='center' height='10px'><a class=temp_link  target='icontent' href='Stories/religioustales/Storyofthegoldensquirrel.html'> Story of the golden squirrel</a></td></tr>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}

else if(str=="ms"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/magicaltales/HamsaPuthraorthesonofaswan.html'> Hamsa Puthra or The Son of the swan</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/magicaltales/Amrapali.html'> Amrapali</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}

else if(str=="ps"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/VeerVikramandBudhu.html'> Veer , Vikram and Budhu</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Avinashwhoknewthreelanguages.html'> Avinash who knew three languages</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/GadbadPattan.html'> Gadbad Pattan</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/KittutheFisherman.html'> Kittu the fisherman</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Kuppuswami.html'> Kuppuswami</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/LordYamaschair.html'> Lord Yama's chair</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Ramathegulliblefarmer.html'> Rama - the gullible farmer</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Rameshwhowantedtolearnshivering.html'> Ramesh who wanted to know shivering</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/RaviRameshandKittu.html'> Ravi, Ramesh and Kittu</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Sharmatheproud.html'> Sharma the proud</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Subbantheastrologer.html'> Subban the astrologer</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Thebagcapandthewhistle.html'> The bag, cap and the whistle</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/Thecocktheknifeandthecat.html'> The cock, the knife and the cat</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/ThegreatMusician.html'> The great musician</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/TheTailorandhiswife.html'> The Tailor and his wife </a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/peoplestales/TheThreebrothers.html'> The three brothers</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}

else if(str=="rys"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Vikramandfriends.html'> Vikram and his friends</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Arjunthewise.html'> Arjun the wise</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/BabuandBikram.html'> Babu and Vikram</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Gopalthelittletailor.html'> Gopal the little tailor</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Govind,GopalandSubbu.html'> Govind, Gopal and Subbu</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Indexofroyaltales.html'> Index of Roral tales</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/KingVakraNasa.html'> King Vakra Nasa</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/MandukaThefrogprince.html'> Manduka-The frog prince</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/PrincessGhulab.html'> Princess Ghulab</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Ramathegood.html'> Rama the good</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/SamudraGupthathescholarking.html'> Samudra Guptha the scholar king</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Sathyatheliar.html'> Sathya the liar</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/Thegoldenbird.html'> The golden bird</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/ThelazyMeera.html'> The lazy Meera</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Stories/royaltales/TheTwelveBrothers.html'> The Twelve Brothers</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}

}
	else if (flname=="ry"){
	if (str=="er"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/tanjoredoll.html'> Tanjore doll</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/ballball.html'> Ball ball</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Cobbler,cobbler,mendmyshoe.html'> Mend my shoe</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/DancetoyourAppa.html'> Dance to your appa</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Dingdoingbell.html'> Ding dong bell</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/hotsteamingrotis.html'> Hot steaming rotis</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/howmany.html'> How many?</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Hungryactivemice.html'> Hungry active mice</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/onetwothreefourfive.html'> One, two, three, four, five</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/rainrain.html'> Rain, rain</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/ShyamandSita.html'> Shyama and Sita</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}
else if(str=="ir"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Vandiyilo.html'> Vandiyilo</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/AmmaIngeVa.html'> Amma Inge va</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/ChanjadammaChanjadu.html'> Chanjadamma Chanjadu</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Dhakiya.html'> Dhakiya</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Kaakekakke.html'> Kaake, kaake</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/KaiVeesammakaiveesu.html'> Kai veesamma, Kai Veesu</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Mazhaiyemazhaiyevaa.html'> Mazhaiye, mazhaye vaa</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/nayimari.html'> Moo moo red cow</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Nilanilaodivaa.html'> Nila, nila odi vaa</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Onnumrandum.html'> Onnum rendum</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/OnnuRenduMoonu.html'> Onnu, rendu, Moonu</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/PavaKutti.html'> Pava kutti</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Pukkozhi.html'> Pukkozhi</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/PyasaKauva.html'> Pyasa Kauva</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/VaaKuruvi.html'> Vaa Kuruvi</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Rhymes/Nilanilaodivaa.html'> Nila Nila odivaa</a></td></tr>"+
"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}

}
else if (flname=="pr"){
side_bar_menu.innerHTML="<table width='200'  align='center'  valign='top'>"+
	"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/VedaVyasa.html'> Veda Vyasa</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/AdhiSankara.html'> Adhi Sankara</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/Akbarthegreat.html'> Akbar the great</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/Asokathegreat.html'> Asoka the great</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/CVRaman.html'> C.V.Raman</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/GautamaBuddha.html'> Gauthama the Buddha</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/IswaraChandraVidhyaSagar.html'> Iswara Chandra Vidhya Sagar</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/JawaharlalNehru.html'> Jawaharlal Nehru</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/MahathmaGandhi.html'> Mahathma Gandhi</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/RabindranathTagore.html'> Rabindranath Tagore</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/SaintRamanuja.html'> Saint Ramanuja</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/SrinivasaRamanujan.html'> Srinivasa Ramanujan</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/sen.html'> Amartya Sen</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/swami.html'> Dr. Swaminathan</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/kalam.html'> Dr. Abdul Kalam</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/murthy.html'> Narayana Murthy</a></td></tr>"+
	"<tr><td align='center' height='15px'><a class=temp_link  target='icontent' href='Persons/ravi.html'> Ravi Shankar</a></td></tr>"+

"<tr><td align='center' height='3px'  bgcolor='#660000'></td></tr>"+
	"</table>"
}


	}

	
	
	
	
var myPic1 = new Image(210,35);
var mypic2= new Image();

    myPic1.src = "images/cellbackgroundmain.jpg"
		mypic2.src="images/cellbackground.jpg"

 var pageName = "Raja thatha's corner";
 var storiesSet=new Array(31)
  var slokasSet=new Array(31)
storiesSet[1]="Stories/animaltales/Elephantsdontforget.html"
storiesSet[2]="Stories/peoplestales/Avinashwhoknewthreelanguages.html"
storiesSet[3]="Stories/religioustales/NalaDamayanthi.html"
storiesSet[4]="Stories/royaltales/GovindGopalandSubbu.html"
storiesSet[5]="Stories/peoplestales/RaviRameshandKittu.html"
storiesSet[6]="Stories/religioustales/KillingofBakasura.html"
storiesSet[7]="Stories/animaltales/Sultanthedog.html"
storiesSet[8]="Stories/royaltales/Ramathegood.html"
storiesSet[9]="Stories/folkstales/MookuPoi.html"
storiesSet[10]="Stories/animaltales/Thewisemerchantandthecheatingdonkey.html"
storiesSet[11]="Stories/folkstales/Thiruvazhuthanandthequeen.html"
storiesSet[12]="Stories/folkstales/Immathadi.html"
storiesSet[13]="Stories/peoplestales/Ramathegulliblefarmer.html"
storiesSet[14]="Stories/folkstales/SubbaSastryandSugar.html"
storiesSet[15]="Stories/folkstales/Tenaliramanandthehorse.html"
storiesSet[16]="Stories/folkstales/Thiruvazhuthanandtheking.html"
storiesSet[17]="Stories/peoplestales/VeerVikramandBudhu.html"
storiesSet[18]="Stories/animaltales/MonkeyandtheDrum.html"
storiesSet[19]="Stories/peoplestales/LordYamaschair.html"
storiesSet[20]="Stories/religioustales/DurvasaandthePandavas.html"
storiesSet[21]="Stories/royaltales/KingVakraNasa.html"
storiesSet[22]="Stories/peoplestales/TheTailorandhiswife.html"
storiesSet[23]="Stories/animaltales/Thewolfandthesevenlambs.html"
storiesSet[24]="Stories/religioustales/Viswamithra.html"
storiesSet[25]="Stories/royaltales/PrincessGhulab.html"
storiesSet[26]="Stories/religioustales/AgasthyaandVathapi.html"
storiesSet[27]="Stories/religioustales/Dasarathaandtheblindparents.html"
storiesSet[28]="Stories/religioustales/SamyukthaandChyavana.html"
storiesSet[29]="Stories/royaltales/Gopalthelittletailor.html"
storiesSet[30]="Stories/religioustales/Valmiki.html"
storiesSet[31]="Stories/royaltales/ThelazyMeera.html"


slokasSet[1]="Slokas/WakeupPrayer.html"
slokasSet[2]="Slokas/Bathingprayer.html"
slokasSet[3]="Slokas/PrayertoSaraswathy.html"
slokasSet[4]="Slokas/Prayerforpeace.html"
slokasSet[5]="Slokas/PrayertoDathathreya.html"
slokasSet[6]="Slokas/PrayertoGanesa.html"
slokasSet[7]="Slokas/PrayertoHanuman.html"
slokasSet[8]="Slokas/PrayertoIyappa.html"
slokasSet[9]="Slokas/PrayertoLakshmi.html"
slokasSet[10]="Slokas/Prayertolamp.html"
slokasSet[11]="Slokas/PrayertoLordKrishna.html"
slokasSet[12]="Slokas/PrayertoLordRama.html"
slokasSet[13]="Slokas/PrayertoLordShiva.html"
slokasSet[14]="Slokas/PrayertoLordSubrahamanya.html"
slokasSet[15]="Slokas/PrayertoParvathy.html"
slokasSet[16]="Slokas/PrayertoSun.html"
slokasSet[17]="Slokas/PrayertoTeacher.html"
slokasSet[18]="Slokas/Ramayana.html"
slokasSet[19]="Slokas/StoryofKrishna.html"
slokasSet[20]="Slokas/PrayertoDathathreya.html"
slokasSet[21]="Slokas/PrayertoGanesa.html"
slokasSet[22]="Slokas/PrayertoHanuman.html"
slokasSet[23]="Slokas/PrayertoIyappa.html"
slokasSet[24]="Slokas/PrayertoLakshmi.html"
slokasSet[25]="Slokas/Prayertolamp.html"
slokasSet[26]="Slokas/PrayertoLordKrishna.html"
slokasSet[27]="Slokas/PrayertoLordRama.html"
slokasSet[28]="Slokas/PrayertoLordShiva.html"
slokasSet[29]="Slokas/WakeupPrayer.html"
slokasSet[30]="Slokas/Bathingprayer.html"
slokasSet[31]="Slokas/PrayertoTeacher.html"


var newwindow;
function addToFavorites()
 {
   if (window.external)
  {
   window.external.AddFavorite("http://www.geocities.com/raja_thatha_corner/", pageName)
  }
  else
  { 
   alert("Sorry! Your browser doesn't support this function.");
  }
 }
 
 
function fav_files(){
document.getElementById("fav1").href="javascript:fav_files_open('st');"
document.getElementById("fav2").href="javascript:fav_files_open('sl');"
document.getElementById("fav1").innerHTML="Story of the day";
document.getElementById("fav2").innerHTML="Sloka of the day";

}


function fav_files_open(d)
{
var today=new Date();
var todate=today.getDate();
var nWin;
var flag;
if (d=='st'){
var flag=storiesSet[todate]
}
else if(d=='sl'){
var flag=slokasSet[todate]
}
if (( nWin==null) || nWin.closed){
        var nwin=window.open(flag,'newwindow','height=600px,width=700px,resizable=yes,scrollbars=yes')
}
else{
 nWin.location='flag';
nWin.focus;

}

}


function showtooltip(){
if (document.all){
tooltip.style.visibility="visible";
}else if (document.layers){
document.tooltip.visibility="show";
}
}

function hidetooltip(){
if (document.all){
tooltip.style.visibility="hidden";
}else if (document.layers){
document.tooltip.visibility="hide";
}
}


function load_frame(txt){
if (txt=='sl'){
window.frames['icontent'].location ="Slokas/sloka_content.html";
}
else if (txt=='ry'){
window.frames['icontent'].location ="Rhymes/rhymes_content.html";
}
else if (txt=='st'){
window.frames['icontent'].location ="Stories/story_content.html";
}
else if (txt=='pr'){
window.frames['icontent'].location ="Persons/Personalitiesindex.html";
}
}
function dance(){
if (document.getElementById("fairy").height=="89")
{
document.getElementById("fairy").height="69"
document.getElementById("fairy").width="49"

}
else
{
document.getElementById("fairy").height="89"
document.getElementById("fairy").width="69"
}
var t=setTimeout("dance()",1000);
}
var domainroot="http://rajathathacorner.awardspace.com"

function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}

function printpage() 
{ 
window.frames['icontent'].focus();
window.print();
} 


function storylineshow(tdid){
if (document.all){
tdid.style.visibility="visible"
}
else if (document.layers){
document.tdid.visibility="show";
}
}


function storylinehide(tdid){
if (document.all){
tdid.style.visibility="hidden"
}
else if (document.layers){
document.tdid.visibility="hide";
}
}

