html { /*------------ 100% высота контейнера div.page */
height: 100%;
}

body {
/*--------------- 100% высота контейнера div.page */
min-height:100%;
height: 100%;
background: #b4d3e5;
}

#index div.page {
background:  #ffffff url("../images/fon1.jpg")  no-repeat 0 0;
}

#inner div.page {
background:  #ffffff url("../images/fon2.jpg")  no-repeat 0 0;
}
#inner2 div.page {
background:  #ffffff url("../images/fon3.jpg")  no-repeat 0 0;
}
#inner3 div.page {
background:  #ffffff url("../images/fon4.jpg")  no-repeat 0 0;
}
#inner4 div.page {
background:  #ffffff url("../images/fon5.jpg")  no-repeat 0 0;
}
#inner5 div.page {
background:  #ffffff url("../images/fon6.jpg")  no-repeat 0 0;
}
html#inner2-4 #inner4 div.page {
background:  #ffffff url("../images/fon3.jpg")  no-repeat 0 0;
}

/* Контейнер всего содержимого кроме подвала */
div.page {
height: auto !important;
min-height:100%;
height: 100%;
width:1000px;
margin-left:auto;
margin-right:auto;
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 990? "1000px":"center");
}

div.page0 {
width:100%;
margin-left:auto;
margin-right:auto;
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 990? "1000px":"center");
}

div.page div.sidebar {
width: 400px;
float:right;
}

div.page div.mainbar {
margin-top:50px;
margin-right:400px;
margin-left:20px;
background-color: #ffffff;
}

div.page div.mainbar_2 {
margin-top:50px;
padding-right:20px;
padding-left:20px;
background-color: #ffffff;
}

*{
padding:0px;
margin:0px;
border:0px;
}

/* Контейнер шапки */
div.page div.header {
position:relative;
height: 200px;
width:100%;
margin-left:auto;
margin-right:auto;
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 990? "1000px":"center");
}


/* Патч для установки минимальной высоты в IE */
div.page div.patch_minheight {
float: left;
width:100%;
height: 15px;
}

div.page div.footer_guarantor {
height: 15px;
clear: both;
}

.main {
float:left;
width:100%;
}


div.footer {
height: 15px;
margin-top:-15px;
width:1000px;
margin-left:auto;
margin-right:auto;
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 990? "1000px":"center");
}
