function ShowHighlighter(pos)
{
	var colors = ['#C10054', '#DE88C2', '#5ff4b2', '#36e31b', '#6cd6ff', '#888dce', '#0073f0'];
	var tops = [-7, 27, 60, 93, 128, 195, 230];
	var el = document.getElementById('menu_highlight');
	el.style.visibility = 'visible';
	el.style.top = tops[pos] + 'px';
	el.style.backgroundColor = colors[pos];
}
function HideHighlighter()
{
	document.getElementById('menu_highlight').style.visibility = 'hidden';
}
function UpdateDateTime()
{
	var days = ['ВС', 'ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ'];
	var month = ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'];
	var dateEl = document.getElementById('date');
	var timeEl = document.getElementById('time');
	var now = new Date();
	var dateStr = days[now.getDay()] + '<br />' + now.getDate() + '<br />' + month[now.getMonth()];
	var timeStr = ( (now.getHours() < 10)? '0' + now.getHours() : now.getHours() ) + ':' + ( (now.getMinutes() < 10)? '0' + now.getMinutes() : now.getMinutes() ) + ':' + ( (now.getSeconds() < 10)? '0' + now.getSeconds() : now.getSeconds() );
	
	dateEl.innerHTML = dateStr;
	timeEl.innerHTML = timeStr;
}
function StartTiming()
{
	setInterval('UpdateDateTime()', 1000);
}