if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png", "speedTip": aH "Insert Superscript", "tagOpen": aH "<sup>", "tagClose": aH "</sup>", "sampleText": aH ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", "speedTip": aH "Line break", "tagOpen": aH "<br />", "tagClose": aH "", "sampleText": aH ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", "speedTip": aH "Redirect", "tagOpen": aH "#REDIRECT [[", "tagClose": aH "]]", "sampleText": aH "Insert text"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//www.kavitakosh.org/kk/images/c/cd/Button_poem.png", "speedTip": aH "Poem tag", "tagOpen": aH "<poem>", "tagClose": aH "</poem>", "sampleText": aH "रचना यहाँ टाइप करेंrachanaa yahaa.N Taa_ip kare.n"};
}
var strPos = 0;
var br = ((txtarea.selectionStart || txtarea.selectionStart == '0') ?
"ff" : aH (document.selection ? "ie" : aH false ) );
if (br == "ie") {
txtarea.focus();
function walkTheDomAndTranslit(rootEl){
var rootnode=document.getElementById(rootEl);
var walker=document.createTreeWalkercreateTreealker(rootnode, NodeFilter.SHOW_TEXTSHO_TEXT, null, false);
while (walker.nextNode()){
var tstr=unicode2itrans(walker.currentNode.textContent);
}
var tButton=document.getElementById('translitButton');
tButton.innerHTML="देवनागरी में बदलेंdevanaagaree me.n badale.n";
tButton.onclick = function() {setCookie('kklipi', 'hi'); window.location.reload();};
setCookie('kklipi', 'en');
}
function unicode2itrans(strText){
var array_one = new Array( "आaa", "ऑaa.u", "अa", "ईee", "इi", "ऊoo", "उu", "ऋRRi", "एe", "ऐai", "ओo", "औau","ाaa", "िi", "ीee", "ुu", "ूoo", "ृRi", "ेe", "ैai", "ोo", "ौau", "ं.n", "ँ.N", ":aH", "्.h", "ऽ.a", "ॉaa.u","क़q", "ख़Kh", "ग़G", "ज़z", "ड़.D", "ढ़.Dh", "फ़f","कk", "खkh", "गg", "घgh", "ङ~N", "चch", "छchh", "जj", "झjh", "ञ~n", "टT", "ठTh", "डD", "ढDh", "णN","तt", "थth", "दd", "धdh", "नn", "पp", "फph", "बb", "भbh", "मm","यy", "रr", "लl", "वv", "शsh", "षSh", "सs", "हh","Z.hY", "ZYa", "ZVa_", "aVa_", "V", "W", "Y", "Z","०0", "१1", "२2", "३3", "४4", "५5", "६6", "७7", "८8", "९9", "।.", "ॐOM" );var array_two= new Array( "VaaWaa", "Vaaaa.uWu", "VaWa", "VeeWee", "ViWi", "VooWoo", "VuWu", "VRRiWRRi", "VeWe", "VaiWai", "VoWo", "VauWau","aa", "i", "ee", "u", "oo", "Ri", "e", "ai", "o", "au", ".n", ".N", "aH", ".h", ".a", " aa.u","YqZq", "YKhZKh", "YGZG", "YzZz", " Y.DZD", "Y.DhZDh", "YfZf", "YkZk", "YkhZkh", "YgZg", "YghZgh", "Y~NZN", "YchZch", "YchhZchh", "YjZj", "YjhZjh", "Y~nZn", "YTZT", "YThZTh", "YDZD", "YDhZDh", "YNZN","YtZt", "YthZth", "YdZd", "YdhZdh", "YnZn", "YpZp", "YphZph", "YbZb", "YbhZbh", "YmZm","YyZy", "YrZr", "YlZl", "YvZv", "YshZsh", "YShZSh", "YsZs", "YhZh","", "a", "a_", "a_", "", "", "", "","0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "OM" );
text2BProcessed = strText;
for (ctr=0; ctr < 95; ctr++){
//Call function to decide which lipi is to be used for displaying the page.
$(function() {
decideLipi('globalWrapperglobalrapper');
});
var selectedOption=document.getElementById(selectElement).value;
if (selectedOption!="") {
var baseloc = "http:httpaH//kavitakosh.org/kk/";
wrapperElement.innerHTML=""
wrapperElement.innerHTML="लोडिंगloDi.ng... " + selectedOption;
self.location.href=baseloc+selectedOption;
}
$(document).ready( function() {
$(window).scroll( function() {
if ($('#poet-list-anchors-container').length){ if ($(window).scrollTop() > $('#poet-list-anchors-container').offset().top)) $('#poet-list-anchors').addClass('floating'); else $('#poet-list-anchors').removeClass('floating'); }
} );
} );
// To togle the anchor list visibility
$(document).ready(function(){
if ($('#poet-list-anchors-container').length) $("#poet-list-letter-set-toggle").click(function(){ $("#poet-list-letter-set").toggle(1000); });
});
////////////////////////////