#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 10px;
padding-bottom: 0;
background: #CCC;
visibility: hidden;
z-index: 10;
cursor: hand;
cursor: pointer;
}

#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
font: bold 16px Tahoma;
letter-spacing: 5px;
line-height: 1.1em;
color: white;
padding: 5px 0;
text-align: right;
}


#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
background-color: white;
}

#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated*/
position: absolute;
visibility: hidden;
border: 1px solid black;
background-color: #CCC;
padding: 5px;
z-index: 5;
}

html,body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#outerMost {
  position: relative;
  min-height: 100%;
}

p { /* to prevent collapsing margins from interfering with this demo */
  margin: 0;
  padding: .5em;
}

#prepage {
  position: absolute; /* for IE5-6 */
  z-index: 9000;
 /*  left: 0;
  right: 0;
  top: 0;
  bottom: 0; */
  background-color: #666;
  filter:alpha(opacity=80); /* IE5.5+ */
  -moz-opacity:0.8; /* Gecko browsers including Netscape 6+ and Firefox */
  -khtml-opacity: 0.8; /* Safari 1.1-1.3 */
  opacity: 0.8; /* Netscape 7.2+, Firefox, Safari 2+, Opera 9 */
}
/* Hide from IE5/Mac \*/
* html #outerMost {
  height: 100%;
}
* html #prepage {
  left: auto;
  top: auto;
  width: 100%;
  height: 100%;
}
/* End hide */
