/*
http://webcloud.se/article/Building_modal_panels_with_jQuery
*/


#modal-overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
	background: #000;
	display: none;
}
#modal-window {
	position: fixed;
	z-index: 102;
	display:none;
	top:50%;
	left:50%;
}
#modal-window img 
{
	display: block;
	border: 3px solid #ccc;
}
#modal-load {
	position: fixed;
	height:13px;
	width:208px;
	background: url(../img/ajax-loader2.gif) no-repeat center center;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

 /* ie6 hacks */
* html #modal-overlay {
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
* html #modal-window,
* html #modal-load {
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}	
