//script by Sarwar Erfan
var isBijoy = true;
var isUniJoy = false;
var isPhonetic = false;
var isEnglish = false;

function makeBanglaInput(tbid)
{
	myTextAreaID = tbid;
	changeLayout('u');
}
function changeLayout(op)
{
	if(op == 'u')
	{
		isUniJoy = true;
		isPhonetic = false;
		isEnglish = false;
		isBijoy = false;
		makeUnijoyEditor("txtName");
		makeUnijoyEditor("txtCountry");
		makeUnijoyEditor("txtComment");

	}
		else if(op == 'b')
	{
		isUniJoy = false;
		isPhonetic = true;
		isEnglish = false;
		isBijoy = true;
		makeBijoyKeybdEditor("txtName");
		makeBijoyKeybdEditor("txtCountry");
		makeBijoyKeybdEditor("txtComment");
	}
	else if(op == 'p')
	{
		isUniJoy = false;
		isPhonetic = true;
		isEnglish = false;
		isBijoy = false;
		makePhoneticEditor("txtName");
		makePhoneticEditor("txtCountry");
		makePhoneticEditor("txtComment");
		}
	else if(op == 'e')
	{
		isUniJoy = false;
		isPhonetic = false;
		isEnglish = true;
		isBijoy = false;
	}
}
