背景色 var textcolor= "#0fffaf"; //textの色 var hovercolor= "#8fff9f"; //hoverの色 var fontstyle= ""; var posA = "
"; //表示位置調整 var posB = "
"; //タグ閉じ var a_time = 100; //type:1の時のメッセージタイプの速度。1000=1秒。この場合0.1秒。 var c_time = 1000; //次のメッセージを表示するまでの時間。1000=1秒。この場合4秒。 /* 解析タグ。 */ var rr=document.referrer; if(rr == "[unknown origin]"){rr="";} /* 解析タグ。 */ var msg = new Array(); /* お好みのメッセージを入れてください。 */ msg[0] = "Welcome to Kuidaore Tokyo"; msg[1] = "Kuidaore Tokyo now loading..."; function cancel() { playcheck = false; if(SID != null) { clearTimeout(SID); } location.href = gourl; } function makeHTML(str,e) { var html = ""; html += ""; html += posA + fontstyle + str + posB; html += "
         "; html += (e) ? " SKIP" : " "; html += "

"; 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,e); 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(''); document.write(''); document.write(''); //-->