#wrap {margin: 20px;}

#modal-overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
	background: #000;
	display: none;
}

* html #modal-overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

* html #modal-window,
* html #modal-load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#modal-window {
	position: fixed;
	z-index: 102;
	display:none;
	top:50%;
	left:50%;
	width:441px;
	height:441px;
	margin: -220px 0 0 -220px; /* -height/2 0 0 -width/2 */

}
/*
#modal-window img 
{
	display: block;
	border: 3px solid #ccc;
}
*/
#modal-load{
	position: fixed;
	height:13px;
	width:208px;
	background-repeat: no-repeat;
	background-position: middle center;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}
.modaltbl 
{
	background-color:White;
	width:441px;
	height:441px;
	/*margin: -220px 0 0 -220px; /* -height/2 0 0 -width/2 */
	
}
#loader 
{
	background-color:#F7CF11;
	min-width: 402px;
	height:370px;
	line-height:370px;
}
#loader img 
{
	vertical-align:middle;
}
#closeModal
{
	cursor:pointer;
	padding-left:20px;
}
#editModalImg 
{
	padding-right:20px;
}
#isActModalImg 
{
	padding-left:20px;
}
#nextModalImg, #curModalImg, #prevModalImg
{
	height:46px;
}
#nextModalImg, #prevModalImg
{
	cursor:pointer;
}

#nextModalImg img, #curModalImg img, #prevModalImg img
{
	vertical-align:middle;
}
