"; //タグ閉じ
var a_time = 150; //type:1の時のメッセージタイプの速度。1000=1秒。この場合0.1秒。
var c_time = 3000; //次のメッセージを表示するまでの時間。1000=1秒。この場合4秒。
var msg = new Array();
/* お好みのメッセージを入れてください。 */
msg[0] = "Welcome to underground site.";
msg[1] = "Do you know about this site?";
msg[2] = "If you don't know,";
msg[3] = "you had better go another site.";
msg[4] = "Do you agree? Now,join us!";
msg[5] = "wait for now loading....";
/* メッセージを増やしたい場合、
msg[6]="..."; msg[7]="...."; と続ける事もできます。 */
function cancel() {
playcheck = false;
if(SID != null) { clearTimeout(SID); }
location.href = gourl;
}
function makeHTML(str,e) {
var html = "";
html += "";
html += (e) ? "
skip" : " ";
html += posA + fontstyle + str + posB;
html += "
";
return html;
}
var playcheck = true;
var temphtml="";
var current = 0;
var currentchat= 0;
var output = "";
var SID;
function movieplay() {
if(!playcheck) { return; }
if(movietype == 0) {
if(!msg[current]) { location.href = gourl; return; }
var str = msg[current];
output = makeHTML(str,true);
parent.f1.location.href = "javascript:parent.output";
current++;
SID = setTimeout("movieplay()",c_time);
} else {
if(SID != null) { clearTimeout(SID); }
if(!msg[current]) { location.href = gourl; return; }
var str = msg[current];
var exit= (currentchat+1 > str.length) ? true : false;
output = makeHTML(str.substring(0, currentchat),exit);
parent.f1.location.href = "javascript:parent.output";
currentchat++;
if(currentchat > str.length) {
current++;
currentchat = 0;
if(!playcheck) { return; }
SID = setTimeout("movieplay()",c_time);
}
else {
if(!playcheck) { return; }
SID = setTimeout("movieplay()",a_time);
}
}
}
document.write('
');
//-->