body {
	margin: 50px;
	background-color: #FFFFFF;
	font-size: 11px;
	font-family: Verdana;
}

#gallery {
    position:relative;
    height:350px;
}

#gallery IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
	height: 500px;
	width: 640px;
}

#gallery IMG.active {
    z-index:10;
    opacity:1.0;
}

#gallery IMG.last-active {
    z-index:9;
}