/*-------------------------- HUG Variables -------------*/
/*-------------------------------------------------------- 
www.hindini.com
hindini unicode generator 
	Note - 
	s = symbol 
	v = vowel
	c = consonant 
	n = numeral 
	h = halant 
	m = maatraa
	b = blank

define in charmap.js
--------------------------------------------------------*/


var uni = new Array(123);

var i;
var j; 
var seed;

var keyNum;
var halant;

seed = 2406;
//assign numbers
for(i=48;i<=57;i++)
{
	uni[i] = new Array(2);	uni[i][0] = "n";
	uni[i][1] = seed;
	seed = seed + 1;	
}

uni[32]    = new Array(2); // blank
uni[32][0] = "s";
uni[32][1] = "0032"; 

uni[94]    = new Array(2); // ^
uni[94][0] = "m";
uni[94][1] = "2306"; 
uni[94][2] = "m";
uni[94][3] = "2306"; 


uni[65]    = new Array(4); //A
uni[65][0] = "v";
uni[65][1] = "2317"; 
uni[65][2] = "m";
uni[65][3] = "2373"; 

uni[66]    = new Array(2); //B
uni[66][0] = "c";
uni[66][1] = "2348";

uni[67]    = new Array(2); //C
uni[67][0] = "c";
uni[67][1] = "2330";

uni[68]  =	new Array(2); //D
uni[68][0] = "c";
uni[68][1] = "2337" ;

uni[69]  =	new Array(2); //E
uni[69][0] = "v";
uni[69][1] = "2319";

uni[70]  =	new Array(2); //F
uni[70][0] = "c";
uni[70][1] = "2398";

uni[71]  =	new Array(2); //G
uni[71][0] = "c";
uni[71][1] = "2394";

uni[72] =	new Array(2); //H
uni[72][0] = "m";
uni[72][1] = "2307";
uni[72][2] = "m";
uni[72][3] = "2307";

uni[73]  =	new Array(2); //I
uni[73][0] = "v";
uni[73][1] = "2311";

uni[74]  =	new Array(2); //J
uni[74][0] = "c";
uni[74][1] = "2395";

uni[75]  =	new Array(2); //K
uni[75][0] = "c";
uni[75][1] = "2392";

uni[76]  =	new Array(2); //L
uni[76][0] = "c";
uni[76][1] = "2355";

uni[77]    =   new Array(2); //M
uni[77][0] = "m";
uni[77][1] = "2305" ;
uni[77][2] = "m";
uni[77][3] = "2305" ;

uni[78]  =	new Array(2); //N
uni[78][0] = "c";
uni[78][1] = "2339";

uni[79]  =	new Array(4); //O
uni[79][0] = "v";
uni[79][1] = "2321";
uni[79][2] = "m";
uni[79][3] = "2377";

uni[80]  =	new Array(2); //P
uni[80][0] = "c";
uni[80][1] = "2346";

uni[81]  =	new Array(2); //Q
uni[81][0] = "c";
uni[81][1] = "2392";

uni[82]  =	new Array(2); //R
uni[82][0] = "v";
uni[82][1] = "2315";
uni[82][2] = "m";
uni[82][3] = "2371";

uni[83]  =	new Array(2); //S
uni[83][0] = "c";
uni[83][1] = "2360";

uni[84]  =	new Array(2); //T
uni[84][0] = "c";
uni[84][1] = "2335";

uni[85]  =	new Array(2); //U
uni[85][0] = "v";
uni[85][1] = "2313";

uni[86]  =	new Array(2); //V
uni[86][0] = "c";
uni[86][1] = "2357";

uni[87]  =	new Array(2); //W
uni[87][0] = "c";
uni[87][1] = "2357";

uni[88]  =	new Array(2); //X
uni[88][0] = "c";
uni[88][1] = "";

uni[89]  =	new Array(2); //Y
uni[89][0] = "c";
uni[89][1] = "2399";

uni[90]  =	new Array(2); //Z
uni[90][0] = "c";
uni[90][1] = "2364";

uni[97]  =	new Array(4); //a
uni[97][0] = "m";
uni[97][1] = "";
uni[97][2] = "v";
uni[97][3] = "2309";

uni[98]  =	new Array(2); //b
uni[98][0] = "c";
uni[98][1] = "2348";

uni[99]  =	new Array(2); //c
uni[99][0] = "c";
uni[99][1] = "2325";

uni[100] =	new Array(2); //d
uni[100][0] = "c";
uni[100][1] = "2342";

uni[101] =	new Array(2); //e
uni[101][0] = "m";
uni[101][1] = "2375";
uni[101][2] = "v";
uni[101][3] = "2319";

uni[102] =	new Array(2); //f
uni[102][0] = "c";
uni[102][1] = "2347";

uni[103] =	new Array(2); //g
uni[103][0] = "c";
uni[103][1] = "2327";

uni[104] =	new Array(2); //h
uni[104][0] = "c";
uni[104][1] = "2361";

uni[105] =	new Array(2); //i
uni[105][0] = "m";
uni[105][1] = "2367";
uni[105][2] = "v";
uni[105][3] = "2311";


uni[106] =	new Array(2); //j
uni[106][0] = "c"; 
uni[106][1] = "2332";

uni[107] =	new Array(2); //k
uni[107][0] = "c"; 
uni[107][1] = "2325";

uni[108] =	new Array(2); //l
uni[108][0] = "c"; 
uni[108][1] = "2354";

uni[109] =	new Array(2); //m
uni[109][0] = "c"; 
uni[109][1] = "2350";

uni[110] =	new Array(2); //n
uni[110][0] = "c"; 
uni[110][1] = "2344";

uni[111] =	new Array(4); //o
uni[111][0] = "m"; 
uni[111][1] = "2379";
uni[111][2] = "v";
uni[111][3] = "2323"; 

uni[112] = 	new Array(2); //p
uni[112][0] = "c"; 
uni[112][1] = "2346";

uni[113] =	new Array(2); //q
uni[113][0] = "c"; 
uni[113][1] = "2392";

uni[114] =	new Array(2); //r
uni[114][0] = "c"; 
uni[114][1] = "2352";

uni[115] =	new Array(2); //s
uni[115][0] = "c"; 
uni[115][1] = "2360";

uni[116] =	new Array(2); //t
uni[116][0] = "c"; 
uni[116][1] = "2340";

uni[117] =	new Array(2); //u
uni[117][0] = "m"; 
uni[117][1] = "2369";
uni[117][2] = "v"; 
uni[117][3] = "2313";

uni[118] =	new Array(2); //v
uni[118][0] = "c"; 
uni[118][1] = "2357";

uni[119] =	new Array(2); //w
uni[119][0] = "c"; 
uni[119][1] = "2357";

uni[120] =	new Array(2); //x
uni[120][0] = "c"; 
uni[120][1] = "2381";

uni[121] =	new Array(2); //y
uni[121][0] = "c"; 
uni[121][1] = "2351";

uni[122] =	new Array(2); //z
uni[122][0] = "c"; 
uni[122][1] = "2395";

/*------------- Combo Consonents ----------*/

var combo = new Array(35);
combo[0] = new Array(5);
combo[0][0] = 115; //s + 
combo[0][1] = 104; //h = 
combo[0][2] = "2358";	//sh
combo[0][3] = "c";	//dataType

combo[1] = new Array(5);
combo[1][0] = 98; //b + 
combo[1][1] = 104; //h = 
combo[1][2] = "2349";	//bh
combo[1][3] = "c";	//dataType

combo[2] = new Array(4);
combo[2][0] = 99; //c + 
combo[2][1] = 104; //h = 
combo[2][2] = "2330";	//ch
combo[2][3] = "c";	//dataType

combo[3] = new Array(4);
combo[3][0] = 67; //C + 
combo[3][1] = 104; //h = 
combo[3][2] = "2331";	//Ch
combo[3][3] = "c";	//dataType

combo[4] = new Array(4);
combo[4][0] = 100; //d + 
combo[4][1] = 104; //h = 
combo[4][2] = "2343";	//dh
combo[4][3] = "c";	//dataType

combo[5] = new Array(4);
combo[5][0] = 68; //D + 
combo[5][1] = 104; //h = 
combo[5][2] = "2338";	//Dh
combo[5][3] = "c";	//dataType

combo[6] = new Array(4);
combo[6][0] = 68; //D + 
combo[6][1] = 72; //h = 
combo[6][2] = "2329";	//DH
combo[6][3] = "c";	//dataType

combo[7] = new Array(4);
combo[7][0] = 115; //s + 
combo[7][1] = 104; //h = 
combo[7][2] = "2358";	//chh <-- Handle with care 
combo[7][3] = "c";	//dataType

combo[8] = new Array(4);
combo[8][0] = 106; //j + 
combo[8][1] = 104; //h = 
combo[8][2] = "2333";	//jh
combo[8][3] = "c";	//dataType

combo[9] = new Array(4);
combo[9][0] = 83; //S + 
combo[9][1] = 104; //h = 
combo[9][2] = "2359";	//Sh
combo[9][3] = "c";	//dataType

combo[10] = new Array(4);
combo[10][0] = 112; //p + 
combo[10][1] = 104; //h = 
combo[10][2] = "2347";	//ph
combo[10][3] = "c";	//dataType

combo[10] = new Array(4);
combo[10][0] = 112; //p + 
combo[10][1] = 104; //h = 
combo[10][2] = "2347";	//ph
combo[10][3] = "c";	//dataType

combo[11] = new Array(4);
combo[11][0] = 103; //g + 
combo[11][1] = 104; //h = 
combo[11][2] = "2328";	//gh
combo[11][3] = "c";	//dataType

combo[25] = new Array(4);
combo[25][0] = 107; //k + 
combo[25][1] = 104; //h = 
combo[25][2] = "2326";	//kh
combo[25][3] = "c";	//dataType

combo[26] = new Array(4);
combo[26][0] = 126; //j + 
combo[26][1] = 106; //h = 
combo[26][2] = "2334";	//jh
combo[26][3] = "c";	//dataType

combo[27] = new Array(4);
combo[27][0] = 116; //t + 
combo[27][1] = 104; //h = 
combo[27][2] = "2341";	//th
combo[27][3] = "c";	//dataType

combo[28] = new Array(4);
combo[28][0] = 84; //T + 
combo[28][1] = 104; //h = 
combo[28][2] = "2336";	//Th
combo[28][3] = "c";	//dataType


combo[29] = new Array(4);
combo[29][0] = 84; //R + 
combo[29][1] = 104; //a = 
combo[29][2] = "2336";	//Th ------- repeat ---- Ra Ru Ri fix this 
combo[29][3] = "c";	//dataType

combo[31] = new Array(4);
combo[31][0] = 75; //K + 
combo[31][1] = 104; //h = 
combo[31][2] = "2326";	//Kh
combo[31][3] = "c";	//dataType


combo[32] = new Array(4);
combo[32][0] = 78; //N + 
combo[32][1] = 106; //j = 
combo[32][2] = "2334";	//Nj
combo[32][3] = "c";	//dataType


combo[33] = new Array(4);
combo[33][0] = 78; //N + 
combo[33][1] = 103; //g = 
combo[33][2] = "2329";	//Ng
combo[33][3] = "c";	//dataType

/*------------- baDi MaaTraae^ ----------*/

combo[12] = new Array(6);
combo[12][0] = 101; 	//e + 
combo[12][1] = 101; 	//e = 
combo[12][2] = "2368";	// ii
combo[12][3] = "m";	//dataType
combo[12][4] = "2312";	// ii
combo[12][5] = "v";	//dataType

combo[13] = new Array(6);
combo[13][0] = 105; 	//i + 
combo[13][1] = 105; 	//i = 
combo[13][2] = "2368";	// ii
combo[13][3] = "m";	//dataType
combo[13][4] = "2312";	// ii
combo[13][5] = "v";	//dataType

combo[14] = new Array(6);
combo[14][0] = 111; 	//o + 
combo[14][1] = 111; 	//o = 
combo[14][2] = "2370";	// oo
combo[14][3] = "m";	//dataType
combo[14][4] = "2314";	// O
combo[14][5] = "v";	//dataType

combo[15] = new Array(6);
combo[15][0] = 97; 	//a + 
combo[15][1] = 105; 	//i = 
combo[15][2] = "2376";	// ai
combo[15][3] = "m";	//dataType
combo[15][4] = "2320";	// ai
combo[15][5] = "v";	//dataType

combo[16] = new Array(6);
combo[16][0] = 97; 	//a + 
combo[16][1] = 117; 	//a = 
combo[16][2] = "2380";	// au
combo[16][3] = "m";	//dataType
combo[16][4] = "2324";	// aa
combo[16][5] = "v";	//dataType

combo[17] = new Array(6);
combo[17][0] = 97; 	//a + 
combo[17][1] = 97; 	//a = 
combo[17][2] = "2366";	// aa
combo[17][3] = "m";	//dataType
combo[17][4] = "2310";	// aa
combo[17][5] = "v";	//dataType

combo[18] = new Array(6);
combo[18][0] = 65; 	//a + 
combo[18][1] = 97;	//a = 
combo[18][2] = "2310";	// aa
combo[18][3] = "v";	//dataType
combo[18][4] = "2310";	// aa
combo[18][5] = "v";	//dataType

combo[19] = new Array(6);
combo[19][0] = 65; 	//a + 
combo[19][1] = 117;	//u = 
combo[19][2] = "2380";	// au
combo[19][3] = "m";	//dataType
combo[19][4] = "2324";	// aa
combo[19][5] = "v";	//dataType

combo[20] = new Array(6);
combo[20][0] = 65; 	//a + 
combo[20][1] = 105;	//a = 
combo[20][2] = "2320";	// aa
combo[20][3] = "v";	//dataType
combo[20][4] = "2310";	// aa
combo[20][5] = "v";	//dataType

combo[21] = new Array(6);
combo[21][0] = 73; 	//E + 
combo[21][1] = 105;	//e = 
combo[21][2] = "2312";	// aa
combo[21][3] = "m";	//dataType
combo[21][4] = "2312";	// ee
combo[21][5] = "v";	//dataType

combo[22] = new Array(6);
combo[22][0] = 79; 	//a + 
combo[22][1] = 111;	//u = 
combo[22][2] = "2312";	// aa
combo[22][3] = "m";	//dataType
combo[22][4] = "2314";	// au
combo[22][5] = "v";	//dataType

combo[23] = new Array(6);
combo[23][0] = 69; 	//a + 
combo[23][1] = 101;	//a = 
combo[23][2] = "2366";	// aa
combo[23][3] = "m";	//dataType
combo[23][4] = "2312";	// aa
combo[23][5] = "v";	//dataType

combo[24] = new Array(6);
combo[24][0] = 97; 	//a + 
combo[24][1] = 97;	//a = 
combo[24][2] = "2366";	// aa
combo[24][3] = "m";	//dataType
combo[24][4] = "2310";	// aa
combo[24][5] = "v";	//dataType


combo[30] = new Array(6);
combo[30][0] = 79; 	//O + 
combo[30][1] = 77;	//M = 
combo[30][2] = "2384";	// OM
combo[30][3] = "v";	//dataType
combo[30][4] = "2384";	// aa
combo[30][5] = "v";	//dataType

