		var isIE4 = document.all;
		var isDOM = document.getElementById;
		var itsOK = isIE4 || isDOM;

		var id = null;
		var popupOn = false;
		
		
		

if(document.all||document.getElementById){		
document.writeln("<div id=menu2 onMouseOver=\"show('2')\" style=\"Z-INDEX: 51; LEFT: 410px; VISIBILITY: hidden; WIDTH: 230px; POSITION: absolute; TOP: 203px; HEIGHT: 23px\" onMouseOut=\"hide('2')\"><table cellspacing=0 cellpadding=0 width=230 border=0><tr><td><a href=\"tech_byt.html\" onMouseOver=\"overImg('mn21','submenu2_01on.jpg');\" onMouseOut=\"overImg('mn21','submenu2_01.jpg');\"><img height=26 alt=\"Бытовые кондиционеры\" src=\"images/submenu2_01.jpg\" width=230 border=0 name=\"mn21\"></a></td></tr>");
document.writeln("<tr><td><a href=\"tech_prit.html\" onMouseOver=\"overImg('mn22','submenu2_02on.jpg');\" onMouseOut=\"overImg('mn22','submenu2_02.jpg');\"><img height=26 alt=\"Кондиционеры с приточной вентиляцией\" src=\"images/submenu2_02.jpg\" width=230 border=0 name=\"mn22\"></a></td></tr><tr><td><a href=\"tech_multi.html\" onMouseOver=\"overImg('mn23','submenu2_03on.jpg');\" onMouseOut=\"overImg('mn23','submenu2_03.jpg');\"><img height=26 alt=\"Мультизональнаые системы\" src=\"images/submenu2_03.jpg\" width=230 border=0 name=\"mn23\"></a></td></tr><tr><td bgcolor=\"#D5D5D5\" align=\"right\"><a href=\"javascript:killPopup('2');\"><img src=\"images/close.gif\" width=\"14\" height=\"18\" border=\"0\" alt=\"[закрыть подменю]\"></a></td></tr></table></div>");
document.writeln("<div id=menu3 onMouseOver=\"show('3');\" style=\"Z-INDEX: 49; LEFT: 410px; VISIBILITY: hidden; WIDTH: 230px; POSITION: absolute; TOP: 226px; HEIGHT: 23px\" onMouseOut=\"hide('3');\"> <table cellspacing=0 cellpadding=0 width=230 border=0>  <tr>   <td><a href=\"podbor_how.html\" onMouseOver=\"overImg('mn31','submenu3_01on.jpg');\" onMouseOut=\"overImg('mn31','submenu3_01.jpg');\"><img height=26 alt=\"Как выбрать\" src=\"images/submenu3_01.jpg\" width=230 border=0 name=\"mn31\"></a></td>  </tr>");
document.writeln("  <tr>   <td><a href=\"podbor_where.html\" onMouseOver=\"overImg('mn32','submenu3_02on.jpg');\" onMouseOut=\"overImg('mn32','submenu3_02.jpg');\"><img height=26 alt=\"Где купить?\" src=\"images/submenu3_02.jpg\" width=230 border=0 name=\"mn32\"></a></td>  </tr>  <tr>   <td><a href=\"podbor_installation.html\" onMouseOver=\"overImg('mn33','submenu3_03on.jpg');\" onMouseOut=\"overImg('mn33','submenu3_03.jpg');\"><img height=26 alt=\"Установка\" src=\"images/submenu3_03.jpg\" width=230 border=0 name=\"mn33\"></a></td>  </tr>  <tr>   <td bgcolor=\"#C5C5C5\" align=\"right\"><a href=\"javascript:killPopup('3');\"><img src=\"images/close.gif\" width=\"14\" height=\"18\" border=\"0\" alt=\"[закрыть подменю]\"></a></td>  </tr> </table></div>");
document.writeln("<div id=menu4 onMouseOver=\"show('4');\" style=\"Z-INDEX: 49; LEFT: 410px; VISIBILITY: hidden; WIDTH: 230px; POSITION: absolute; TOP: 249px; HEIGHT: 23px\" onMouseOut=\"hide('4');\"> <table cellspacing=0 cellpadding=0 width=230 border=0>  <tr>   <td><a href=\"service_tech.html\" onMouseOver=\"overImg('mn41','submenu4_01on.jpg');\" onMouseOut=\"overImg('mn41','submenu4_01.jpg');\"><img height=26 alt=\"Техобслуживание\" src=\"images/submenu4_01.jpg\" width=230 border=0 name=\"mn41\"></a></td>  </tr>  <tr>   <td><a href=\"service_repairauto.html\" onMouseOver=\"overImg('mn42','submenu4_02on.jpg');\" onMouseOut=\"overImg('mn42','submenu4_02.jpg');\"><img height=26 alt=\"Ремонт автокондиционеров\" src=\"images/submenu4_02.jpg\" width=230 border=0 name=\"mn42\"></a></td>  </tr>");
document.writeln("  <tr>   <td bgcolor=\"#D3D3D3\" align=\"right\"><a href=\"javascript:killPopup('4');\"><img src=\"images/close.gif\" width=\"14\" height=\"18\" border=\"0\" alt=\"[закрыть подменю]\"></a></td>  </tr> </table></div>");
document.writeln("<div id=\"menu2shadow\" style=\"position:absolute; left:413px; top:206px; width:230px; height:92px; z-index:50; visibility: hidden; filter: Alpha(Opacity=40)\"> <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">  <tr>   <td bgcolor=\"#000000\"><img src=\"images/unv.gif\" width=\"230\" height=\"96\"></td>  </tr> </table></div>");
document.writeln("<div id=\"menu3shadow\" style=\"position:absolute; left:413px; top:229px; width:230px; height:92px; z-index:48; visibility: hidden; filter: Alpha(Opacity=40)\"> <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">  <tr>   <td bgcolor=\"#000000\"><img src=\"images/unv.gif\" width=\"230\" height=\"96\"></td>  </tr> </table></div>");
document.writeln("<div id=\"menu4shadow\" style=\"position:absolute; left:413px; top:251px; width:230px; height:70px; z-index:48; visibility: hidden; filter: Alpha(Opacity=40)\"> <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">  <tr>   <td bgcolor=\"#000000\"><img src=\"images/unv.gif\" width=\"230\" height=\"70\"></td>  </tr> </table></div>");
}

		
		
		
		function show (objName, toplevel) {
	    MenuID="menu"+objName;
	    MenuIDPicture="image"+objName;
	    MenuIDShadow="menu"+objName+"shadow";
	    
	    if (document.layers) {
	    	if(window.innerHeight>420){
		MenuPosY = window.innerHeight/2+objName*26-52;
		} else {
		MenuPosY = 203+objName*26-52;		
			}		
		}
	    else if (document.all && MenuPosX>250) {
	    	if(document.body.clientHeight>420){
	    	MenuPosY = document.body.clientHeight/2+objName*26-70;
		} else {
		MenuPosY = 203+objName*26-52;
			}
	    	}
	    else if (document.all && MenuPosX<250){
		MenuPosY = 203+objName*26-54;		
		}
	    

			if(document.images[MenuIDPicture])
				showImage(MenuIDPicture);

			if(itsOK) {
				if(isDOM) {
					documentID = document.getElementById(MenuID);
					documentIDShadow = document.getElementById(MenuIDShadow);
				}	
				else {
					documentID = document.all[MenuID];
					documentIDShadow = document.all[MenuIDShadow]
				}
				
				//alert(MenuPosY+'  '+documentID+'  '+documentID.style.top);
				
				if(documentID)
					documentID.style.top=MenuPosY;
					documentID.style.left=MenuPosX;
				if(documentIDShadow)
					documentIDShadow.style.top=MenuPosY+3;
					documentIDShadow.style.left=MenuPosX+3;
				
				if(documentID)
					documentID.style.visibility='visible';
				if(documentIDShadow)
					documentIDShadow.style.visibility='visible';
				
	
				if (popupOn && popupOn!=objName) {
					killPopup(popupOn);
				}
			}

			if (id!=null) clearTimeout(id);
			popupOn = objName;
		}
		
		function hide (objName, toplevel) {
			id = setTimeout("killPopup(" + objName + ")", 300);
		}
			
		function killPopup(objName) {
	    MenuID="menu"+objName;
	    MenuIDPicture="image"+objName;
	     MenuIDShadow="menu"+objName+"shadow";

			if(document.images[MenuIDPicture])
				hideImage(MenuIDPicture);

			if(itsOK) {
				if(isDOM) {
					documentID = document.getElementById(MenuID);
					documentIDShadow = document.getElementById(MenuIDShadow);
				}	
				else {
					documentID = document.all[MenuID];
					documentIDShadow = document.all[MenuIDShadow]
				}

				if(documentID)
					documentID.style.visibility='hidden';
				if(documentIDShadow)
					documentIDShadow.style.visibility='hidden';

			}
	
			popupOn = false;
		}
		
