聖誕快樂(2):<br>AD廣告

<div class="ADmenu"></div>
/*AD============================================================================*/
.ADmenu{ z-index: 101;
	width:400px; height:334px; background:url(img/AD.png);
	position:absolute; left:-350px; bottom:0px; cursor: pointer;
	}
//AD
var IO = true;
$('.ADmenu').click(function () {
	if (IO) {
		$('.ADmenu').animate({left:0}, 1000);
	} else {
		$('.ADmenu').animate({left:-350},1000);
	}
	IO = !IO;
});
$('.ADmenu').click(function () {
	if ($('.ADmenu').css('left') == '-350px') {
		$('.ADmenu').animate({left:0},1000);
	} else {
		$('.ADmenu').animate({left:'-350px'},1000);
	}
});