<SCRIPT language=JavaScript>
var message = "*笨笨網站*";
var noOfFlyers = 10;
var blkCol = new Array("black","blue","red","green","blue","blue","red","black","red","green");
var blkFont = new Array("arial","timesroman","courier","verdana","timesroman","courier","arial","timesroman","courier",
"verdana");
var blkSize = new Array("22","14","10","28","29","10","22","24","26","10");
var blkIt = new Array("0","0","1","0","0","1","1","0","1","1");
var ie=document.all?1:0
var ns=document.layers?1:0
var err = 0;
var msgI=1;
var noOfMsgs;
function initialize()
{
if(!ns&&!ie) {
document.writeln("<center>"+finalmessage+"</center>");
document.writeln("<P><P><font face='arial' size=2>You are missing out on all the coolest stuff because of your outdated browser. Upgrade soon.</font>");
err=1;
return;
}
if(noOfFlyers<1||noOfFlyers>10) {handleErr("The number of flying blocks has been assigned an invalid value. Script will terminate.");return}
if(blkCol.length!=noOfFlyers) {handleErr("The list of block colours has an invalid length. Script will terminate.");return}
if(blkFont.length!=noOfFlyers) {handleErr("The list of block fonts has an invalid length. Script will terminate.");return}
if(blkSize.length!=noOfFlyers) {handleErr("The list of block font sizes has an invalid length. Script will terminate.");return}
self.moveTo(0,0);
self.resizeTo(screen.width,screen.height);
var msg = new String(message);
aOMsgs = msg.split(" ");
noOfMsgs = aOMsgs.length+1;
for(var i = 0; i<aOMsgs.length; i++)
{
for(var j = 1; j<=noOfFlyers; j++)
{
if(ie) document.writeln("<div id=\"fly"+String((i*noOfFlyers)+j)+"\" class=\"fly"+String(j)+"\" style=\"visibility:hidden\">"+aOMsgs[i]+"</div>");
if(ns) document.writeln("<layer id=\"fly"+String((i*noOfFlyers)+j)+"\" class=\"fly"+String(j)+"\" visibility=\"hidden\">"+aOMsgs[i]+"</layer>");
}
}
if(ie) document.write("<div id=\"mesg\" style=\"position:relative;color:black;visibility:hidden;font-family:arial;\"><center>"+finalmessage+"</center></div>");
if(ns) document.write("<layer id=\"mesg\" class=\"mesg\" visibility=\"hidden\"><center>"+finalmessage+"</center></layer>");