function SelectElem(selectBox, value)
{
	var i;
	i = 0;
	while (i < selectBox.length)
	{
		if (selectBox.options[i].value == value )
		{
			selectBox.options[i].selected = true;
		}
		i++;
	}
}
