startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		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;


function OpenLink(wname, wlink, wwidth, wheight) {
	if (isIE) { wwidth += 20; }
	window.open(wlink, wname, "height="+wheight+",width="+wwidth+",xposition=10,yposition=10,top=10,left=10,toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=0");
}


function updateLinks() {
	if (document.getElementsByTagName) {
		links_list = document.getElementsByTagName('a');
		for(i=0; i<links_list.length; i++) {
			if (0 == links_list[i].rel.indexOf('ext:')) {
				links_list[i].target = links_list[i].rel.substring(4, links_list[i].rel.length);
			}
		}
	}
}

function show_answer(name)
{
  elem = document.getElementById(name);
  if (elem.style.display == "none")
  {
    elem.style.display = "block";
  }
  else
  {
    elem.style.display = "none";
  }
}

var mail_link;
icomail_name = 'el-avtt';
icomail_domain = '@mail.ru';
icomail_link_s = '<a href="mailto:' + icomail_name + icomail_domain + '">';
icomail_link_e = '</a>';
mail_link = icomail_link_s + icomail_name + icomail_domain + icomail_link_e;

var mail_links;
icomail_names = 'info';
icomail_domains = '@lift-post.ru';
icomail_links_s = '<a href="mailto:' + icomail_names + icomail_domains + '">';
icomail_link_e = '</a>';
mail_links = icomail_links_s + icomail_names + icomail_domains + icomail_link_e;

