* html #grayLayer { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

.grayLayer {
	position: fixed;
	background-image: url(../images/grayScreen.png);
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/grayScreen.png',sizingMethod='scale');
	background: none;
    top: 0px;
    left: 0px;
    z-index: 990;
    width: 100%;
    height: 100%;
}

.grayLayer[class] {
	/* hack to deal with IE's limited support of PNG */
	background-image: url(../images/grayScreen.png) !important;
}

#dialogWrapper {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1000;
	text-align: center;
	width: 100%;
}

#dialogBox {
	margin-left: auto;
	margin-right: auto;
}

/* Dialog box basics */
.dialogTitle {
	float: left;
	font: normal normal normal 18px Arial, sans-serif;
	color: #ffffdc;
	text-align: left;
	margin: 0px 0px 0px 16px;
	padding-top: 2px;
}

.dialogRectangleBox .dialogTitle {
	margin: 0px 0px 0px 2px;
}

.dialogTextBox .dialogTitle {
	margin: 0px 0px 0px 2px;
}


.dialogClose {
	float: right;
	font: normal normal normal 14px Arial, sans-serif;
	text-align: left;
	margin: 0px 16px 0px 0px;
	padding: 4px 0px;
}

.dialogRectangleBox .dialogClose, .dialogTextBox .dialogClose {
	margin: 0px 2px 0px 0px;
}

.dialogClose a {
	color: #ffffdc;
}

.dialogRoundedBox .top .leftCorner {
	clear: both;
	height: 6px;
	width: 6px;
	float: left;
	background-image: url(../images/gs_border_top_left.gif);
	line-height:6px;
}

.dialogRoundedBox .top .middle {
	height: 6px;
	float: left;
	background: url(../images/gs_border_edge.gif) #fff repeat-x top;
	line-height:6px;
}

.dialogRoundedBox .top .rightCorner {
	height: 6px;
	width: 6px;
	float: left;
	background-image: url(../images/gs_border_top_right.gif);
	line-height:6px;
}

.dialogRoundedBox .dialogContent {
	clear: both;
	background-color: #fff;
	border-left: solid 2px #cbc5b0;
	border-right: solid 2px #cbc5b0;
	text-align: left;
	padding: 2px 16px;
}

.dialogRectangleBox .dialogContent {
	clear: both;
	background-color: #fff;
	text-align: left;
	padding: 0;
}
.dialogTextBox .dialogContent {
	clear: both;
	text-align: center;
	padding: 0;
}

.dialogRoundedBox .bottom .leftCorner {
	height: 6px;
	width: 6px;
	float: left;
	background-image: url(../images/gs_border_bottom_left.gif);
	line-height:6px;
}

.dialogRoundedBox .bottom .middle {
	height: 6px;
	float: left;
	background: url(../images/gs_border_edge.gif) #fff repeat-x bottom;
	line-height:6px;
}

.dialogRoundedBox .bottom .rightCorner {
	height: 6px;
	width: 6px;
	float: left;
	background-image: url(../images/gs_border_bottom_right.gif);
	line-height:6px;
}

.dialogRoundedBox .bottom {
	margin-bottom: 20px;
}

/* Dialog box Large */
.dialogRoundedBox.large, .dialogRectangleBox.large, .dialogTextBox.large {
	width: 860px;
	margin: 20px auto;
}
.dialogContent.large {
	font-size: 72px;
	color: #fff;
}
.dialogContent.medium {
	font-size: 48px;
	color: #fff;
}
.dialogContent.small {
	font-size: 18px;
	color: #fff;
}

.dialogRoundedBox.large .middle {
	width: 816px;
	padding: 0px 16px;
}

/* IE6 Hack */
* html .dialogRoundedBox.large .middle {
	width: 812px;
}

.dialogContent.large {
	width: 856px;
}

.dialogRectangleBox .dialogContent {
	border: solid 2px #cbc5b0;
}
.dialogTextBox .dialogContent {
	border: none;
}

/* Dialgo box medium */
.dialogRoundedBox.medium, .dialogRectangleBox.medium, .dialogTextBox.medium {
	width: 600px;
	margin: 20px auto;
}
.dialogTextBox.medium {
	margin: auto;
	text-align: center;
	font-size: 18px;
	color: #fff;
}

.dialogRoundedBox.medium .middle {
	width: 556px;
	padding: 0px 16px;
}

/* IE6 Hack */
* html .dialogRoundedBox.medium .middle {
	width: 452px;
}

.dialogContent.medium {
	width: 496px;
}

/* Dialgo box small */
.dialogRoundedBox.small, .dialogRectangleBox.small,  .dialogTextBox.small {
	width: 440px;
/*	margin: 20px auto;*/
	margin: 20px 40px;
}
.dialogTextBox.small {
	margin: auto;
	text-align: center;
	font-size: 14px;
	color: #fff;
}

.dialogRoundedBox.small .middle {
	width: 396px;
	padding: 0px 16px;
}

/* IE6 Hack */
* html .dialogRoundedBox.small .middle {
	width: 392px;
}

.dialogContent.small {
	width: 436px;
}
