html, body {
	height: 100%;
}

div#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #001222;
	display: none;
	z-index: 30;
}

* html div#overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#wrap {
	text-align: left;
	width: 500px;
	margin: 50px auto;
}

div#loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('../images/progress.png') no-repeat;
}

div#loading_overlay {
	position: absolute;
	background-color: #FFF;
	z-index: 30;
}

div#loading_icon {
	position: absolute;
	background: url('../images/loading.gif') no-repeat;
	z-index: 35;
	width: 16px;
	height: 16px;
}

div#outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 33px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#inner {
	position: relative;
	width:100%;
	height:100%;
	border: 0 none;
	background: #FFF;
}

div#content {
	margin: 10px;
	z-index: 100;
	position: absolute;
}

div#div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 30px;
	width: 30px;
	background: url('../images/close.png') top left no-repeat;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#left, a#right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}

a#left {
	left: 0px; 
}

a#right {
	right: 0px; 
}

span.ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#left_ico {
	left: -9999px;
	background: transparent url('../images/left.png') no-repeat;
}

span#right_ico {
	right: -9999px;
	background: transparent url('../images/right.png') no-repeat;
}

a#left:hover {
  visibility: visible;
}

a#right:hover {
  visibility: visible;
}

a#left:hover span {
	left: 20px; 
}

a#right:hover span {
	right: 20px; 
}

.bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../images/shadow_n.png') repeat-x;
}

div.bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/shadow_ne.png') no-repeat;
}

div.bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../images/shadow_e.png') repeat-y;
}

div.bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/shadow_se.png') no-repeat;
}

div.bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../images/shadow_s.png') repeat-x;
}

div.bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/shadow_sw.png') no-repeat;
}

div.bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../images/shadow_w.png') repeat-y;
}

div.bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/shadow_nw.png') no-repeat;
}

div#title {
	position: absolute;
	bottom: -33px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 3px;
}

div#title table {
	margin: 0 auto;
}

div#title table td {
	padding: 0;
	vertical-align: middle;
}

td#title_left {
	height: 32px;
	width: 15px;
	background: transparent url('../images/title_left.png') repeat-x;
}

td#title_main {
	height: 32px;
	background: transparent url('../images/title_main.png') repeat-x;
}

td#title_right {
	height: 32px;
	width: 15px;
	background: transparent url('../images/title_right.png') repeat-x;
}