#logo {
	position:relative;
 	width: 150px;
	top:0px;
	background: #000000;
	z-index: 10;
	padding-top: 45px;
text-align:center;
}
#logo span{
width: 135px;
margin: 0 auto;	/* Отступ слева и справа */
}


#firstcol {
width: 15%;
vertical-align: top;
float:left;
padding-left:20px;
}
#firstcol div {
 margin: 0 auto;	/* Отступ слева и справа */
}

#thirdcol{
width: 550px;
height: 100%;
float:left;
overflow: hidden;
}

#content{
 height: 70%;
 width: 80%;
 margin: 100px 10%;	
}
#content div  h1{
	height:5%;
	text-align:right;
	position: relative;
	margin-right: -10px;
	margin-bottom: 5px;
}


#right{
right:0px;
padding-right: 5%;
width:450px;
height: 95%;
}

#right img {
height:282px;
width: 102px;
border: #666666 solid 2px;
}

#right #active {
border: #FF0000 solid 2px;
}


#bottom_l {
position: absolute;
top: 0px;
left:0px;
width:100%;
height: 100%;
background: #565656 url(pic/backgd.gif) repeat-x;
overflow:auto;
}
#img-b-l {
	position: absolute;
	bottom: 0px;
	left: 0px;
}
#bottom_r {
position: absolute;
	width:100%;
	height: 100%;
	background:none;
}
#img-b-r {
	position: absolute;
	bottom: 0px;
	right: 0px;
}
#loading {background: url(pic/spinner.gif) no-repeat center center #fff; border:1px solid #888; width:50px; height:50px; position:absolute; top:50%; left:50%; z-index:100; margin:-25px 0 0 -25px; display:none;}
#popup {display:none; position:absolute; top:5%; left:70%;height:95%; width:245px; z-index:100;}
#overlay {background-color:#000; position:absolute; top:0; left:0; z-index:50; display:none; overflow:hidden;			width:100%;
			height:100%;}
#contain {
display: block;
height:95% ; width: 240px;
}
#contain img{
border: #666666 solid 4px;
}

.menu {
 	width: 150px;
	position:relative;
	background: #656565;
	left: 0px;
	top: 2px;
	text-align:left;
	padding-top: 4px;
	overflow:visible;
	z-index:5;
}

