function showmenu1()

{ 

	var browser=navigator.appName;

	document.getElementById("menu").innerHTML = "<div style=\"background-color: #0f4480\"><table style=\"width: 100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"background-color: #0f4480\"><tr><td style=\"width: 6px;\"><img alt=\"\" src=\"/img/corn5.gif\" width=\"6\" height=\"33\"></td><td style=\"width: 145px;\"><div class=\"snow\" style=\"margin-left: 17px; margin-bottom: 2px;\"><b>соискателям:</b></div></td><td><div style=\"margin-bottom: 2px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"snow2\" nowrap><a href=\"/vacancies/\">каталог вакансий</a>&nbsp;&nbsp; <span class=\"appr\">|</span>&nbsp;&nbsp; <a href=\"/poisk_raboty/\">поиск вакансий</a>&nbsp;&nbsp; <span class=\"appr\">|</span>&nbsp;&nbsp; <a href=\"/new_vacancies/\">новые вакансии</a>&nbsp;&nbsp;  <span class=\"appr\">|</span>&nbsp;&nbsp; <a href=\"/top_vacancies/\">топ-вакансии</a>&nbsp;&nbsp; <span class=\"appr\">|</span>&nbsp;&nbsp;  </td><td></form></td><td><div style=\"background-color: #ff740a;\"><div style=\"margin-top: 8px; margin-bottom: 4px; margin-left: 6px; margin-right: 6px; height: 19px;\" class=\"snow3\"><a href=\"/add_resume/\"><b>разместить резюме</b></a></div></div></td></tr></table></td><td></form></td><td style=\"width: 6px;\" align=\"right\"><img alt=\"\" src=\"/img/corn6.gif\" width=\"6\" height=\"33\"></td></tr></table></div>";
	
	document.getElementById("rp").innerHTML = "<strong><a href=\"/poisk_raboty/\">расширенный поиск</a></strong>";
	
	document.getElementById("menu").style.backgroundColor = "#0f4480";
	
	if (browser=="Microsoft Internet Explorer")
	
	{
	
		document.getElementById("pr").innerHTML = "<div style=\"background-color: #ff740a; width: 126px;\"><div style=\"margin-top: 1px; margin-bottom: 1px; height: 19px;\" class=\"snow3\"><a href=\"#\" onclick=\"JavaScript:showmenu1();\" onfocus=\"this.blur()\"><b>поиск работы</b></a></div></div>";
		
	}
	
	else
	
	{
	
		document.getElementById("pr").innerHTML = "<div style=\"background-color: #ff740a; width: 126px;\"><div style=\"margin-top: 4px; margin-bottom: 4px; height: 19px;\" class=\"snow3\"><a href=\"#\" onclick=\"JavaScript:showmenu1();\" onfocus=\"this.blur()\"><b>поиск работы</b></a></div></div>";	
	
	}
	
	document.getElementById("ps").innerHTML = "<div style=\"margin-top: 4px; margin-bottom: 7px;\"><strong><a href=\"#\" onclick=\"JavaScript:showmenu2();\" onfocus=\"this.blur()\">поиск сотрудников</a></strong></div>";	
	
	document.getElementById("maintab").style.backgroundImage = "url('/img/cele3.gif')";
	
	document.getElementById("pr2").style.backgroundImage = "url('/img/cele3.gif')";
       
	document.getElementById("ps2").style.backgroundImage = "url('/img/cele.gif')";  
	
	document.getElementById("whatsearch").value = "work"; 
	
	document.cookie = 'vid=1; expires=Friday, 20-Nov-15 09:08:07 GMT; path=/; domain=.ljob.ru;'

	
}

function showmenu2()

{ 

	var browser=navigator.appName;

	document.getElementById("menu").innerHTML = "<div style=\"background-color: #0071b3\"><table style=\"width: 100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"background-color: #0071b3\"><tr><td style=\"width: 6px;\"><img alt=\"\" src=\"/img/corn7.gif\" width=\"6\" height=\"33\"></td><td style=\"width: 145px;\"><div class=\"snow\" style=\"margin-left: 17px; margin-bottom: 2px;\"><b>работодателям:</b></div></td><td><div style=\"margin-bottom: 2px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"snow2\" nowrap><a href=\"/resumes/\">каталог резюме</a>&nbsp;&nbsp; <span class=\"appr\">|</span>&nbsp;&nbsp; <a href=\"/poisk_sotrudnikov/\">поиск резюме</a>&nbsp;&nbsp; <span class=\"appr\">|</span>&nbsp;&nbsp; <a href=\"/new_resumes/\">новые резюме</a>&nbsp;&nbsp; <span class=\"appr\">|</span>&nbsp;&nbsp; </td><td><div style=\"background-color: #ff740a;\"><div style=\"margin-top: 8px; margin-bottom: 4px; margin-left: 6px; margin-right: 6px; height: 19px;\" class=\"snow3\"><a href=\"/add_vacancie/\"><b>разместить вакансию</b></a></div></div></td></tr></table></td><td></form></td><td style=\"width: 6px;\" align=\"right\"><img alt=\"\" src=\"/img/corn8.gif\" width=\"6\" height=\"33\"></td></tr></table></div>";
	
	document.getElementById("rp").innerHTML = "<strong><a href=\"/poisk_sotrudnikov/\">расширенный поиск</a></strong>";
	
	document.getElementById("menu").style.backgroundColor = "#0071b3";
	
	if (browser=="Microsoft Internet Explorer")
	
	{	
	
	document.getElementById("ps").innerHTML = "<div style=\"background-color: #ff740a; width: 156px;\"><div style=\"margin-top: 1px; margin-bottom: 1px; height: 19px;\" class=\"snow3\"><a href=\"#\" onclick=\"JavaScript:showmenu2();\" onfocus=\"this.blur()\"><b>поиск сотрудников</b></a></div></div>";
	
	}
	
	else
	
	{	
	
	document.getElementById("ps").innerHTML = "<div style=\"background-color: #ff740a; width: 156px;\"><div style=\"margin-top: 4px; margin-bottom: 4px; height: 19px;\" class=\"snow3\"><a href=\"#\" onclick=\"JavaScript:showmenu2();\" onfocus=\"this.blur()\"><b>поиск сотрудников</b></a></div></div>";
	
	}	
	
	document.getElementById("pr").innerHTML = "<div style=\"margin-top: 4px; margin-bottom: 7px;\"><strong><a href=\"#\" onclick=\"JavaScript:showmenu1();\" onfocus=\"this.blur()\">поиск работы</a></strong></div>";	
	
	document.getElementById("maintab").style.backgroundImage = "url('/img/cele.gif')";	
	
	document.getElementById("pr2").style.backgroundImage = "url('/img/cele.gif')";
       
	document.getElementById("ps2").style.backgroundImage = "url('/img/cele3.gif')";	
	
	document.getElementById("whatsearch").value = "resume"; 
    	
	document.cookie = 'vid=2; expires=Friday, 20-Nov-15 09:08:07 GMT; path=/; domain=.ljob.ru;'
}