
#previewbox
{
  border:4px solid blue;
}

.popupwindow{
position: absolute;
border: 2px solid black;
visibility: hidden;
background-color: white;

width:60%;
/* height:215px; */
/* padding-bottom:10px; */

}

.drag-handle{ /*CSS for Drag Handle*/
padding: 1px;
text-indent: 3px;
font: bold 14px Arial;
color: white;
cursor: move;
/* overflow: hidden; */
width: auto;
/*
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
*/
background-color: #3333aa;
}


.drag-handle .drag-controls{ /*CSS for controls (min, close etc) within Drag Handle*/
position: absolute;
right: 1px;
top: 2px;
cursor: hand;
cursor: pointer;
}


* html .drag-handle{ /*IE6 and below CSS hack. Width must be set to 100% in order for opaque title bar to render*/
width: 100%;
}


.drag-contentarea{ /*CSS for Content Display Area div*/
/* border-top: 1px solid brown; */
background-color: white;
color: black;
height: 75px;
padding: 2px;
/* overflow: auto; */
}


.drag-statusarea{ /*CSS for Status Bar div (includes resizearea)*/
/* border-top: 1px solid gray; */
background-color: #F8F8F8;
height: 13px; /*height of resize image*/
}


.drag-resizearea{ /*CSS for Resize Area itself*/
float: right;
width: 13px; /*width of resize image*/
height: 13px; /*height of resize image*/
cursor: nw-resize;
font-size: 0;
}


#titleframe
{
  text-align:center;
  background-color:#f0f0f0;
  font-weight:bold;
  color:blue;
}

#previewstatus
{
  font-family: Arial, Helvetica, sans-serif;
  font-weight:bold;

  background-color:#ff0000;
  color:#ffffff;

  text-align:center;
  margin-bottom:10px;
}

#previewframe
{
  text-align:center;
  background-color:#F8F8F8;

  padding-top: 15px;
  padding-bottom: 15px;

  overflow-x:auto;
  overflow-y:auto;

}

#commandbuttons
{
  text-align:center;
  background-color:#f0f0f0;
  width:100%;
}

#div-close
{
  font-family: Arial, Helvetica, sans-serif;
  font-size:0.8em;
  font-weight:bold;

  text-align:center;
  background-color:#ffffff;
  border: 1px solid black;

  cursor:hand;
  text-decoration:none;

  width:40px;
  margin-left:45%;
  margin-right:45%;
  padding: 2px 2px 2px 2px ;
}


