html, body {
	margin: 0 auto;
	padding: 0;
	text-align: center;
	background: #282828;
}
table {margin: 0 auto;}
#all {
	width: 739px;
	height: 520px;
	margin: auto;
	padding: 0;
/*	margin-top: 46px;*/
	position: relative;
}
A {
	font-family: Tahoma;
	font-size: 19px;
	color: White;
	text-decoration: none;
}
#block1 {
	background: #929292;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 0;
	left: 429px;
}
#block2 {
	background-image: url(/templates/frontend/khomsky/images/logo.gif);
	width: 264px;
	height: 105px;
	position: absolute;
	top: 155px;
	left: 165px;
	bottom: 0;
}
#block3 {
	background: #676767;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 130px;
	left: 429px;
}
#contact {
	background: #333333;
	width: 178px;
	height: 130px;
	position: absolute;
	top: 130px;
	left: 561px;
	line-height: 130px;
}
#contact:hover, #contact.over {
	background-color: #F38120;
}
#gallery {
	background: #929292;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 260px;
	left: 165px;
	line-height: 130px;
}
#gallery:hover, #gallery.over {
	background-color: #F38120;
}
#block6 {
	background: #9F9F9F;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 260px;
	left: 297px;
}
#block7 {
	background: #1F1F1F;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 260px;
	left: 429px;
}
#events {
	background: #747474;
	width: 165px;
	height: 130px;
	position: absolute;
	top: 390px;
	left: 0;
	line-height: 130px;
}
#events:hover, #events.over {
	background-color: #F38120;
}
#block9 {
	background: #1F1F1F;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 390px;
	left: 165px;
}
#about {
	background: #333333;
	width: 132px;
	height: 130px;
	position: absolute;
	top: 390px;
	left: 297px;
	line-height: 130px;
}
#about:hover, #about.over {
	background-color: #F38120;
}
#all p {
	font-family: Tahoma;
	font-size: 13px;
	color: #F38120;
	text-align: right;
	position: absolute;
	top: 262px;
	left: 567px;
}

.picture {
    width: 396px; height: 260px;
    position: absolute;
    /*left: 165px; top: 260px;*/
    width: 132px; height: 130px;
    z-index: 100;
    display: none;
}
img#gallery1 { left: 165px; top: 390px; }
img#gallery2 { left: 429px ; top: 260px ; }
img#events1 { left: 165px; top: 390px; }
img#events2 { left: 297px; top: 260px; }
img#about1 { left: 429px; top: 130px; }
img#about2 { left: 297px; top:260px; }
img#contact1 { left: 429px; top: 0; }
img#contact2 { left: 429px; top: 260px; }

