var ab=0;function TamilConvert(bb,cb){var s,db,i,n,c,eb;var fb,gb,hb;fb=cb.which;gb=bb.selectionStart;hb=bb.selectionEnd;if(fb==37||fb==39){return(false);}
s=bb.value;n=s.length;db=new String;for(i=0;i<n;i++){c=s.charCodeAt(i);eb=0;if(c==0x3b)c=0x0bcd;else if(c==0x68)c=0x0bbe;else if(c==0x70)c=0x0bbf;else if(c==0x50)c=0x0bc0;else if((c==0x5b)||(c==0x7b))c=0x0bc1;else if((c==0x5d)||(c==0x7d))c=0x0bc2;else if(c==0x62)c=0x0bc6;else if(c==0x6e)c=0x0bc7;else if(c==0x69)c=0x0bc8;else if(c==0x4f){c=0x0b9f;eb=0x0bbf;}
else if(c==0x6f){c=0x0b9f;eb=0x0bc0;}
else if(c==0x44){c=0x0ba9;eb=0x0bc1;}
else if(c==0x45){c=0x0ba8;eb=0x0bc1;}
else if(c==0x46){c=0x0b95;eb=0x0bc1;}
else if(c==0x47){c=0x0bb4;eb=0x0bc1;}
else if(c==0x4a){c=0x0ba4;eb=0x0bc1;}
else if(c==0x4b){c=0x0bae;eb=0x0bc1;}
else if(c==0x4c){c=0x0b9f;eb=0x0bc1;}
else if(c==0x4e){c=0x0b9a;eb=0x0bc2;}
else if(c==0x51){c=0x0ba3;eb=0x0bc1;}
else if(c==0x52){c=0x0b9a;eb=0x0bc1;}
else if(c==0x53){c=0x0bb3;eb=0x0bc1;}
else if(c==0x54){c=0x0b95;eb=0x0bc1;}
else if(c==0x55){c=0x0bb0;eb=0x0bc1;}
else if(c==0x57){c=0x0bb1;eb=0x0bc1;}
else if(c==0x59){c=0x0bb2;eb=0x0bc1;}
else if(c==0x71){c=0x0ba3;eb=0x0bc1;}
else if(c==0x7c){c=0x0b9e;eb=0x0bc1;}
else if(c==0x6d)c=0x0b85;else if(c==0x4d)c=0x0b86;else if(c==0x2c)c=0x0b87;else if(c==0x3c)c=0x0b88;else if(c==0x63)c=0x0b89;else if(c==0x43)c=0x0b8a;else if(c==0x76)c=0x0b8e;else if(c==0x56)c=0x0b8f;else if(c==0x49)c=0x0b90;else if(c==0x78)c=0x0b92;else if(c==0x58)c=0x0b93;else if(c==0x7e)c=0x0b83;else if(c==0x66)c=0x0b95;else if(c==0x27)c=0x0b99;else if(c==0x72)c=0x0b9a;else if(c==0x23)c=0x0b9c;else if(c==0x22)c=0x0b9e;else if(c==0x6c)c=0x0b9f;else if(c==0x7a)c=0x0ba3;else if(c==0x6a)c=0x0ba4;else if(c==0x65)c=0x0ba8;else if(c==0x64)c=0x0ba9;else if(c==0x67)c=0x0baa;else if(c==0x6b)c=0x0bae;else if(c==0x61)c=0x0baf;else if(c==0x75)c=0x0bb0;else if(c==0x77)c=0x0bb1;else if(c==0x79)c=0x0bb2;else if(c==0x73)c=0x0bb3;else if(c==0x48)c=0x0bb4;else if(c==0x74)c=0x0bb5;else if(c==0x5a)c=0x0bb6;else if(c==0x5c)c=0x0bb7;else if(c==0x21)c=0x0bb8;else if(c==0x41)c=0x0bb9;db+=String.fromCharCode(c);if(eb>0)db+=String.fromCharCode(eb);}
bb.value=db;return(false);}
