#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 0px 15px;
background: #313131 url(head_bg.gif) repeat-x scroll 0 0;
visibility: hidden;
z-index: 20;
border:3px solid #BBB;
font-family: Century Gothic, Verdana, Helvetica, Arial;
text-align:center;
display:none;
}

#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
font: bold 16px Tahoma;
line-height: 1.1em;
color: white;
padding: 5px 0;
text-align: right;
height:20px;
width:100%;
/*border: 1px solid #0f0;*/
min-width:600px;
cursor:default;
}

#thumbBox .footerbar span#thumbClose{ 
cursor: pointer;
height:20px;
padding-right:25px;
background:url(x.gif) no-repeat right 0;
}

#thumbBox .footerbar span#thumbName{ 
height:20px;
padding-left:10px;
/*margin-right:30%;*/
float:left;
}

#thumbBox .footerbar span#thumbClose:hover{ 
background-position:right -21px;
text-decoration:underline;
}

#thumbBox .footbar{
text-align:center;
}
#thumbBox .footbar a{
height:45px;
width:75px;
margin:0px 20px;
display:inline-block;
}
#thumbBox .footbar a#next{
background: url(next.gif) no-repeat center top;
}
#thumbBox .footbar a#prev{
background: url(prev.gif) no-repeat center top;
}
#thumbBox .footbar a#nextpag{
background: url(nextpag.gif) no-repeat center top;
}
#thumbBox .footbar a#prevpag{
background: url(prevpag.gif) no-repeat center top;
}
#thumbBox .footbar a#prev:hover, #thumbBox .footbar a#prevpag:hover, #thumbBox .footbar a#next:hover, #thumbBox .footbar a#nextpag:hover{
background-position: center bottom;
}
#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
background-color: #313131;
color:#fff;
}

#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated*/
background:white none repeat scroll 0 0;
border:2px solid #095FB0;
color:#22476F;
visibility: hidden;
font-family:Verdana;
font-size:15px;
font-weight:bold;
left:50%;
padding:20px;
position:fixed;
top:50%;
width:250px;
z-index:17;
display:none;
}

.tamanymax{
	/*max-width:400px;
   	width: expression(this.width > 400 ? 400: true);
	max-height:400px;
   	height: expression(this.height > 400 ? 400: true);*/
}

#thumbBox a:active{
outline:none;
}

#BackGround{
	background-color:#000000; 
	opacity:0.75; 
	filter:alpha(opacity=75); 
	position:fixed; 
	top:0; 
	left:0; 
	z-index:15;
	display:none;
	height:100%;
	width:100%;
}