特獎號碼
頭獎號碼
增開六獎
請輸入發票號碼
輸入完整號碼 僅發票末三碼

已對發票 中獎金額

統一發票對獎

將下列程式碼複製至<body>程式碼</body>區內

<table border="0" align="center">
<tr>
<td align="center" nowrap>
<select onChange="if (this.options[this.selectedIndex].value != '') {GetLuckNum(this.options[this.selectedIndex].value);} document.forms[0].MyNum.focus();" style="width:136px;" class="bg">
<option value="">載入發票中獎號碼</option>

<script language="JavaScript">
<!--
var LuckNum=new Array();
//以下為統一發票中獎號碼資料(年月份,特獎號碼,頭獎號碼Ⅰ,頭獎號碼Ⅱ,頭獎號碼Ⅲ,增開六獎Ⅰ,增開六獎Ⅱ,增開六獎Ⅲ,增開六獎Ⅳ)
LuckNum=new Array(
"93 年 11-12 月","83811266","14259744","25088694","36507858","038","","","",
"93 年 09-10 月","36889273","49175279","57378038","60500901","296","","","",
"93 年 07-08 月","41705049","04938850","14729197","31910418","","","","",
"93 年 05-06 月","31838764","16494196","20233186","53809166","","","","",
"93 年 03-04 月","35336370","25096154","32772833","74172493","","","","",
"93 年 01-02 月","92570292","52578413","58689487","60731185","","","","",
"92 年 11-12 月","20434630","43105160","59896623","96751571","406","814","","",
"92 年 09-10 月","01040217","01272636","39412201","94586356","422","","","",
"92 年 07-08 月","22610310","26167750","58351875","97023920","","","","",
"92 年 05-06 月","39997992","29030518","83905912","90451792","","","","",
"92 年 03-04 月","16074350","33556126","47064357","57973618","","","","",
"92 年 01-02 月","49445003","17585433","78305676","80260663","","","",""
)
for (i=0;i<LuckNum.length;i++) {
document.write ("<option value=\"" + LuckNum[i+1] + "," + LuckNum[i+2] + "," + LuckNum[i+3] + "," + LuckNum[i+4] + "," + LuckNum[i+5] + "," + LuckNum[i+6] + "," + LuckNum[i+7] + "," + LuckNum[i+8] + "\">" + LuckNum[i] + "</option>");
i=i+8;
}
function GetLuckNum(j) {
k = j.split(",")
document.forms[0].Num_S.value = k[0];
document.forms[0].Num_1.value = k[1];
document.forms[0].Num_2.value = k[2];
document.forms[0].Num_3.value = k[3];
document.forms[0].Num_4.value = k[4];
document.forms[0].Num_5.value = k[5];
document.forms[0].Num_6.value = k[6];
document.forms[0].Num_7.value = k[7];
}
//-->
</script>

</select>

</td>
<td align="center" nowrap><input type="button" value="最新資訊" onClick="window.open('http://www.dot.gov.tw/content1/in-5.asp'); document.body.focus();" style="width:63px;" class="bg"></td>
</tr>
</table>

<hr style="width:205px;">

<table border="0" align="center">
<form>
<tr>
<td align="center" colspan="5" nowrap>特獎號碼</td>
</tr>
<tr>
<td align="center" colspan="5" nowrap><input type="text" name="Num_S" onBlur="if((this.value != '') && (this.value.length != 8)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:200px; font-size:40px;" maxlength="8" class="bg"></td>
</tr>
<tr>
<td align="center" colspan="5" nowrap>頭獎號碼</td>
</tr>
<tr>
<td align="center" nowrap><input type="text" name="Num_1" onBlur="if((this.value != '') && (this.value.length != 8)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:63px;" maxlength="8" class="bg"></td>
<td align="center" colspan="2" nowrap><input type="text" name="Num_2" onBlur="if((this.value != '') && (this.value.length != 8)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:64px;" maxlength="8" class="bg"></td>
<td align="center" colspan="2" nowrap><input type="text" name="Num_3" onBlur="if((this.value != '') && (this.value.length != 8)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:63px;" maxlength="8" class="bg"></td>
</tr>
<tr>
<td align="center" nowrap>增開六獎</td>
<td align="center" nowrap><input type="text" name="Num_4" onBlur="if((this.value != '') && (this.value.length != 3)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:30px;" maxlength="3" class="bg"></td>
<td align="center" nowrap><input type="text" name="Num_5" onBlur="if((this.value != '') && (this.value.length != 3)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:30px;" maxlength="3" class="bg"></td>
<td align="center" nowrap><input type="text" name="Num_6" onBlur="if((this.value != '') && (this.value.length != 3)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:30px;" maxlength="3" class="bg"></td>
<td align="center" nowrap><input type="text" name="Num_7" onBlur="if((this.value != '') && (this.value.length != 3)) {alert('統一發票開獎號碼格式錯誤,請您檢查一下!'); return false;}" style="width:30px;" maxlength="3" class="bg"></td>
</tr>
<tr>
<td align="center" colspan="5" nowrap>請輸入發票號碼</td>
</tr>
<tr>
<td align="center" colspan="5" nowrap><input type="text" name="MyNum" onKeyUp="Importation()" style="width:200px; font-size:40px" maxlength="8" class="bg"></td>
</tr>
<tr>
<td align="center" colspan="5" nowrap>
<span onclick="eval('document.forms[0].Mode[0].click();'); document.forms[0].MyNum.focus();"><input type="radio" name="Mode" checked style="cursor: crosshair;">輸入完整號碼</span>
<span onclick="eval('document.forms[0].Mode[1].click();'); document.forms[0].MyNum.focus();"><input type="radio" name="Mode" style="cursor: crosshair;">僅發票末三碼</span>
</td>
</tr>
</form>
</table>

<hr style="width:205px;">

<table border="0" align="center">
<form>
<tr>
<td align="center" colspan="3" nowrap>已對發票</td>
<td align="center" nowrap><input type="text" name="All" value="0" style="width:22px;" class="bg" readOnly></td>
<td align="center" colspan="3" nowrap>中獎金額</td>
<td align="center" colspan="3" nowrap><input type="text" name="Money" value="0" style="width:62px;" class="bg" readOnly></td>
</tr>
<tr>
<td align="right" nowrap>特</td>
<td align="center" nowrap><input type="text" name="Luck_S" value="0" style="width:21px;" class="bg" readOnly></td>
<td align="right" nowrap>頭</td>
<td align="center" nowrap><input type="text" name="Luck_1" value="0" style="width:22px;" class="bg" readOnly></td>
<td align="right" nowrap>二</td>
<td align="center" nowrap><input type="text" name="Luck_2" value="0" style="width:21px;" class="bg" readOnly></td>
<td align="right" nowrap>三</td>
<td align="center" nowrap><input type="text" name="Luck_3" value="0" style="width:21px;" class="bg" readOnly></td>
<td align="right" nowrap>四</td>
<td align="center" nowrap><input type="text" name="Luck_4" value="0" style="width:21px;" class="bg" readOnly></td>
</tr>
<tr>
<td align="right" nowrap>五</td>
<td align="center" nowrap><input type="text" name="Luck_5" value="0" style="width:21px;" class="bg" readOnly></td>
<td align="right" nowrap>六</td>
<td align="center" nowrap><input type="text" name="Luck_6" value="0" style="width:22px;" class="bg" readOnly></td>
<td align="center" colspan="2"><input type="button" value="清空" onClick="document.forms[0].Num_S.value=''; document.forms[0].Num_1.value=''; document.forms[0].Num_2.value=''; document.forms[0].Num_3.value=''; document.forms[0].Num_4.value=''; document.forms[0].Num_5.value=''; document.forms[0].Num_6.value=''; document.forms[0].Num_7.value=''; document.forms[0].MyNum.value=''; document.forms[1].All.value='0'; document.forms[1].Money.value='0'; document.forms[1].Luck_S.value='0'; document.forms[1].Luck_1.value='0'; document.forms[1].Luck_2.value='0'; document.forms[1].Luck_3.value='0'; document.forms[1].Luck_4.value='0'; document.forms[1].Luck_5.value='0'; document.forms[1].Luck_6.value='0'; document.forms[0].MyNum.focus();" style="width:37px;" class="bg"></td>
<td align="center" colspan="4" nowrap><input type="button" value="領獎注意事項" onClick="alert('\n            統一發票領獎注意事項\n\n\n一、開獎日期:統一發票每逢單月的二十五日,開出前兩個月份統一發票的中獎號\n  碼,例如三月二十五日是開出一月至二月份的統一發票中獎號碼。\n\n二、發獎時間:在開獎後的第十天起開始發獎。例如三月二十五日開獎,開始發獎\n  的日期是在四月四日。\n\n三、領獎期限:中獎人領取獎金的有效期間是開獎後第十天起的三個月之內,逾期\n  即不能發給。但領獎期限的最後一天,適逢星期六、星期日、例假日或國定假\n  日及銀行結帳日,可順延一天給獎。\n\n四、領獎人應填製之資料:領獎人應在中獎發票收執聯背面的領獎收據欄,依格式\n  填寫:中獎金額、中獎人姓名、國民身份證統一編號、戶籍地址及電話(如屬\n  華僑或外國人請填護照號碼及護照內的居住地址),並加蓋印章或簽名;如中\n  獎單位為執行業務者,應加蓋執行業務單位章,以資識別。\n\n五、貼用印花稅票:中獎統一發票領獎收據,應按中獎金額貼用千分之四的印花稅\n  票,但應貼印花稅票不滿一元的可以免貼,例如六獎的獎金是二百元,依千分\n  之四計算僅八角,不滿一元,因此二百元的領獎收據免貼印花稅票。\n\n六、扣繳所得稅款:中四獎(包括四獎)以上各種獎別,由發獎單位按給獎金額扣\n  繳百分之二十的所得稅,並填製「短期票卷利息及政府舉辦獎卷中獎獎金扣繳\n  憑單」。'); document.forms[0].MyNum.focus();" style="width:78px;" class="bg"></td>
</tr>
</form>
</table>

<script language="JavaScript">
<!--
function Importation() {
if ((document.forms[0].Num_S.value == "") || (document.forms[0].Num_1.value == "") || (document.forms[0].Num_2.value == "") || (document.forms[0].Num_3.value == "")) {
alert("請先行設定統一發票中獎號碼!");
return false;
}
else if (document.forms[0].Mode[0].checked) {
if (document.forms[0].MyNum.value.length == 8) {
if (document.forms[0].MyNum.value == document.forms[0].Num_S.value) {
alert("p( ^ O ^ )q\n\n 恭喜您中了第一特獎!\n\n   獎金兩百萬元");
document.forms[1].Luck_S.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 2000000;
}
else if ((document.forms[0].MyNum.value == document.forms[0].Num_1.value) || (document.forms[0].MyNum.value == document.forms[0].Num_2.value) || (document.forms[0].MyNum.value == document.forms[0].Num_3.value)) {
alert("p( ^ O ^ )q\n\n 恭喜您中了頭獎!\n\n   獎金二十萬元");
document.forms[1].Luck_1.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 200000;
}
else if ((document.forms[0].MyNum.value.substring(1,8) == document.forms[0].Num_1.value.substring(1,8)) || (document.forms[0].MyNum.value.substring(1,8) == document.forms[0].Num_2.value.substring(1,8)) || (document.forms[0].MyNum.value.substring(1,8) == document.forms[0].Num_3.value.substring(1,8))) {
alert("p( ^ O ^ )q\n\n 恭喜您中了二獎!\n\n   獎金四萬元");
document.forms[1].Luck_2.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 40000;
}
else if ((document.forms[0].MyNum.value.substring(2,8) == document.forms[0].Num_1.value.substring(2,8)) || (document.forms[0].MyNum.value.substring(2,8) == document.forms[0].Num_2.value.substring(2,8)) || (document.forms[0].MyNum.value.substring(2,8) == document.forms[0].Num_3.value.substring(2,8))) {
alert("p( ^ O ^ )q\n\n 恭喜您中了三獎!\n\n   獎金一萬元");
document.forms[1].Luck_3.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 10000;
}
else if ((document.forms[0].MyNum.value.substring(3,8) == document.forms[0].Num_1.value.substring(3,8)) || (document.forms[0].MyNum.value.substring(3,8) == document.forms[0].Num_2.value.substring(3,8)) || (document.forms[0].MyNum.value.substring(3,8) == document.forms[0].Num_3.value.substring(3,8))) {
alert("p( ^ O ^ )q\n\n 恭喜您中了四獎!\n\n   獎金四千元");
document.forms[1].Luck_4.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 4000;
}
else if ((document.forms[0].MyNum.value.substring(4,8) == document.forms[0].Num_1.value.substring(4,8)) || (document.forms[0].MyNum.value.substring(4,8) == document.forms[0].Num_2.value.substring(4,8)) || (document.forms[0].MyNum.value.substring(4,8) == document.forms[0].Num_3.value.substring(4,8))) {
alert("p( ^ O ^ )q\n\n 恭喜您中了五獎!\n\n   獎金一千元");
document.forms[1].Luck_5.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 1000;
}
else if ((document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_1.value.substring(5,8)) || (document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_2.value.substring(5,8)) || (document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_3.value.substring(5,8))) {
alert("p( ^ O ^ )q\n\n 恭喜您中了六獎!\n\n   獎金二百元");
document.forms[1].Luck_6.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 200;
}
else if ((document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_4.value) || (document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_5.value) || (document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_6.value) || (document.forms[0].MyNum.value.substring(5,8) == document.forms[0].Num_7.value)) {
alert("p( ^ O ^ )q\n\n 恭喜您中了增開六獎!\n\n   獎金二百元");
document.forms[1].Luck_6.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 200;
}
document.forms[0].MyNum.value = "";
document.forms[1].All.value++;
}
}
else if (document.forms[0].Mode[1].checked) {
if (document.forms[0].MyNum.value.length == 3) {
if ((document.forms[0].MyNum.value == document.forms[0].Num_S.value.substring(5,8)) || (document.forms[0].MyNum.value == document.forms[0].Num_1.value.substring(5,8)) || (document.forms[0].MyNum.value == document.forms[0].Num_2.value.substring(5,8)) || (document.forms[0].MyNum.value == document.forms[0].Num_3.value.substring(5,8))) {
alert("您可能中獎了!\n\n請再輸入完整八個數字的號碼!");
document.forms[0].Mode[0].click();
}
else if ((document.forms[0].MyNum.value == document.forms[0].Num_4.value) || (document.forms[0].MyNum.value == document.forms[0].Num_5.value) || (document.forms[0].MyNum.value == document.forms[0].Num_6.value) || (document.forms[0].MyNum.value == document.forms[0].Num_7.value)) {
alert("p( ^ O ^ )q\n\n 恭喜您中了增開六獎!\n\n   獎金二百元");
document.forms[1].Luck_6.value++;
document.forms[1].All.value++;
document.forms[1].Money.value = eval(document.forms[1].Money.value) + 200;
}
else {
document.forms[1].All.value++;
}
document.forms[0].MyNum.value = "";
}
else if (document.forms[0].MyNum.value.length > 3) {
document.forms[0].MyNum.value = "";
}
}
}
//-->
</script>