diff --git a/mailnews/ui/messenger/resources/folderPane.css b/mailnews/ui/messenger/resources/folderPane.css
new file mode 100644
index 000000000000..0fd8039ba091
--- /dev/null
+++ b/mailnews/ui/messenger/resources/folderPane.css
@@ -0,0 +1,33 @@
+window {
+ display: block;
+}
+
+tree {
+ display: table;
+ background-color: #eeeeee;
+ border: none;
+ border-spacing: 0px;
+ border-collapse: collapse;
+}
+
+treeitem {
+ display: table-row;
+}
+
+treehead {
+ display: table-header-group;
+}
+
+treebody {
+ display: table-row-group;
+
+}
+
+treecell {
+ display: table-cell;
+}
+
+treehead treeitem treecell {
+ background-color: #a0a0a0;
+ border: thin black solid;
+}
diff --git a/mailnews/ui/messenger/resources/folderPane.xul b/mailnews/ui/messenger/resources/folderPane.xul
new file mode 100644
index 000000000000..c2efb786156f
--- /dev/null
+++ b/mailnews/ui/messenger/resources/folderPane.xul
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+ Name
+ Unread
+ Total
+
+
+
+
+
+ Local Mail
+
+
+
+
+
+
+
+
diff --git a/mailnews/ui/messenger/resources/mailshell.xul b/mailnews/ui/messenger/resources/mailshell.xul
new file mode 100644
index 000000000000..f20dc65eb6fc
--- /dev/null
+++ b/mailnews/ui/messenger/resources/mailshell.xul
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+ #toolbar {
+ position: fixed;
+ width: 100%;
+ height: 80px;
+ top: 0;
+ right: 0;
+ bottom: auto;
+ left: 0;
+ background-color: #cccccc;
+ }
+ #folder {
+ position: fixed;
+ width: 15em;
+ height: auto;
+ top: 80px;
+ right: 15em;
+ bottom: 34px;
+ left: 0;
+ font-style: italic;
+ background-color: #ffffff;
+ }
+ #message {
+ position: fixed;
+ width: auto;
+ height: auto;
+ top: 200px;
+ right: 0;
+ bottom: 34px;
+ left: 15em;
+ overflow: auto;
+ padding: 2px .5em;
+ border: solid 1px black;
+ background-color: #ffffff;
+ }
+ #thread {
+ position: fixed;
+ width: auto;
+ height: 120px;
+ top: 80px;
+ right: 0;
+ bottom: auto;
+ left: 15em;
+ overflow: auto;
+ padding: 2px .5em;
+ border: solid 1px white
+ background-color: #cccccc;
+ }
+ #footer {
+ position: fixed;
+ width: 100%;
+ height: 34px;
+ top: auto;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ text-align: center;
+ margin-top: auto;
+ background-color: #cccccc;
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mailnews/ui/messenger/resources/makefile.win b/mailnews/ui/messenger/resources/makefile.win
new file mode 100644
index 000000000000..6df59d7f6906
--- /dev/null
+++ b/mailnews/ui/messenger/resources/makefile.win
@@ -0,0 +1,40 @@
+#!nmake
+#
+# The contents of this file are subject to the Netscape Public License
+# Version 1.0 (the "NPL"); you may not use this file except in
+# compliance with the NPL. You may obtain a copy of the NPL at
+# http://www.mozilla.org/NPL/
+#
+# Software distributed under the NPL is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
+# for the specific language governing rights and limitations under the
+# NPL.
+#
+# The Initial Developer of this code under the NPL is Netscape
+# Communications Corporation. Portions created by Netscape are
+# Copyright (C) 1998 Netscape Communications Corporation. All Rights
+# Reserved.
+
+DEPTH=..\..\..\..
+IGNORE_MANIFEST=1
+
+DEFINES=-DWIN32_LEAN_AND_MEAN
+MODULE=mailnews
+
+include <$(DEPTH)\config\rules.mak>
+
+install::
+ $(MAKE_INSTALL) mailshell.xul $(DIST)\bin\res\samples
+ $(MAKE_INSTALL) msgBar.xul $(DIST)\bin\res\samples
+ $(MAKE_INSTALL) folderPane.xul $(DIST)\bin\res\samples
+ $(MAKE_INSTALL) folderPane.css $(DIST)\bin\res\samples
+ $(MAKE_INSTALL) threadPane.xul $(DIST)\bin\res\samples
+ $(MAKE_INSTALL) message.html $(DIST)\bin\res\samples
+
+clobber::
+ rm -f $(DIST)\res\samples\mailshell.xul
+ rm -f $(DIST)\res\samples\msgBar.xul
+ rm -f $(DIST)\res\samples\folderPane.xul
+ rm -f $(DIST)\res\samples\folderPane.css
+ rm -f $(DIST)\res\samples\threadPane.xul
+ rm -f $(DIST)\res\samples\message.html
\ No newline at end of file
diff --git a/mailnews/ui/messenger/resources/msgbar.xul b/mailnews/ui/messenger/resources/msgbar.xul
new file mode 100644
index 000000000000..ff771adf8280
--- /dev/null
+++ b/mailnews/ui/messenger/resources/msgbar.xul
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+function StartUp()
+{
+ dump("StartUp: MsgAppCore\n");
+ var appCore = XPAppCoresManager.Find("MsgAppCore");
+ if (appCore == null) {
+ dump("StartUp: Creating AppCore\n");
+ appCore = new MsgAppCore();
+ }
+ dump("AppCore probably found\n");
+ if (appCore != null) {
+ dump("Initializing AppCore and setting Window\n");
+ appCore.Init("MsgAppCore");
+ appCore.SetWindow(window);
+ }
+}
+
+function OpenURL(url)
+{
+ dump("\n\nOpenURL from XUL\n\n\n");
+ var appCore = new MsgAppCore();
+ if (appCore != null) {
+ dump("Initializing AppCore and setting Window\n");
+ appCore.Init("MsgAppCore");
+ appCore.SetWindow(window);
+ appCore.OpenURL(url);
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get Msg
+
+
+ New Msg
+
+
+ Reply
+
+
+ Forward
+
+
+ Delete
+
+
+ Load Msg
+
+
+
+
+
+
+
+
diff --git a/mailnews/ui/messenger/resources/threadPane.xul b/mailnews/ui/messenger/resources/threadPane.xul
new file mode 100644
index 000000000000..45218f3d6c58
--- /dev/null
+++ b/mailnews/ui/messenger/resources/threadPane.xul
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+ Subject
+ Sender
+ Date
+
+
+
+
+
+ Netscape Stock hits 200
+ mscott@netscape.com
+ Sat, 27 Feb 1999 10:34:33
+
+
+
+
+ Mozilla 5.0 ships!
+ daver@netscape.com
+ Mon, 27 Sep 1999 12:20:15
+
+
+
+
+