function onAtTheTime(eventTarget)
{
	var zone1 = document.getElementById('zone1home');
	var arr = zone1.getElementsByTagName('DIV');
	for (i=0; i<arr.length; i++)
	{
		if (arr[i].className.indexOf('oneAtTheTime') > -1)
		{
			if (arr[i] === eventTarget)
			{
				arr[i].className = 'oneAtTheTimeOpen';
			}
			else
			{
				arr[i].className = 'oneAtTheTime';
			}
		}
	}
}

function selectedMenuNode(intNavid) {
    obj = document.getElementById('menuId_'+intNavid);
    if (obj) obj.className = "selected";
}

function changeLang(strLang)
{
    var strLocationSearch = location.search;
    if (strLocationSearch.toLowerCase().indexOf('lang_id=') >= 0)
    {
        strLocationSearch = strLocationSearch.replace(/lang_id=./i, 'lang_id=' + strLang);
    }
    else if (strLocationSearch.length > 0)
    {
        strLocationSearch += '&lang_id=' + strLang;
    }
    else
    {
        strLocationSearch = '?lang_id=' + strLang;
    }
    location.href = location.protocol + '//' + location.host + location.pathname + strLocationSearch + location.hash;
}