if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile"aH : "httpaHhttp://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 : "httpaHhttp://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 : "httpaHhttp://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 : "httpaHhttp://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.createTreealkercreateTreeWalker(rootnode, NodeFilter.SHO_TEXTSHOW_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", "aZY", "a_ZV", "a_aV", "V", "W", "Y", "Z","0०", "1१", "2२", "3३", "4४", "5५", "6६", "7७", "8८", "9९", ".।", "OMॐ" );var array_two= new Array( "aaVaaW", "aaVaa.uuW", "aVaW", "eeVeeW", "iViW", "ooVooW", "uVuW", "RRiVRRiW", "eVeW", "aiVaiW", "oVoW", "auVauW","aa", "i", "ee", "u", "oo", "Ri", "e", "ai", "o", "au", ".n", ".N", "aH", ".h", ".a", " aa.u","qYqZ", "KhYKhZ", "GYGZ", "zYzZ", " Y.DDZ", "Y.DhDhZ", "fYfZ", "kYkZ", "khYkhZ", "gYgZ", "ghYghZ", "Y~NNZ", "chYchZ", "chhYchhZ", "jYjZ", "jhYjhZ", "Y~nnZ", "TYTZ", "ThYThZ", "DYDZ", "DhYDhZ", "NYNZ","tYtZ", "thYthZ", "dYdZ", "dhYdhZ", "nYnZ", "pYpZ", "phYphZ", "bYbZ", "bhYbhZ", "mYmZ","yYyZ", "rYrZ", "lYlZ", "vYvZ", "shYshZ", "ShYShZ", "sYsZ", "hYhZ","", "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('globalrapperglobalWrapper');
});
var selectedOption=document.getElementById(selectElement).value;
if (selectedOption!="") {
var baseloc = "httpaHhttp://kavitakosh.org/kk/";
wrapperElement.innerHTML=""
wrapperElement.innerHTML="loDi.ngलोडिंग... " + selectedOption;
self.location.href=baseloc+selectedOption;
}
$(document).ready( function() {
$(window).scroll( function() {
if ($(window).scrollTop() > $('#poet-list-anchors-container').offset().top)) $('#poet-list-anchors').addClass('floating'); else $('#poet-list-anchors').removeClass('floating');
} );
} );
// To toggle togle the anchor list visibility
$(document).ready(function(){
$("#poet-list-letter-set-toggle").click(function(){ $("#poet-list-letter-set").toggle(1000); });
});
////////////////////////////