html { /*------------ 100% высота контейнера div.page  */
height: 100%;
}
body {
/*--------------- 100% высота контейнера div.page  */
min-height:100%;
height: 100%;
background: #ffffff url('../d/left0.gif') repeat-y 0 0; 
}
/* Контейнер всего содержимого кроме подвала */
div.page {
width: 100%;
height: auto !important;
min-height:100%;
height: 100%;
/*----------------------- 100% высоты контейнера относительно клиентской области и контента для IE, FF, Opera */
max-width:1680px;
min-width:1000px;
width:expression(document.body.clientWidth > 1680? "1680px": (document.body.clientWidth < 1000? "990px" : "auto"));
margin-left:auto;
margin-right:auto;
background: url('../d/top_fon0.jpg') repeat-x 0 0;
}
div.page0 {
float:left;
width:100%;
}
/* Контейнер шапки */
div.page div.header {
width: 100%;
float:left;
height:335px;
position:relative;
background: url('../d/top_fon.jpg') no-repeat 0% 100%;
}
/* Патч для установки минимальной высоты в IE */
div.page div.patch_minheight {
width: 1px;
height:170px;
float: right;
}
div.page div.footer_guarantor {
height:170px;
clear: both;
}
.main {
float:left;
width:100%;
position:relative;
border-top: 10px #ffffff solid;
margin-bottom:-130px;

}
.main0 {
background: #aecff1 url('../d/fon_block_bottom.gif') repeat-x 0 bottom;
float:left;
border-top: 2px #ffffff solid;
width:100%;
}
.main00 {
background:  url('../d/left.gif') repeat-y 0 0;
float:left;
width:100%;
position:relative;
border-top: 2px #ffffff solid;
}
.main000 {
float:left;
width:100%;
background:   url('../d/fon_block_left_bottom.gif') no-repeat 10px bottom;
padding-bottom:0px;
}
.main0 .sidebar {
float:left;
width:230px;
position:relative;
left:10px;
background:  url('../d/fon_left_top.gif') no-repeat 0 0;
}
.main0  .mainbar {
margin-left:232px;
}

.sidebar {
float:left;
width:250px;
}
.mainbar {
margin-left:251px;
}
/* Контейнер подвала */
div.footer {
margin-top:-168px;
width: 100%;
height: 168px;
background: url('../d/fon_bottom.gif') repeat-x 0 0;
clear: both;
floaT:left;
max-width:1680px;
min-width:1000px;
margin-left:auto;
margin-right:auto;
width:expression(document.body.clientWidth > 1680? "1680px": (document.body.clientWidth < 1000? "990px" : "auto"));
}

