/*** 
set the width and height to match your images 
**/

#slideshow {
    position:relative;
    height:350px;
	z-index:-1;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
}

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

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

#slideshow img {
	/* 最小顯示尺寸，需要跟手機版同步 */
	min-width: 800px;
	min-height: 100%;
	width:expression(this.width > 120 && this.width > this.height ?  120 : auto);
			
	/* Set up proportionate scaling */
	width: 100%;
	height: auto;
			
	/* Set up positioning */
	position: fixed;
	top: 0;
	left: 0;
}

#slideshow_sp {
	display:none;
	}


/* Landscape*/
@media screen and (min-width:320px) and (max-width:639px){ 

#slideshow {
	display:none;
	}

#slideshow_sp {
	display:block;
    position:relative;
    height:350px;
	z-index:-1;
}

#slideshow_sp IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
}

#slideshow_sp IMG.active_sp {
    z-index:10;
    opacity:1.0;
}

#slideshow_sp IMG.last-active_sp {
    z-index:9;
}

#slideshow_sp img {
	/* Set rules to fill background */
	min-width: 320px;
	min-height: 100%;
	width:expression(this.width > 120 && this.width > this.height ?  120 : auto);
			
	/* Set up proportionate scaling */
	width: 100%;
	height: auto;
			
	/* Set up positioning */
	position: fixed;
	top: 0;
	left: 0;
}
		
}




