.window {
  position:fixed;
  left:0;
  top:0;
  width:440px;
  height:200px;
  display:none;
  z-index:9999;
  padding:20px;
 -moz-border-radius: 8px;
 -webkit-border-radius: 8px;  
  border-radius: 8px;
}

#dialog {
  width:375px; 
  height:203px;
  padding:10px;
  background-color:#ffffff;
}

#waiting {
  position:fixed;
  left:0;
  top:0;	
  z-index:9999;
  width:60px; 
  height:60px;
  padding:10px;
  background-color: transparent;
}

#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color: #666666;
  display:none;
}

div.horizontal_bar {
	background-color: #0082cc;
	border-radius: 4px;
	font-weight: bold;
	color: white;
	padding: 0.5em;
	vertical-align: middle;
}

a.dlg_button div {
	width: 72px;
	height: 20px;
	display: inline-block;
}

#dlg_button_close div {	background: url(button_close.png) no-repeat; }
#dlg_button_yes div 	{	background: url(button_yes.png) no-repeat; }
#dlg_button_no div 	{	background: url(button_no.png) no-repeat; }

/* For old style dialog */
.dialog {
	margin-left: auto; margin-right: auto; 
	margin-top: 40px; margin-bottom: 40px;
	border: 1px solid #999999; 
	border-radius: 10px; 
	background-color: white;
}

.dlg_top_left {
	background-image: url(dialog/dlg_top_left.png);
	background-repeat: no-repeat;
	background-position: top left;
	width: 8px;
	height: 29px;
}

.dlg_top_center {
	background-image: url(dialog/dlg_top_center.png);
	background-repeat: repeat-x;
	background-position: top;
	height: 29px;
	font-size: 1.25em;
	font-weight: bold;
	color: #FFFFFF;
}

.dlg_top_right {
	background-image: url(dialog/dlg_top_right.png);
	background-repeat: no-repeat;
	background-position: top right;
	width: 8px;
	height: 29px;
}

.dlg_bottom_left {
	background-image: url(dialog/dlg_bottom_left.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 8px;
	height: 15px;
}

.dlg_bottom_center {
	background-image: url(dialog/dlg_bottom_center.png);
	background-repeat: repeat-x;
	background-position: bottom;
	height: 15px;
	font-size: 1.25em;
	font-weight: bold;
	color: #FFFFFF;
}

.dlg_bottom_right {
	background-image: url(dialog/dlg_bottom_right.png);
	background-repeat: no-repeat;
	background-position: bottom right;
	width: 8px;
	height: 15px;
}
