function normalizeHeight()
{
	var minHeight;
	var correctionLeft, correctionRight;
	
	if (navigator.appName.indexOf('Microsoft') != -1)
	{
		correctionLeft = 0;
		correctionRight = 6;
		minHeight = 550;
	}
	else
	{
		correctionLeft = 0;
		correctionRight = 6;
		minHeight = 540;
	}


	var mainContentHeight;
	mainContentHeight = document.getElementById("mainContentBlock").offsetHeight;
//	alert(document.getElementById("mainContentBlock").offsetHeight);

	if (mainContentHeight < minHeight)
	{
		document.getElementById("mainContentBlock").style.height = minHeight + "px";
		mainContentHeight = minHeight;
	}

	document.getElementById("leftContentBlock").style.height = mainContentHeight + correctionLeft + "px";
	document.getElementById("rightContentBlock").style.height = mainContentHeight + correctionRight + "px";	
}

function setDefaultOption(strObjId, strDefaultText)
{
	var objSelect = document.getElementById(strObjId);
	var objOption;
	
/*	if(objSelect.selectedIndex == 0)
	{ */
		objOption = objSelect.options[0];
		objOption.text = strDefaultText;
		objOption.style.color = "#AAA"; 
//	}
}
