Index: /branches/2.2/filemanager/tp/expressowindow/xsl/window.xsl
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/xsl/window.xsl	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/xsl/window.xsl	(revision 3436)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<xsl:output method="html" omit-xml-declaration="yes"/>
+
+	<xsl:param name = "id_window" />
+	<xsl:param name = "left" />	
+	<xsl:param name = "height" />
+	<xsl:param name = "onclick" />
+	<xsl:param name = "title" />
+	<xsl:param name = "top" />
+	<xsl:param name = "width" />
+	<xsl:param name = "zindex" />
+	
+	<xsl:template match="window_main">
+			
+			<!-- Principal -->
+			<div id="{$id_window}__main" style="z-index: {($zindex)+1}; width: {$width}px;" class="x-window">
+				<div class="x-window-tl">
+					<div class="x-window-tr">
+						<div class="x-window-tc">
+							<div id="{$id_window}__draggable" style="-moz-user-select: none; width: {($width)-31}px;" class="x-window-header x-unselectable x-window-draggable">
+								<xsl:value-of select="$title"/>
+							</div>
+							<div class="x-tool x-tool-close" onclick="{$onclick}"></div>
+						</div>
+					</div>
+				</div>
+				<div class="x-window-bwrap">
+					<div class="x-window-ml">
+						<div class="x-window-mr">
+							<div class="x-window-mc">
+								<div style="width: {($width)-14}px; height: {($height)-32}px;" class="x-window-body">
+									<div style="width: {($width)-14}px;" class="x-tab-panel x-tab-panel-noborder">
+										
+										<!-- Conteudo -->
+										<div class="x-tab-panel-bwrap">
+											<div style="width: {($width)-14}px; height: {$height}px;" class="x-tab-panel-body x-tab-panel-body-noborder x-tab-panel-body-top">
+												<div style="width: {($width)-14}px;" class="x-panel x-panel-noborder">
+													<div class="x-panel-bwrap">
+														<div style="width: {($width)-14}px; height: {($height)-34}px;" class="x-panel-body x-panel-body-noheader x-panel-body-noborder">
+															<div id="{$id_window}__content">
+															</div>
+														</div>
+													</div>
+												</div>
+											</div>
+										</div>
+									</div>
+								</div>
+							</div>
+						</div>
+					</div>
+					
+					<div class="x-window-bl x-panel-nofooter">
+						<div class="x-window-br">
+							<div class="x-window-bc"></div>
+						</div>
+					</div>
+				</div>
+			</div>
+			
+	</xsl:template>
+	
+</xsl:stylesheet>
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_escritorio.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_escritorio.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_escritorio.css	(revision 3436)
@@ -0,0 +1,333 @@
+/* x-menu */
+
+.x-menu
+{
+	background-color : #3558b6 !important;
+	border		: 1px solid #1e4098;
+	color		: #fff !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #3558b6 !important;
+	border		: 1px solid #1e4098;
+	color		: #fff !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #3558b6 !important;
+	border		: 1px solid #1e4098;
+	color		: #fff !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #a7b9e7 !important;
+	border : 1px solid #1e4098; 
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #1e4098;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#1e4098;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #1e4098;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#1e4098;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#1e4098;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#1e4098;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    border-color:#8db2e3;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/escritorio/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/escritorio/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/escritorio/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/escritorio/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/escritorio/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/escritorio/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/escritorio/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+    background-color:#dfe8f6;
+	border:1px solid;
+	border-color:#1e4098;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/escritorio/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/escritorio/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#fff;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_cataratas.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_cataratas.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_cataratas.css	(revision 3436)
@@ -0,0 +1,328 @@
+.x-menu
+{
+	background-color : #98c17f !important;
+	border		: 1px solid #7bc64e;
+	color		: #ffffed !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #98c17f !important; 
+	border		: 1px solid #7bc64e;
+	color		: #ffffed !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #98c17f !important;
+	border		: 1px solid #7bc64e;
+	color		: #ffffed !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #4c9b1d !important;
+	border : 1px solid #7bc64e;
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #7bc64e;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#7bc64e;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #7bc64e;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#7bc64e;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#7bc64e;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#7bc64e;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/cataratas/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/cataratas/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/cataratas/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/cataratas/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/cataratas/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/cataratas/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/cataratas/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+	border:1px solid;
+	border-color:#7bc64e;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/cataratas/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/cataratas/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#ffffed;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_default.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_default.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_default.css	(revision 3436)
@@ -0,0 +1,332 @@
+/* x-menu */
+
+.x-menu
+{
+	background-color : #cecece;
+	border		: 1px solid #918b8b;
+	color:		: #585656 !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #cecece !important;
+	border		: 1px solid #918b8b;
+	color:		: #585656 !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #cecece !important;
+	border		: 1px solid #918b8b;
+	color:		: #585656 !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #e8e6e6 !important;
+	border : 1px solid #918b8b;
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #918b8b;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#918b8b;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #918b8b;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#918b8b;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#918b8b;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#918b8b;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    border-color:#8db2e3;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/default/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/default/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/default/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/default/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/default/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/default/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/default/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+    background-color:#dfe8f6;
+	border:1px solid;
+	border-color:#918b8b;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/default/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/default/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#585656;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_metropole.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_metropole.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_metropole.css	(revision 3436)
@@ -0,0 +1,333 @@
+/* x-menu */
+
+.x-menu
+{
+	background-color : #404040 !important;
+	border		: 1px solid #000;
+	color		: #fffcdf !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #404040 !important;
+	border		: 1px solid #000;
+	color		: #fffcdf !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #404040 !important; 
+	border		: 1px solid #000;
+	color		: #fffcdf !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #4a79b1 !important;
+	border : 1px solid #000;
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #4a79b1;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#4a79b1;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #4a79b1;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#4a79b1;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#4a79b1;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#4a79b1;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    border-color:#8db2e3;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/metropole/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/metropole/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/metropole/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/metropole/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/metropole/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/metropole/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/metropole/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+    background-color:#dfe8f6;
+	border:1px solid;
+	border-color:#4a79b1;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/metropole/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/metropole/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#fffcdf;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_azul.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_azul.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_azul.css	(revision 3436)
@@ -0,0 +1,330 @@
+.x-menu
+{
+	background-color : #ccd8e7 !important;
+	border		: 1px solid #8ea4c1;
+	color		: #15428b !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #ccd8e7 !important;
+	border		: 1px solid #8ea4c1;
+	color		: #15428b !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #ccd8e7 !important;
+	border		: 1px solid #8ea4c1;
+	color		: #15428b !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #96bdf3 !important;
+	border : 1px solid #8ea4c1;
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #99bbe8;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#99bbe8;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #99bbe8;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#99bbe8;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#99bbe8;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#99bbe8;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    border-color:#8db2e3;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/azul/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/azul/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/azul/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/azul/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/azul/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/azul/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/azul/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+    background-color:#dfe8f6;
+	border:1px solid;
+	border-color:#99bbe8;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/azul/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/azul/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#15428b;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_celepar.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_celepar.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_celepar.css	(revision 3436)
@@ -0,0 +1,332 @@
+/* x-menu */
+
+.x-menu
+{
+	background-color : #cecece;
+	border		: 1px solid #918b8b;
+	color:		: #585656 !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #cecece !important;
+	border		: 1px solid #918b8b;
+	color:		: #585656 !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #cecece !important;
+	border		: 1px solid #918b8b;
+	color:		: #585656 !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #e8e6e6 !important;
+	border : 1px solid #918b8b;
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #918b8b;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#918b8b;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #918b8b;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#918b8b;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#918b8b;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#918b8b;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    border-color:#8db2e3;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/default/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/default/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/default/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/default/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/default/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/default/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/default/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+    background-color:#dfe8f6;
+	border:1px solid;
+	border-color:#918b8b;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/default/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/default/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#585656;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_comics.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_comics.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_comics.css	(revision 3436)
@@ -0,0 +1,332 @@
+/* x-menu */
+
+.x-menu
+{
+	background-color : #fff !important;
+	border		: 1px solid #000;
+	color		: #000 !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #fff !important;
+	border		: 1px solid #000;
+	color		: #000 !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #fff !important; 
+	border		: 1px solid #000; 
+	color		: #000 !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #f4f2f2 !important;
+	border : 1px solid #000;
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #000000;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#000000;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #000000;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#000000;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#000000;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#000000;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    border-color:#8db2e3;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/comics/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	/*display		: block;*/
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/comics/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/comics/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/comics/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/comics/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/comics/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/comics/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+    background-color:#dfe8f6;
+	border:1px solid;
+	border-color:#000000;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/comics/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/comics/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#000000;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/css/window_rochas.css
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/css/window_rochas.css	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/css/window_rochas.css	(revision 3436)
@@ -0,0 +1,331 @@
+/* x-menu */
+
+.x-menu
+{
+	background-color : #cfb69e !important;
+	border		: 1px solid #bd8d5d;
+	color		: #000 !important;
+	display		: none;
+	margin		: 20px 5px 0px -15px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatus
+{
+	background-color : #cfb69e !important;
+	border		: 1px solid #bd8d5d;
+	color		: #000 !important;
+	float		: left;
+	margin		: -10px 5px 0px 0px;
+	position	: absolute;
+}
+
+.x-subMenuChangeStatusItens
+{
+	background-color 	: #cfb69e !important;
+	border		: 1px solid #bd8d5d; 
+	color		: #000 !important;
+	float		: left;
+	position	: absolute;
+}
+
+.x-menuOnMouseOut
+{
+}
+
+.x-menuOnMouseOver
+{
+	background-color : #f4dcc4 !important; 
+	border : 1px solid #bd8d5d;  
+}
+
+/* x-content */
+
+.x-content
+{
+	margin : 2px ;
+}
+
+
+/* x-panel */
+
+.x-panel
+{
+    border-color: #bd8d5d;
+    border-style: solid;
+    border-width:0;
+}
+
+.x-panel-body
+{
+    background-color:#fff;
+    border:1px solid;
+    border-color:#bd8d5d;
+    border-top:0 none;
+    position: relative; 
+    overflow:hidden;
+    zoom:1;
+}
+
+.x-panel-body-noheader
+{
+    border-top-color: #bd8d5d;
+}
+
+.x-panel-bwrap
+{
+    overflow:hidden;
+    zoom:1;
+    left:0;
+    top:0;
+}
+
+.x-panel-nofooter .x-btn-group-bc
+{
+	height:3px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-nofooter .x-window-bc
+{
+	height:6px;
+    font-size:0;
+    line-height:0;
+}
+
+.x-panel-noborder .x-panel-body-noborder
+{
+    border-width:0;
+}
+
+.x-panel-noborder .x-panel-header-noborder
+{
+    border-bottom-color:#bd8d5d;
+    border-width:0 0 1px;
+    border-style:solid;
+}
+
+.x-panel-noborder .x-panel-bbar-noborder .x-toolbar
+{
+    border-width:1px 0 0 0;
+    border-style:solid;
+    border-top-color:#bd8d5d;
+}
+
+.x-panel-noborder .x-panel-tbar-noborder .x-toolbar
+{
+    border-bottom-color:#bd8d5d;
+	border-width:0 0 1px;
+    border-style:solid;
+}
+
+/* x-shadow */ 
+
+.x-shadow_Div
+{
+	border 		: 1px dashed black;
+	position 	: absolute;
+}
+
+/* x-tab */
+
+.x-tab-panel
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-body
+{
+    border: 1px solid;
+    background-color:#fff;
+    overflow:hidden;
+}
+
+.x-tab-panel-body-top
+{
+    border-top: 0 none;
+}
+
+.x-tab-panel-bwrap
+{
+    overflow:hidden;
+}
+
+.x-tab-panel-noborder .x-tab-panel-body-noborder
+{
+	border-width:0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-footer-noborder
+{
+    border-width: 1px 0 0 0;
+}
+
+.x-tab-panel-noborder .x-tab-panel-header-noborder
+{
+    border-width: 0 0 1px 0;
+}
+
+
+/* x-tool */
+.x-tool
+{
+    overflow	: hidden;
+    width		: 15px;
+    height		: 15px;
+    float		: right;
+    cursor		: pointer;
+    background	: transparent no-repeat;
+    background-image : url(../images/rochas/tool-sprites.gif);
+    margin-left	: 2px;
+    margin-top	: 5px;
+}
+
+.x-tool-close
+{
+    background-position	: 0 -0;
+}
+
+/* x-unselectable */
+
+.x-unselectable, .x-unselectable * 
+{
+    -moz-user-select	: none;
+    -khtml-user-select	: none;
+    -webkit-user-select	: ignore;
+}
+
+/* x-window */
+
+.x-window
+{
+	visibility	: visible;
+	display		: block;
+}
+
+.x-window .x-resizable-handle
+{
+    opacity	:0;
+    -moz-opacity :0;
+    filter	:alpha(opacity=0);
+}
+
+.x-window-draggable, .x-window-draggable .x-window-header-text
+{
+    cursor	: move;
+}
+
+.x-window-header
+{
+    float		: left;
+    overflow	: hidden;
+    zoom		: 1;
+}
+
+.x-window-bc
+{
+	background	: transparent repeat-x 0 bottom;
+	background-image : url(../images/rochas/top-bottom.png);
+    zoom : 1;
+}
+
+.x-window-bc .x-window-footer
+{
+    padding-bottom	:6px;
+    zoom	: 1;
+    font-size	: 0;
+    line-height	: 0;
+}
+
+.x-window-body
+{
+    background	: transparent;
+    overflow	: hidden;
+}
+
+.x-window-bwrap
+{
+    position : relative;
+	overflow : hidden;
+    zoom	: 1;
+    left : 0;
+    top : 0;
+}
+
+.x-window-tc
+{
+	background: transparent repeat-x 0 0;
+	background-image: url(../images/rochas/top-bottom.png);
+	overflow:hidden;
+    zoom:1;
+}
+
+.x-window-tl
+{
+	background: transparent no-repeat 0 0;
+	background-image: url(../images/rochas/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+    position:relative;
+}
+
+.x-window-tr
+{
+	background: transparent no-repeat right 0;
+	background-image: url(../images/rochas/right-corners.png);
+	padding-right:6px;
+}
+
+.x-window-bl
+{
+	background: transparent no-repeat 0 bottom;
+	background-image: url(../images/rochas/left-corners.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-br
+{
+	background: transparent no-repeat right bottom;
+	background-image: url(../images/rochas/right-corners.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-mc
+{
+	border:1px solid;
+	border-color:#bd8d5d;
+	font: normal 11px tahoma,arial,helvetica,sans-serif;
+    padding:0;
+    margin:0;
+}
+
+.x-window-ml
+{
+	background: transparent repeat-y 0 0;
+	background-image: url(../images/rochas/left-right.png);
+	padding-left:6px;
+    zoom:1;
+}
+
+.x-window-mr
+{
+	background: transparent repeat-y right 0;
+	background-image: url(../images/rochas/left-right.png);
+	padding-right:6px;
+    zoom:1;
+}
+
+.x-window-noborder .x-window-mc
+{
+    border-width:0;
+}
+
+.x-window-tl .x-window-header
+{
+    color:#000;
+	font:bold 11px tahoma,arial,verdana,sans-serif;
+	padding:5px 0 4px 0;
+}
Index: /branches/2.2/filemanager/tp/expressowindow/expresso.html
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/expresso.html	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/expresso.html	(revision 3436)
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+	<head>
+	<script type="text/javascript" src="js/xtools.js"></script>
+	<script type="text/javascript" src="js/jsloader.js"></script>
+	<script type="text/javascript" src="js/makeW.js"></script>
+	<script type="text/javascript" src="js/dragdrop.js"></script>
+
+	<script>
+	
+		zIndex = 9001;
+
+		function teste1()
+		{
+			var _janela = {
+							 id_window	 : "contatos",
+							 width		 : 500,
+							 height		 : 300,
+							 top		 : 30,
+							 left		 : 300,
+							 draggable	 : true,
+							 visible	 : "display",
+							 resizable	 : true,
+							 zindex		 : zIndex++, //9001,
+							 title		 : "Expresso Messenger",
+							 closeAction : "hidden",
+ 							 content	 : "<span><i> - JANELA 0 - Somente HTML  - hidden </i></span>"
+						 };
+			 
+			_winBuild( _janela );
+			 
+		}
+
+		function teste2()
+		{
+			var _janela = {
+							 id_window	 : "contatos_1",
+							 width		 : 200,
+							 height		 : 300,
+							 top		 : 30,
+							 left		 : 550,
+							 draggable	 : true,
+							 visible	 : "display",
+							 resizable	 : true,
+							 zindex		 : zIndex++, //9001,
+							 title		 : "Expresso Messenger 1",
+							 closeAction : "remove",
+							 content	 : " - JANELA 1 - Somente Texto - remove"
+						 };
+			 
+			_winBuild( _janela );
+		}
+		
+	</script>
+</head>
+<body>
+	<pre>Protótipo : 3 </pre>
+	<br/>
+	<br/>
+	<a href="javascript:void(0)" onclick="teste1();" style="cursor:pointer;">Janelinha 1</a>
+	<br/>
+	<a href="javascript:void(0)" onclick="teste2();" style="cursor:pointer;">Janelinha 2</a>
+	<br/>
+	<pre>
+		adfadsf asdf asdf asdfasdf asdf adf asdf ad adsf asdf asdfasdfasdf ad
+		asdfasdf asdf asdf asdf adfasdfasdfa dsfasdfasdfads adsf asdf asdfasdf	
+	
+		adfadsf asdf asdf asdfasdf asdf adf asdf ad adsf asdf asdfasdfasdf ad
+		asdfasdf asdf asdf asdf adfasdfasdfa dsfasdfasdfads adsf asdf asdfasdf	
+	
+		adfadsf asdf asdf asdfasdf asdf adf asdf ad adsf asdf asdfasdfasdf ad
+		asdfasdf asdf asdf asdf adfasdfasdfa dsfasdfasdfads adsf asdf asdfasdf	
+	</pre>
+	
+</body>
+</html>
Index: /branches/2.2/filemanager/tp/expressowindow/js/makeW.js
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/js/makeW.js	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/js/makeW.js	(revision 3436)
@@ -0,0 +1,120 @@
+(function()
+{
+	var _xtools		= null;
+	var dragDrop	= null;
+	var path		= "/filemanager/tp/expressowindow/";
+	
+	function build(pObj)
+	{
+		var _window = getElement( pObj.id_window + '__parent');
+		_xtools = new xtools(path);		
+		
+		if( _window == null )
+		{
+			pObj.width		= ( ( pObj.width > 160 ) ? pObj.width : 160 );
+			pObj.height		= ( ( pObj.height > 80 ) ? pObj.height : 80 );
+			pObj.onclick	= "_winBuild('" + pObj.id_window + "', '" + pObj.closeAction + "')";
+			
+			_window = document.createElement("div");
+			_window.id	= pObj.id_window + "__parent";
+			_window.setAttribute("onselectstart" , "return false");
+			_window.style.width		= pObj.width + "px";
+			_window.style.height	= pObj.height + "px";
+			_window.style.top		= pObj.top + "px";
+			_window.style.left		= pObj.left + "px";
+			_window.style.position	= "absolute";
+			_window.style.zIndex	= pObj.zindex;
+			_window.innerHTML		= _xtools.parse( _xtools.xml('window_main'), 'window.xsl', pObj );
+
+			if( pObj.closeAction == "hidden" )
+				_window.setAttribute("leftOld", pObj.left + "px" );
+			
+			window.document.body.insertBefore( _window, document.body.lastChild );
+			
+			getElement(pObj.id_window + '__content').innerHTML = pObj.content; 
+			
+			if( pObj.draggable )
+			{
+				dragDrop = new _drag_drop();
+				dragDrop.set( pObj.id_window );
+			}
+		}
+		else
+		{
+			load(pObj.id_window, "display");
+		}
+	}
+
+	function getElement(pElement)
+	{
+		return document.getElementById(pElement);
+	}
+	
+	function load( pId, pVisible )
+	{
+		var _window = document.getElementById( pId + '__parent')
+		
+		if( _window != null )
+		{
+			if ( pVisible == "display" )
+			{
+				_window.style.left = _window.getAttribute("leftOld");
+			}
+			
+			if ( pVisible == "hidden")
+			{
+				_window.setAttribute("leftOld" , _window.style.left );
+				_window.style.left = "-1500px";
+			}
+			
+			if( pVisible == "remove" )
+			{
+				document.body.removeChild( _window );
+			}
+		}
+	}
+	
+	function _window()
+	{
+		if( arguments.length > 0 )
+		{
+			if( arguments.length == 1 )
+			{
+				JSLoader.load([path + "js/xtools.js"]);
+				JSLoader.load([path + "js/dragdrop.js"]);
+				JSLoader.load([path + "css/window_azul.css"]);
+				//JSLoader.load([path + "css/window_cataratas.css"]);
+				//JSLoader.load([path + "css/window_celepar.css"]);
+				//JSLoader.load([path + "css/window_comics.css"]);
+				//JSLoader.load([path + "css/window_default.css"]);
+				//JSLoader.load([path + "css/window_escritorio.css"]);
+				//JSLoader.load([path + "css/window_metropole.css"]);
+				//JSLoader.load([path + "css/window_rochas.css"]);
+				
+				var obj = arguments[0];
+				
+				setTimeout(function(){ build(obj);}, 200);
+			}
+			
+			if( arguments.length == 2 )
+			{
+				load(arguments[0], arguments[1]);
+			}	
+		}
+	}
+
+	window.bWindow	= _window;
+
+})();
+
+function _winBuild()
+{
+	if( arguments.length > 0 )
+	{	
+		if( arguments.length == 1 )
+			_win = new bWindow( arguments[0] );
+		
+		if( arguments.length == 2 )
+			_win = new bWindow( arguments[0], arguments[1]);	
+	}
+}
Index: /branches/2.2/filemanager/tp/expressowindow/js/xtools.js
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/js/xtools.js	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/js/xtools.js	(revision 3436)
@@ -0,0 +1,155 @@
+(function()
+{
+	var _FILES = [];
+
+	function _convert(pString)
+	{
+		if ( typeof pString != 'string' )
+			return false;
+
+		if ( window.ActiveXObject )
+		{
+			var _xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
+			_xmlDoc.async = "false";
+			_xmlDoc.loadXML(pString);
+		}
+		else
+		{
+			var parser = new DOMParser();
+			var _xmlDoc = parser.parseFromString( pString, "text/xml" );
+		}
+
+		return _xmlDoc;
+	}
+
+	function _load(pFile)
+	{
+		pFile = this._PATH + 'xsl/' + pFile;
+		if ( !(_FILES[pFile]) )
+		{
+			var _data = null;
+			if ( document.implementation.createDocument )
+				_data = document.implementation.createDocument("", "", null);
+			else
+				_data = new ActiveXObject( "Msxml2.FreeThreadedDOMDocument" );
+
+			_data.async = false;
+			_data.load(pFile + '?' + Date.parse(new Date));
+			_FILES[pFile] = _data;
+		}
+		return _FILES[pFile];
+	}
+
+	function _parse()
+	{
+		if ( arguments.length == 1 )
+		{
+			pXML = _xml('root');
+			pXSL = arguments[0];
+		}
+		else
+		{
+			pXML = arguments[0];
+			pXSL = arguments[1];
+		}
+		
+		switch ( typeof pXML )
+		{
+			case 'object' :
+			break;
+			case 'string' :
+				if ( pXML.indexOf('<') == 0 )
+					pXML = _convert(pXML);
+				else
+					pXML = _load.call(this, pXML);
+			break;
+			default :
+				return { 'error' : 'invalid xml' } 
+		}
+		
+		switch ( typeof pXSL )
+		{
+			case 'object' :
+			break;
+			case 'string' :
+				pXSL = _load.call(this, pXSL);
+			break;
+			default :
+				return {'error':'invalid xsl'}
+		}
+
+		var fragment = null;
+		
+		if ( window.XSLTProcessor )
+		{
+			var xslProc = new XSLTProcessor();
+			xslProc.importStylesheet(pXSL);
+
+			if ( (arguments.length == 3) && (typeof arguments[2] == 'object') )
+			{
+				var params = arguments[2];
+				for (var i in params )
+					 xslProc.setParameter(null, i, params[i]);
+			}
+
+			fragment = xslProc.transformToFragment(pXML, document);
+
+			// para retornar valor igual ao ie.
+			var aux = document.createElement("div");
+			aux.appendChild(fragment);
+			fragment = aux.innerHTML;
+		}
+		else
+		{
+			var xslTemplate = new ActiveXObject("MSXML2.XSLTemplate");
+			xslTemplate.stylesheet = pXSL;
+
+			var xslProc = xslTemplate.createProcessor();
+			xslProc.input = pXML;
+
+			if ( (arguments.length == 3) && (typeof arguments[2] == 'object') )
+			{
+				var params = arguments[2];
+				for (var i in params )
+					 xslProc.addParameter(i, params[i], '');
+			}
+
+			xslProc.transform();
+			fragment = xslProc.output;
+		}
+		return fragment;
+	}
+
+	function _xml()
+	{
+		var a = false;
+		if ( document.implementation.createDocument )
+			a = document.implementation.createDocument("", "", null);
+		else if ( ActiveXObject )
+			a = new ActiveXObject("Msxml2.DOMDocument");
+
+		if ( arguments.length == 1 && typeof arguments[0] == 'string' )
+			a.appendChild(a.createElement(arguments[0]));
+		//with ( a )
+		//	appendChild(createProcessingInstruction("xml", "version='1.0'"));
+
+		return a;
+	}
+
+	function xtools()
+	{
+		var _argv = arguments;
+		this._PATH = ( _argv.length > 0 ) ? _argv[0] : '';
+
+		if ( this._PATH != '' && this._PATH.lastIndexOf('/') != (this._PATH.length - 1) )
+			this._PATH += '/';
+	}
+
+	xtools.prototype.convert	= _convert;
+	xtools.prototype.load		= _load;
+	xtools.prototype.parse		= _parse;
+	xtools.prototype.xml		= _xml;
+	
+	window.xtools = xtools;
+}
+)();
Index: /branches/2.2/filemanager/tp/expressowindow/js/dragdrop.js
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/js/dragdrop.js	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/js/dragdrop.js	(revision 3436)
@@ -0,0 +1,208 @@
+(function()
+{
+	var _element	= null;
+	var _elementA	= null;
+	var _elementB	= null;
+	var _parent		= null;
+
+	function _configEvent(pObj, pEvent, pHandler)
+	{
+		if ( typeof pObj == 'object' )
+		{
+			if ( pEvent.substring(0, 2) == 'on' )
+				pEvent = pEvent.substring(2, pEvent.length);
+	
+			if ( arguments.length == 3 )
+			{
+				if ( pObj.addEventListener )
+					pObj.addEventListener(pEvent, pHandler, false);
+				else if ( pObj.attachEvent )
+					pObj.attachEvent('on' + pEvent, pHandler);
+			}
+			else if ( arguments.length == 4 )
+			{
+				if ( pObj.removeEventListener && pObj.removeEventListener != 'undefined')
+					pObj.removeEventListener(pEvent, pHandler, false);
+				else if ( pObj.detachEvent )
+					pObj.detachEvent('on' + pEvent, pHandler);
+			}
+		}
+	}
+
+	function _drag(e)
+	{
+		if (typeof e.preventDefault != 'undefined')
+			e.preventDefault();
+		else
+			e.onselectstart = new Function("return false;");
+
+		_element = ( e.target ) ? e.target : e.srcElement;
+
+		if ( _element )
+		{
+			_configEvent(_element, 'onmousemove', _mouseMove);
+			_configEvent(top.document, 'onmousemove', _mouseMove);
+
+			_configEvent(_element, 'onmouseup', _mouseUp);
+			_configEvent(top.document, 'onmouseup', _mouseUp);
+		}
+	}
+
+	function _elementShadow( pId )
+	{
+		if( _elementA )
+		{
+			var _elShadow 			= document.createElement("div");
+			_elShadow.id 			= _elementA.id + "__Shadow";
+			_elShadow.setAttribute("onselectstart" , "return false");
+			_elShadow.style.width	= _elementA.style.width;
+			_elShadow.style.height	= _elementA.style.height;
+			_elShadow.style.top		= _elementA.style.top;
+			_elShadow.style.left	= _elementA.style.left;
+			_elShadow.style.zIndex	= _elementA.style.zIndex;
+			_elShadow.className		= "x-shadow_Div";
+			
+			return _elShadow;
+		}
+	}
+
+	function _load()
+	{
+		if( arguments.length > 0 )
+		{
+			var pId = arguments[0];
+			
+			_configEvent(document.getElementById( pId + "__draggable"), 'onmousedown', _mouseDownShadow);
+		}
+	}
+
+	function _getMouseOffset(e, el)
+	{
+		var docPos = _getPosition(el);
+		var mousePos = _mouseCoords(e);
+		return {
+			'x' : mousePos.x - docPos.x,
+			'y' : mousePos.y - docPos.y
+		};
+	}
+
+	function _getPosition(_pObject)
+	{
+		var left = 0;
+		var top  = 0;
+
+		while ( _pObject.offsetParent )
+		{
+			left += _pObject.offsetLeft;
+			top  += _pObject.offsetTop;
+			_pObject = _pObject.offsetParent;
+		}
+
+		left += _pObject.offsetLeft;
+		top  += _pObject.offsetTop;
+
+		return {
+			'x' : left,
+			'y' : top
+		};
+	}
+
+	function _mouseCoords(ev)
+	{
+		var CoordX = "";
+		var CoordY = "";
+
+		if ( ev.pageX || ev.pageY )
+			return {
+				'x' : ev.pageX,
+				'y' : ev.pageY
+			};
+
+		CoordX = ev.clientX + document.body.scrollLeft - document.body.clientLeft;
+		CoordY = ev.clientY + document.body.scrollTop  - document.body.clientTop;
+		
+		return {
+			'x' : CoordX,
+			'y' : CoordY
+		};
+	}
+
+	function _mouseMove(e)
+	{
+		if ( _element )
+		{
+			if ( _element.mouseOffset == null )
+				_element.mouseOffset = _getMouseOffset(e, _element);
+
+			var mousePos = _mouseCoords(e);
+
+			var x = mousePos.x - _element.mouseOffset.x;
+			var y = mousePos.y - _element.mouseOffset.y;
+			_element.style.left = (( x < 0 ) ? 0 : x) + 'px';
+			_element.style.top  = (( y < 0 ) ? 0 : y) + 'px';
+		}
+	}
+
+	function _mouseUp()
+	{
+		if ( _element )
+		{
+			_mouseUpShadow();
+			
+			_configEvent(_element, 'onmousemove', _mouseMove, 'remove');
+			_configEvent(top.document, 'onmousemove', _mouseMove, 'remove');
+
+			_configEvent(_element, 'onmouseup', _mouseUp, 'remove');
+			_configEvent(top.document, 'onmouseup', _mouseUp, 'remove');
+
+			_element.mouseOffset = null;
+			_element = null;
+		}
+	}
+
+	function _mouseDownShadow(e)
+	{
+		try
+		{
+			if( arguments.length > 0 )
+			{
+				var _el = ( e.target ) ? e.target : e.srcElement;
+				var _id = (_el.id.substring(0, _el.id.indexOf("__draggable")));	
+				
+				_elementA = document.getElementById( _id + "__parent");
+				_elementB = _elementShadow( _id + "__parent");
+				
+				_elementA.style.left = '-1500px';
+				_parent	  = _elementA.parentNode;
+				
+				var _B = _parent.appendChild(_elementB);
+				
+				_configEvent( _elementB, 'onmouseup', _mouseUpShadow);
+				_configEvent( _elementB, 'onmousemove', _drag);
+			}
+			
+		}catch(e){}
+	}
+
+	function _mouseUpShadow()
+	{
+		try
+		{
+			_elementA.style.top		= _elementB.style.top;
+			_elementA.style.left	= _elementB.style.left;
+			
+			var _B = _parent.removeChild(_elementB);
+
+			_elementA = null;
+			_elementB = null;
+			_element = null;
+		}
+		catch(e){}
+	}
+	
+	function _drag_drop(){}
+
+	_drag_drop.prototype.set 	= _load;
+	window._drag_drop = _drag_drop;
+	
+})();
Index: /branches/2.2/filemanager/tp/expressowindow/js/jsloader.js
===================================================================
--- /branches/2.2/filemanager/tp/expressowindow/js/jsloader.js	(revision 3436)
+++ /branches/2.2/filemanager/tp/expressowindow/js/jsloader.js	(revision 3436)
@@ -0,0 +1,54 @@
+function JsLoader()
+{
+	this._loadedJS = [];
+	this._loadedCss = [];
+	
+	this.load = function(pFilesArray)
+	{
+		for(var i = 0; i < pFilesArray.length; i++)
+		{
+			var pFiles = pFilesArray[i];
+			
+			if( pFiles.indexOf(".js") > -1 )
+			{
+				var js = pFiles.toLowerCase();
+				
+				if(!this._loadedJS[js])
+				{
+					document.getElementsByTagName("head")[0].appendChild(this.loadJavaScript(js));
+					this._loadedJS[js] = true;
+				}
+			}
+			else if( pFiles.indexOf(".css") > -1 )
+			{
+				var css = pFiles.toLowerCase();
+				
+				if(!this._loadedCss[css])
+				{
+					document.getElementsByTagName("head")[0].appendChild(this.loadStyleSheet(css));
+					this._loadedCss[css] = true;
+				}
+			}
+		}
+	};
+	
+	this.loadJavaScript = function(pJs)
+	{
+		var _script = document.createElement("script");
+		_script.type = "text/javascript";
+		_script.src  = pJs;
+		
+		return _script;
+	};
+
+	this.loadStyleSheet=function(pCss)
+	{
+		var _style = document.createElement("link");
+		_style.rel = "stylesheet";
+		_style.type = "text/css";
+		_style.href = pCss;
+		return _style;
+	};
+}
+
+JSLoader = new JsLoader();
Index: /branches/2.2/filemanager/inc/class.uifilemanager.inc.php
===================================================================
--- /branches/2.2/filemanager/inc/class.uifilemanager.inc.php	(revision 3367)
+++ /branches/2.2/filemanager/inc/class.uifilemanager.inc.php	(revision 3436)
@@ -332,4 +332,11 @@
 			echo "<script src='".$GLOBALS['phpgw_info']['flags']['currentapp']."/js/drag_area.js'></script>";
 			echo "<script src='".$GLOBALS['phpgw_info']['flags']['currentapp']."/js/handler.js'></script>";
+
+			/*Expresso Window*/
+			echo "<script src='".$GLOBALS['phpgw_info']['flags']['currentapp']."/tp/expressowindow/js/xtools.js'></script>";
+			echo "<script src='".$GLOBALS['phpgw_info']['flags']['currentapp']."/tp/expressowindow/js/jsloader.js'></script>";
+			echo "<script src='".$GLOBALS['phpgw_info']['flags']['currentapp']."/tp/expressowindow/js/makeW.js'></script>";
+			echo "<script src='".$GLOBALS['phpgw_info']['flags']['currentapp']."/tp/expressowindow/js/dragdrop.js'></script>";
+
 			echo "<script src='./phpgwapi/js/dftree/dftree.js'></script>";
 
Index: /branches/2.2/filemanager/js/drag_area.js
===================================================================
--- /branches/2.2/filemanager/js/drag_area.js	(revision 3019)
+++ /branches/2.2/filemanager/js/drag_area.js	(revision 3436)
@@ -14,6 +14,4 @@
 	if (_dragArea.operation == 'drag')
 		_dragArea.dragObj(event);
-	else
-		_dragArea.moveWindow(event);
 }
 document.onmousedown = function(event) {_dragArea.pressed = 1; };
@@ -21,15 +19,4 @@
 
 counter = 0;
-DragArea.prototype.moveWindow = function(e) {
-	if (this.pressed){
-		var elem =  document.getElementById('dwindow'); // FIXME do not use getElement here
-		if (elem != null){
-		        var _event  = is_ie ? window.event : e;
-			elem.style.left = _event.clientX - 80 + "px";
-			elem.style.top = _event.clientY + "px";
-		}
-	}
-}
-
 DragArea.prototype.dragObj = function(e){
         var _event  = is_ie ? window.event : e;
Index: /branches/2.2/filemanager/js/draw_api.js
===================================================================
--- /branches/2.2/filemanager/js/draw_api.js	(revision 3340)
+++ /branches/2.2/filemanager/js/draw_api.js	(revision 3436)
@@ -31,10 +31,31 @@
 }
 function close_window(){
-	var menu =  document.getElementById('dwindow');
-	if (menu != null)
-		menu.style.visibility = 'hidden'
-}
-function draw_window(htmlData){
-	var menu =  document.getElementById('dwindow');
+	_winBuild('dwindow'+(zIndex-1), 'hidden')
+}
+
+var zIndex=0;
+function draw_window(htmlData, sizeW, sizeH){
+	if (sizeW == undefined)
+		var sizeW = 420;
+	if (sizeH == undefined)
+		var sizeH = 200;
+	var _janela = {
+		id_window       : "dwindow"+zIndex,
+		width           : sizeW,
+		height          : sizeH,
+		top             : 30,
+		left            : 200,
+		draggable       : true,
+		visible         : "display",
+		resizable       : true,
+		zindex          : ++zIndex,
+		title           : get_lang("filemanager"),
+		closeAction : "hidden",
+		content         : htmlData
+	};
+
+	_winBuild( _janela );
+
+/*	var menu =  document.getElementById('dwindow');
 	headerWin = '<div class="message_header" style="width: 100%; heigth: 22px;"'+
 		' onselectstart="return false">'+
@@ -56,5 +77,5 @@
 		menu.innerHTML = headerWin+htmlData;
 		menu.style.visibility = 'visible';
-	}
+	}*/
 
 }
Index: /branches/2.2/filemanager/js/common_functions.js
===================================================================
--- /branches/2.2/filemanager/js/common_functions.js	(revision 3415)
+++ /branches/2.2/filemanager/js/common_functions.js	(revision 3436)
@@ -89,7 +89,6 @@
 	for (i=0; i < navigator.plugins.length; i++)
 		if (navigator.plugins[i].name.match('Java')){
-			draw_window("<iframe width=\"515\" height=\"320\" src='/filemanager/inc/uploadApp.php?id="+parseInt(Math.random()*Math.pow(10,15))+"'></iframe>");
-			document.getElementById('dwindow').style.width = "auto";
-			document.getElementById('dwindow').style.height = "auto";
+			close_window();
+			draw_window("<iframe width=\"515\" height=\"320\" src='/filemanager/inc/uploadApp.php?id="+parseInt(Math.random()*Math.pow(10,15))+"'></iframe>",530,345);
 			return;
 		}
Index: /branches/2.2/filemanager/templates/default/upload.tpl
===================================================================
--- /branches/2.2/filemanager/templates/default/upload.tpl	(revision 3415)
+++ /branches/2.2/filemanager/templates/default/upload.tpl	(revision 3436)
@@ -1,5 +1,5 @@
 <!-- BEGIN upload_header -->
 <form id="form_up" method="post" action="{form_action}" enctype="multipart/form-data">
-<div>
+<div style="overflow-y: auto; overflow-x:hidden; height: 165px;">
 <table cellspacing="0" cellpadding="2">
 <tbody>
