#slideshow {
    position: relative;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 11;
}

#slideshow DIV {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#slideshow DIV IMG {
    display: none;
    z-index: 8;
}

#slideshow DIV IMG.active {
    display: inline;
    position: absolute;
    z-index: 10;
}

#slideshow DIV IMG.last-active {
    display: none;
    z-index: 9;
}