diff --git a/src/messenger/webim/images/banner.gif b/src/messenger/webim/styles/original/images/banner.gif
similarity index 100%
rename from src/messenger/webim/images/banner.gif
rename to src/messenger/webim/styles/original/images/banner.gif
diff --git a/src/messenger/webim/images/bg.gif b/src/messenger/webim/styles/original/images/bg.gif
similarity index 100%
rename from src/messenger/webim/images/bg.gif
rename to src/messenger/webim/styles/original/images/bg.gif
diff --git a/src/messenger/webim/styles/original/images/buttondiv.gif b/src/messenger/webim/styles/original/images/buttondiv.gif
new file mode 100644
index 00000000..733b66f3
Binary files /dev/null and b/src/messenger/webim/styles/original/images/buttondiv.gif differ
diff --git a/src/messenger/webim/styles/original/images/buttons/back.gif b/src/messenger/webim/styles/original/images/buttons/back.gif
new file mode 100644
index 00000000..80049070
Binary files /dev/null and b/src/messenger/webim/styles/original/images/buttons/back.gif differ
diff --git a/src/messenger/webim/images/buttons/changeuser.gif b/src/messenger/webim/styles/original/images/buttons/changeuser.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/changeuser.gif
rename to src/messenger/webim/styles/original/images/buttons/changeuser.gif
diff --git a/src/messenger/webim/images/buttons/close.gif b/src/messenger/webim/styles/original/images/buttons/close.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/close.gif
rename to src/messenger/webim/styles/original/images/buttons/close.gif
diff --git a/src/messenger/webim/styles/original/images/buttons/closewin.gif b/src/messenger/webim/styles/original/images/buttons/closewin.gif
new file mode 100644
index 00000000..4cf148e0
Binary files /dev/null and b/src/messenger/webim/styles/original/images/buttons/closewin.gif differ
diff --git a/src/messenger/webim/images/buttons/email.gif b/src/messenger/webim/styles/original/images/buttons/email.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/email.gif
rename to src/messenger/webim/styles/original/images/buttons/email.gif
diff --git a/src/messenger/webim/images/buttons/exec.gif b/src/messenger/webim/styles/original/images/buttons/exec.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/exec.gif
rename to src/messenger/webim/styles/original/images/buttons/exec.gif
diff --git a/src/messenger/webim/images/buttons/history.gif b/src/messenger/webim/styles/original/images/buttons/history.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/history.gif
rename to src/messenger/webim/styles/original/images/buttons/history.gif
diff --git a/src/messenger/webim/images/buttons/refresh.gif b/src/messenger/webim/styles/original/images/buttons/refresh.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/refresh.gif
rename to src/messenger/webim/styles/original/images/buttons/refresh.gif
diff --git a/src/messenger/webim/images/buttons/send.gif b/src/messenger/webim/styles/original/images/buttons/send.gif
similarity index 100%
rename from src/messenger/webim/images/buttons/send.gif
rename to src/messenger/webim/styles/original/images/buttons/send.gif
diff --git a/src/messenger/webim/images/winbg.gif b/src/messenger/webim/styles/original/images/winbg.gif
similarity index 100%
rename from src/messenger/webim/images/winbg.gif
rename to src/messenger/webim/styles/original/images/winbg.gif
diff --git a/src/messenger/webim/images/wincrnlb.gif b/src/messenger/webim/styles/original/images/wincrnlb.gif
similarity index 100%
rename from src/messenger/webim/images/wincrnlb.gif
rename to src/messenger/webim/styles/original/images/wincrnlb.gif
diff --git a/src/messenger/webim/images/wincrnlt.gif b/src/messenger/webim/styles/original/images/wincrnlt.gif
similarity index 100%
rename from src/messenger/webim/images/wincrnlt.gif
rename to src/messenger/webim/styles/original/images/wincrnlt.gif
diff --git a/src/messenger/webim/images/wincrnrb.gif b/src/messenger/webim/styles/original/images/wincrnrb.gif
similarity index 100%
rename from src/messenger/webim/images/wincrnrb.gif
rename to src/messenger/webim/styles/original/images/wincrnrb.gif
diff --git a/src/messenger/webim/images/wincrnrt.gif b/src/messenger/webim/styles/original/images/wincrnrt.gif
similarity index 100%
rename from src/messenger/webim/images/wincrnrt.gif
rename to src/messenger/webim/styles/original/images/wincrnrt.gif
diff --git a/src/messenger/webim/styles/original/templates/chat.tpl b/src/messenger/webim/styles/original/templates/chat.tpl
index a8b246f9..aca269c4 100644
--- a/src/messenger/webim/styles/original/templates/chat.tpl
+++ b/src/messenger/webim/styles/original/templates/chat.tpl
@@ -13,7 +13,7 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque
-
+
@@ -22,7 +22,7 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque
-
+
@@ -76,7 +76,7 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque