/* CSS hacks for IE versions 5,6 */

#taskbar
{
  background: url(images/taskbar.gif) top right no-repeat;
}

img
{
  behavior: url(skins/default/pngbehavior.htc);
}

#logo
{
  width: 178px;
  height: 47px;
}

#message div.notice,
#message div.error,
#message div.warning,
#message div.confirmation,
#remote-objects-message
{
  background-image: url(images/display/icons.gif);
}

#messagemenu li a
{
  background-image: url(images/messageactions.gif);
}

#mailboxlist li
{
  background-image: url(images/icons/folders.gif);
}

#attachment-list
{
  height: expression(Math.min(16, parseInt(document.documentElement.clientHeight))+'px');
}

#messagetoolbar a
{
  display: block;
  float: left;
  padding-right: 10px;
}

.boxfooter a.button,
.boxfooter a.buttonPas
{
  background-image: url(images/icons/groupactions.gif);
}

.pagenav
{
  width: 200px;
}

.pagenav a.button,
.pagenav a.buttonPas
{
  background-image: url(images/pagenav.gif);
}

#listcontrols a.button,
#listcontrols a.buttonPas {
  background-image: url(images/mail_footer.gif);
}

#messagetoolbar a.button,
#messagetoolbar a.buttonPas {
  background-image: url(images/mail_toolbar.gif);
}

#abooktoolbar a.button,
#abooktoolbar a.buttonPas,
#abooktoolbar span.separator {
  background-image: url(images/abook_toolbar.gif);
}

ul.toolbarmenu li a,
.popupmenu li a
{
  clear: left;
  height: expression(Math.min(14, parseInt(document.documentElement.clientHeight))+'px');
  width: expression(Math.min(130, parseInt(document.documentElement.clientWidth))+'px');
}

ul.toolbarmenu li.separator_below
{
  padding-bottom: 3px;
}

.boxfooter
{
  width: 100%;
  bottom: -1px;
}

.boxtitle,
#directorylist li a
{
  width: auto;
}

.boxlistcontent
{
  top: 21px;
  height: expression((parseInt(this.parentNode.offsetHeight)-24-parseInt(this.style.top?this.style.top:21))+'px');
}

#compose-div .boxlistcontent
{
  height: expression((parseInt(this.parentNode.offsetHeight)-23-parseInt(this.style.top?this.style.top:21))+'px');
}

#directorylistbox
{
  height: expression((parseInt(document.documentElement.clientHeight)-105)+'px');
}

#messagelist tr td div.collapsed,
#messagelist tr td div.expanded,
#messagelist tr td.attachment span.attachment,
#messagelist tr td.flag span.flagged,
#messagelist tr td.flag span.unflagged:hover,
#messagelist tr td.subject span.msgicon,
#messagelist tr td.subject span.msgicon.replied,
#messagelist tr td.subject span.msgicon.forwarded,
#messagelist tr td.subject span.msgicon.deleted,
#messagelist tr td.subject span.msgicon.unread,
#messagelist tr td.subject span.msgicon.unreadchildren
{
  background-image: url(images/messageicons.gif);
}