function ETSOOFormDefaultValue(objE,strValue,numKind,numAdd)
{
	if(objE==null)return false;
	if(strValue==null||strValue=="undefined")strValue="";
	var numLen=objE.length;
	var strType=objE.type;
	var blnIsSelected=false;
	if(strType=="text"||strType=="password"||strType=="textarea")
	{
		objE.value=strValue;
		return true;
	}
	else if(strType=="checkbox"&&strValue!="")
	{
		objE.checked=true;
		return true;
	}
	for(var numI=0;numI<numLen;numI++)
	{
		var objPart=objE[numI];
		var strType=objPart.type;
		if(strValue==objPart.value)
		{
			if(numKind==null||numKind==0)
			{
				if(strType=="radio")
				{
					objPart.checked=true;
					blnIsSelected=true;
					break;
				}
				else
				{
					if(numAdd==1)ETSOOBaseFormInsertText(objE,objPart.text);
					else
					{
						objPart.selected=true;
						blnIsSelected=true;
						break;
					}
				}
			}
		}
		if(strValue==objPart.text)
		{
			if(numKind==1)
			{
				if(strType=="radio")
				{
					objPart.checked=true;
					blnIsSelected=true;
					break;
				}
				else
				{
					if(numAdd==1)ETSOOBaseFormInsertText(objE,objPart.text);
					else
					{
						objPart.selected=true;
						blnIsSelected=true;
						break;
					}
				}
			}
		}
	}
	return blnIsSelected;
}
function ETSOOBaseFormInsertText(objE,strText)
{
	objE.style.display="none";
	objE.insertAdjacentText("beforeBegin",strText);
}