/* Включение кеширования background-image для IE */
html 
{
  filter: expression(document.execCommand("BackgroundImageCache", false, true));
}

/* Внешняя таблица меню (Фон меню) */
TABLE.TPAGEMENU_MAIN_OUTERTABLE
{
	width: 100%; height: 26px;
}

	/* Левая, правая верхняя секция фона меню */
	TD.TPAGEMENU_MAIN_L_T, TD.TPAGEMENU_MAIN_R_T
	{
		width: 8px; height: 4px;
		background-image: url(../gif/site-top/main_t.gif);
		background-repeat: repeat-x;
	}
	
	/* Средняя верхняя секция фона меню */
	TD.TPAGEMENU_MAIN_M_T
	{
		height: 4px;
		background-image: url(../gif/site-top/main_t.gif);
		background-repeat: repeat-x;
	}

	/* Левая средняя секция фона меню */
	TD.TPAGEMENU_MAIN_L_M
	{
		width: 8px;
		background-image: url(../gif/site-top/main_lm.gif);
		background-repeat: no-repeat;
	}
	
	/* Средняя средняя секция фона меню */
	TD.TPAGEMENU_MAIN_M_M
	{
    background-image: url(../gif/site-top/main_mm.gif);
    background-repeat: repeat-x;
		text-align: left;
	}
	
		/* Внутренняя таблица меню (содержит элементы меню) */
		TABLE.TPAGEMENU_MAIN_INNERTABLE_H
		{
			width: auto; height: auto;
		}
		TABLE.TPAGEMENU_MAIN_INNERTABLE_V
		{
			width: 100%; height: auto;
		}
		
			/* Ячейка содержащая элемент меню */
			TD.TPAGEMENU_MAIN_ITEM
			{
        height: 18px;
				padding: 0px;
				text-decoration: none;
        font-family: Tahoma; font-size: 11px; font-weight: bold;
			}
			
				/* Ссылка элемента меню */
				A.TPAGEMENU_MAIN_ITEM_IE /* IE COMPATIBLE ONLY */
				{
					width: 100%;
					background-color: transparent;
          background-image: none;
					border-style: none;
					text-decoration: none;
          padding-top: 2px; padding-bottom: 3px; padding-left: 6px; padding-right: 6px;
					color: White;
				}
				A.TPAGEMENU_MAIN_ITEM_IE_selected /* IE COMPATIBLE ONLY */
				{
					width: 100%;
          background-image: url(../gif/site-top/main_button_down.gif);
          background-repeat: repeat-x;
					border-style: solid; border-width: 1px;
          border-color: #35589A;
					text-decoration: none;
          padding-top: 1px; padding-bottom: 2px; padding-left: 5px; padding-right: 5px;
					color: White;
				}
				A.TPAGEMENU_MAIN_ITEM_IE:hover, /* IE COMPATIBLE ONLY */
				A.TPAGEMENU_MAIN_ITEM_IE_selected:hover
				{
					width: 100%;
          background-image: url(../gif/site-top/main_button_hover.gif);
          background-repeat: repeat-x;
          border-style: solid; border-width: 1px;
          border-color: #35589A;
					text-decoration: none;
          padding-top: 1px; padding-bottom: 2px; padding-left: 5px; padding-right: 5px;
					color: White;
				}
				A.TPAGEMENU_MAIN_ITEM /* NOT IE COMPATIBLE ONLY */
				{
					text-decoration: none;
				}
				A.TPAGEMENU_MAIN_ITEM:hover /* NOT IE COMPATIBLE ONLY */
				{
					text-decoration: none;
				}
			
					/* Растяжитель ссылки элемента меню */
					DIV.TPAGEMENU_MAIN_ITEM /* NOT IE COMPATIBLE ONLY */
					{
					  background-color: transparent;
            background-image: none;
					  border-style: none; border-width: 1px;
					  text-decoration: none;
            padding-top: 2px; padding-bottom: 3px; padding-left: 6px; padding-right: 6px;
					  color: White;
					}
					DIV.TPAGEMENU_MAIN_ITEM_selected /* NOT IE COMPATIBLE ONLY */
					{
            background-image: url(../gif/site-top/main_button_down.gif);
            background-repeat: repeat-x;
					  border-style: solid; border-width: 1px;
            border-color: #35589A;
					  text-decoration: none;
            padding-top: 1px; padding-bottom: 2px; padding-left: 5px; padding-right: 5px;
					  color: White;
					}
					DIV.TPAGEMENU_MAIN_ITEM:hover, /* NOT IE COMPATIBLE ONLY */
					DIV.TPAGEMENU_MAIN_ITEM_selected:hover 
					{
            background-image: url(../gif/site-top/main_button_hover.gif);
            background-repeat: repeat-x;
            border-style: solid; border-width: 1px;
            border-color: #35589A;
					  text-decoration: none;
            padding-top: 1px; padding-bottom: 2px; padding-left: 5px; padding-right: 5px;
					  color: White;
					}
			
						/* Нижняя стрелка кнопки меню */
						DIV.TPAGEMENU_MAIN_ARROW_DOWN
						{
							background-image: url(../gif/site-top/arrow_d.gif);
							background-repeat: no-repeat;
							background-position: right 65%;
							padding-right: 13px;
							margin-right: 2px;
						}
																	
						/* Верхняя стрелка кнопки меню */
						DIV.TPAGEMENU_MAIN_ARROW_UP
						{
							background-image: url(../gif/site-top/arrow_u.gif);
							background-repeat: no-repeat;
							background-position: right;
							padding-right: 13px;
							margin-right: 2px;
						}
						
						/* Отсутствие стрелки кнопки меню */
						DIV.TPAGEMENU_MAIN_ARROW_NONE
						{
							
						}
            
              /* Картинка пункта меню */
              IMG.TPAGEMENU_MAIN_PICTURE
              {
                margin-top: 0px;
              }
	
	/* Правая средняя секция фона меню */
	TD.TPAGEMENU_MAIN_R_M
	{
		width: 8px;
		background-image: url(../gif/site-top/main_rm.gif);
		background-repeat: no-repeat;
	}
	
	/* Левая, правая нижняя секция фона меню */
	TD.TPAGEMENU_MAIN_L_B, TD.TPAGEMENU_MAIN_R_B
	{
		width: 8px; height: 4px;
		background-image: url(../gif/site-top/main_b.gif);
		background-repeat: repeat-x;
	}
	
	/* Средняя нижняя секция фона меню */
	TD.TPAGEMENU_MAIN_M_B
	{
		height: 4px;
		background-image: url(../gif/site-top/main_b.gif);
		background-repeat: repeat-x;
	}
	
/* Внешняя таблица подменю (Фон подменю) */
TABLE.TPAGEMENU_SUB_OUTERTABLE
{
	width: auto; height: auto;
	position: absolute;  /* Обязательное значение absolute */
	visibility: hidden;  /* Обязательное значение hidden */
	left: 0px; top: 0px; /* Рекомендуемые значения 0 0 */
  z-index: 10;
}

	/* Левая верхняя секция фона подменю */
	TD.TPAGEMENU_SUB_L_T
	{
		width: 4px; height: 4px;
		background-image: url(../gif/site-top/sub_lt.gif);
		background-repeat: no-repeat;
	}
	
	/* Средняя верхняя секция фона подменю */
	TD.TPAGEMENU_SUB_M_T
	{
		height: 4px;
		background-image: url(../gif/site-top/sub_mt.gif);
		background-repeat: repeat-x;
	}
	
	/* Правая верхняя секция фона подменю */
	TD.TPAGEMENU_SUB_R_T
	{
		width: 4px; height: 4px;
		background-image: url(../gif/site-top/sub_rt.gif);
    background-repeat: no-repeat;
	}

	/* Левая средняя секция фона подменю */
	TD.TPAGEMENU_SUB_L_M
	{
		width: 4px;
		background-image: url(../gif/site-top/sub_lm.gif);
		background-repeat: repeat-y;
	}
	
	/* Средняя средняя секция фона подменю */
	TD.TPAGEMENU_SUB_M_M
	{
		background-color: #FFFCE0;
	}
	
		/* Внутренняя таблица подменю (содержит элементы подменю) */
		TABLE.TPAGEMENU_SUB_INNERTABLE
		{
			width: 100%; height: auto;
		}
		
			/* Ячейка содержащая элемент подменю */
			TD.TPAGEMENU_SUB_ITEM
			{
				padding-top: 0px; padding-bottom: 0px;
				text-decoration: none;
        font-family: Tahoma; font-size: 11px; font-weight: bold;
			}
			
				/* Ссылка элемента подменю */
				A.TPAGEMENU_SUB_ITEM_IE /* IE COMPATIBLE ONLY */
				{
					width: 100%;
					background-color: transparent;
					border-style: none;
					text-decoration: none;
					padding: 2px; padding-left: 4px; padding-right: 4px;
					color: #0054A6;
				}
				A.TPAGEMENU_SUB_ITEM_IE_selected /* IE COMPATIBLE ONLY */
				{
					width: 100%;
					background-color: #69ADEE;
          border-style: none;
					text-decoration: none;
          padding: 2px; padding-left: 4px; padding-right: 4px;
					color: White;
				}
				A.TPAGEMENU_SUB_ITEM_IE:hover, /* IE COMPATIBLE ONLY */
				A.TPAGEMENU_SUB_ITEM_IE_selected:hover
				{
					width: 100%;
					background-color: #448CCB;
          border-style: none;
					text-decoration: none;
          padding: 2px; padding-left: 4px; padding-right: 4px;
					color: White;
				}
				A.TPAGEMENU_SUB_ITEM /* NOT IE COMPATIBLE ONLY */
				{
					text-decoration: none;
				}
				A.TPAGEMENU_SUB_ITEM:hover /* NOT IE COMPATIBLE ONLY */
				{
					text-decoration: none;
				}
			
					/* Растяжитель ссылки элемента подменю */
					DIV.TPAGEMENU_SUB_ITEM /* NOT IE COMPATIBLE ONLY */
					{
					  background-color: transparent;
					  border-style: none;
					  text-decoration: none;
					  padding: 2px; padding-left: 4px; padding-right: 4px;
					  color: #0054A6;
					}
					DIV.TPAGEMENU_SUB_ITEM_selected /* NOT IE COMPATIBLE ONLY */
					{
					  background-color: #69ADEE;
            border-style: none;
					  text-decoration: none;
            padding: 2px; padding-left: 4px; padding-right: 4px;
					  color: White;
					}
					DIV.TPAGEMENU_SUB_ITEM:hover, /* NOT IE COMPATIBLE ONLY */
					DIV.TPAGEMENU_SUB_ITEM_selected:hover
					{
					  background-color: #448CCB;
            border-style: none;
					  text-decoration: none;
            padding: 2px; padding-left: 4px; padding-right: 4px;
					  color: White;		
					}
					
						/* Правая стрелка кнопки подменю */
						DIV.TPAGEMENU_SUB_ARROW_RIGHT
						{
							background-image: url(../gif/site-top/arrow_r.gif);
							background-repeat: no-repeat;
							background-position: right;
							padding-right: 20px;
						}
						
						/* Левая стрелка кнопки подменю */
						DIV.TPAGEMENU_SUB_ARROW_LEFT
						{
							background-image: url(../gif/site-top/arrow_l.gif);
							background-repeat: no-repeat;
							background-position: left;
							padding-left: 20px;
						}
						
						/* Отсутствие стрелки кнопки подменю */
						DIV.TPAGEMENU_SUB_ARROW_NONE
						{

						}
              /* Картинка пункта подменю */
              IMG.TPAGEMENU_SUB_PICTURE
              {
                margin-top: 0px;
              }
	
	/* Правая средняя секция фона подменю */
	TD.TPAGEMENU_SUB_R_M
	{
		width: 4px; background-image: url(../gif/site-top/sub_rm.gif);
		background-repeat: repeat-y;
	}
	
	/* Левая нижняя секция фона подменю */
	TD.TPAGEMENU_SUB_L_B
	{
		width: 4px; height: 4px;
		background-image: url(../gif/site-top/sub_lb.gif);
		background-repeat: no-repeat;
	}
	
	/* Средняя нижняя секция фона подменю */
	TD.TPAGEMENU_SUB_M_B
	{
		height: 4px;
		background-image: url(../gif/site-top/sub_mb.gif);
		background-repeat: repeat-x;
	}
	
	/* Правая нижняя секция фона подменю */
	TD.TPAGEMENU_SUB_R_B
	{
		width: 4px; height: 4px;
		background-image: url(../gif/site-top/sub_rb.gif);
		background-repeat: no-repeat;
	}
  
/* Внешняя таблица эффекта тени меню (Фон меню) */
TABLE.TPAGEMENU_SHADOW_OUTERTABLE
{
  width: 100px; height: 100px;
	position: absolute;       /* Обязательное значение absolute */
	visibility: hidden;       /* Обязательное значение hidden */
	left: 0px; top: 0px;      /* Рекомендуемые значения 0 0 */
  -moz-opacity: 0.40;       /* FireFox */
  filter:alpha(opacity=40); /* IE */
  opacity: 0.40;            /* Opera */
}

	/* Левая верхняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_L_T
	{
		width: 5px; height: 5px;
		background-image: url(../gif/site-top/shadow_lt.gif);
		background-repeat: no-repeat;
	}
	
	/* Средняя верхняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_M_T
	{
		height: 5px;
    background-color: #7D7D7D;
	}
	
	/* Правая верхняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_R_T
	{
		width: 5px; height: 5px;
		background-image: url(../gif/site-top/shadow_rt.gif);
		background-repeat: no-repeat;
	}

	/* Левая средняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_L_M
	{
		width: 5px;
		background-color: #7D7D7D;
	}
	
	/* Средняя средняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_M_M
	{
		background-color: #7D7D7D;
		text-align: left;
    font-size: 1px; font-weight: normal;
	}
  
  /* Правая средняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_R_M
	{
		width: 5px;
		background-color: #7D7D7D;
	}
	
	/* Левая нижняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_L_B
	{
		width: 5px; height: 5px;
		background-image: url(../gif/site-top/shadow_lb.gif);
		background-repeat: no-repeat;
	}
	
	/* Средняя нижняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_M_B
	{
		height: 5px;
		background-color: #7D7D7D;
	}
	
	/* Правая нижняя секция эффекта тени */
	TD.TPAGEMENU_SHADOW_R_B
	{
		width: 5px; height: 5px;
		background-image: url(../gif/site-top/shadow_rb.gif);
		background-repeat: no-repeat;
	}	