function seek() {//функция проверки поиска
	var s = document.forms['poisk'].elements['search'].value;
	var warning = true;
	
	if (s.length == 0) {
		alert("Вы не заполнили строку запроса при выполнение поиска!"); 
		document.forms['poisk'].elements['search'].focus();
		return false;
	}
	if (s.length != 0 && s.length < 3) {
		alert("Количество символов в строке запроса не может быть меньше 3 символов!"); 
		document.forms['poisk'].elements['search'].focus();
		return false;
	}
 	if (warning) {
		document.forms['poisk'].submit();
		return true;
	} else {
		return false;
	}	
}//конец функции проверки поиска

//функция открытия окна через один параметр 
function show(Page) {//*
  window.open(Page,"Show","toolbar=no,scrollbars=yes,resizable=yes,width=680,height=480");
  return false;
}//*
//конец функции открытия окна через один параметр


//функция печати
function printItem() {
	if (window.print) {
		setTimeout('window.print();',200);
	}
	else if (agt.indexOf("mac") != -1) {
		alert("Для печати нажмите 'Cmd+p'.");
	}
	else {
		alert("Для печати нажмите 'Ctrl+p'.")
	}
	return false;
}
//конец функции печати


//функция работы левого меню
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("me");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;
//конец функции работы левого меню

