<script>
		var myarray = [ "4070C001","4070C003","4070C004","4070C005","4070C007",
			"4070C009","4070C010","4070C013","4070C016","4070C018"];
		function mod1() {
			var i;
			var msg='';
			for ( i=0; i < myarray.length; i++ ) {
				msg = msg + "<li>"+myarray[i]+"</li>";
			}
			document.getElementById('mod1').innerHTML = msg;
		}
	</script>

<h1>上台抽抽樂</h1>

<h2>這個是目前的名單,有興趣請查閱:</h2>
<input type='button' value='看看名單先' onclick='mod1()' /><br />
<div id='mod1'></div>


<h2>設定想要抽出的人數,必需要大於 1 以上喔</h2>
人數:<input type="text" id='num' size='5' /><br />
<button onclick='gogo()'>開始抽獎</button><br />
<div id='mod2'></div>