|
<script language="JavaSCRIPT">
<!--
myLineT = 25; //データの数です。総合、金運、健康、恋愛の4つのデータの数と順序をそろえる必要があります
myMesA = new Array(
"大吉",
"大吉",
"大吉",
"大吉",
"中吉",
"中吉",
"中吉",
"小吉",
"小吉",
"小吉",
"小吉",
"吉",
"吉",
"吉",
"末吉",
"末吉",
"末吉",
"末吉",
"凶",
"凶",
"凶",
"凶",
"大凶",
"大凶",
"大凶"
);
//金運
myMesB = new Array(
"★★★★★",
"★★★★",
"★★★★★",
"★★★★★",
"★★★★★",
"★★★★",
"★★★★",
"★★★★",
"★★★★",
"★★★",
"★★★★",
"★★★★",
"★★★",
"★★★",
"★★★",
"★★★",
"★★★",
"★★",
"★★★",
"★★",
"★★",
"★★",
"★★",
"★★",
"★"
);
//恋愛
myMesC = new Array(
"★★★★★",
"★★★★★",
"★★★★",
"★★★★★",
"★★★★",
"★★★★★",
"★★★★",
"★★★",
"★★★★",
"★★★★",
"★★★★",
"★★★",
"★★★★",
"★★★",
"★★★",
"★★",
"★★★",
"★★★",
"★★",
"★★★",
"★★",
"★★",
"★★",
"★",
"★★"
);
//健康
myMesD = new Array(
"★★★★★",
"★★★★★",
"★★★★★",
"★★★★",
"★★★★",
"★★★★",
"★★★★★",
"★★★★",
"★★★",
"★★★★",
"★★★★",
"★★★",
"★★★",
"★★★★",
"★★★",
"★★★",
"★★",
"★★★",
"★★",
"★★★",
"★★★",
"★★",
"★",
"★★",
"★★"
);
myRndT = Math.floor(Math.random()*myLineT);
document.write("<center><font size=4><b>"
+ myMesA[myRndT] + "</b></font></center>");
document.write("<font size=2 color=goldenrod>金運:" + myMesB[myRndT]
+ "</font><br>");
document.write("<font size=2 color=deeppink>恋愛:" + myMesC[myRndT]
+ "</font><br>");
document.write("<font size=2 color=blue>健康:" + myMesD[myRndT]
+ "</font>");
// -->
</script>
|