function RussianKeyboardClick(obj)
{
	var letter = obj.value;
	if(letter == "SPACE") letter = " ";

	if(functionality != null && functionality == "hangman")
	{
		obj.disabled = true;
		lettersSoFar = lettersSoFar + letter;
		ShowWordSoFar();
	}
	else if(functionality == 'justType')
	{
		if(currentInputFieldName == null || currentInputFieldName == '') return;
	
		var textInputObj = document.getElementById(currentInputFieldName);
		if(textInputObj == null){
			var textInputObjs = document.getElementsByName(currentInputFieldName);		
			textInputObj = textInputObjs[0];
		}

		var currentInputText = textInputObj.value;
		if(currentInputText == null){
			currentInputText = '';
		}
		currentInputText = currentInputText + letter;
		textInputObj.value = currentInputText;
		
		textInputObj.focus();
	}
	else
	{
		if(currentInputFieldName == null || currentInputFieldName == '') return;
		
		var textInputObj = document.getElementById(currentInputFieldName);
		if(textInputObj == null){
			var textInputObjs = document.getElementsByName(currentInputFieldName);		
			textInputObj = textInputObjs[0];
		}
		
		var currentInputText = textInputObj.value;
		currentInputText = currentInputText + letter;
		textInputObj.value = currentInputText;
		
		textInputObj.focus();
		
		if(functionality != null && functionality == "crossword")
		{
			MoveAndWorkCrossword(textInputObj, letter);
		}
	}
}

function DisableAllKeys()
{
	var keys = document.getElementsByName("keyboardButton");
	for(var i=0; i<keys.length; i++)
	{
		//keys[i].disabled = true;
	}
}
