#slideshow {
    position: relative;
	z-index:-1000;
}
#slideshow IMG {
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 8;
	display:none;
}
#slideshow IMG.active {
    opacity: 1;
    z-index: 10;
	display:block;
}
#slideshow IMG.last-active {
    z-index: 9;
}
#slideshow img {
    height: auto;
    left: 0;
    min-height: 100%;
    min-width: 1024px;
    position: fixed;
    top: 0;
    width: 100%;
}
img.bg {
    left: 50%;
    margin-left: -512px;
}