<script language="JavaScript">
<!-- Useless Message Script by [email protected]
/****** Things you can change *****/
msg="LAMUJiiii";
msgSize=4;//1-7
FoNt='Arial';
CoLoR='777777';
speed=2;
/****** Things you shouldn't change *****/
ns=(document.layers)?1:0;
msg=msg.split('')*amount=msg.length*Y=0*X=0*ypos=0 *xpos=0*ybase=new Array()*xbase=new Array();
angle = new Array()*divTop= new Array()*divLeft=new Array();
DocHeight=(document.layers)?window.innerHeight:win dow.document.body.offsetHeight;
DocWidth=(document.layers)?window.innerWidth:windo w.document.body.offsetWidth;
//initial layer placement!
for (i=0; i < amount; i++){
divTop=Math.round(Math.random()*DocHeight);
divLeft=Math.round(Math.random()*DocWidth);
}
if (ns){
for (i = 0; i < amount; i++)
{document.write('<layer name=nsd'+i+' top=0 left=0 width='+msgSize+' height='+msgSize+'><font face='+FoNt+' size='+msgSize+' color='+CoLoR+'>'+msg+'</font></layer>');}
window.captureEvents(Event.MOUSEMOVE);
function nsMouse(evnt){
ypos = evnt.pageY-20;
xpos = evnt.pageX-10;
}
window.onMouseMove = nsMouse;
}
else{
document.write('<div id="hldr" style="position:absolute;top:0px;left:0px">')
document.write('<div style="position:relative">')
for (i=0; i < amount; i++)
{document.write('<div id=ied style="position:absolute;top:0px;left:0px;width:'+ msgSize+';height:'+msgSize+'"><font face='+FoNt+' size='+msgSize+' color='+CoLoR+'>'+msg+'</font></div>')}
document.write('</div></div>')
function ieMouse(){
ypos = event.y-20;
xpos = event.x-10;
}
document.onmousemove = ieMouse;
}
function GoToMouse(){
var DocHeight=(document.layers)?window.innerHeight:win dow.document.body.offsetHeight;
var DocWidth=(document.layers)?window.innerWidth:windo w.document.body.offsetWidth;
var iscrll=(document.all)?document.body.scrollTop:0;
var nscrll=(document.layers)?window.pageYOffset:0;
if (!ns)hldr.style.top=iscrll;
for (i=0; i < amount; i++){
Y = ypos - divTop;
X = xpos - divLeft;
angle = Math.round(Math.atan2(Y*X) * 180/Math.PI);
if (angle < 0) angle += 360;
ybase=Math.round(Math.random()*DocHeight);
xbase=Math.round(Math.random()*DocWidth);
rep=Math.round(Math.random() * 3);
extra=Math.round(Math.random() * 200)
if (rep == 3)xbase =-extra;
if (rep == 2)xbase =DocWidth+extra;
if (rep == 1)ybase =-extra;
if (rep == 0)ybase =DocHeight;
y = Math.round(speed*Math.sin(angle*Math.PI/180));
x = Math.round(speed*Math.cos(angle*Math.PI/180));
divTop+=y;
divLeft+=x;
if ((divLeft > xpos-speed) && (divLeft < xpos+speed/1.5) && (divTop >= ypos-speed/1.5) && (divTop <= ypos+speed/1.5))
{divTop=ybase+nscrll;divLeft=xbase}
var layer=(document.layers)?document.layers['nsd'+i]:ied.style;
layer.top=divTop;layer.left=divLeft;
}
S=setTimeout('GoToMouse()'*10);
}
window.onload=GoToMouse;
//-->
</script>
<!-- Useless Message Script by [email protected]
/****** Things you can change *****/
msg="LAMUJiiii";
msgSize=4;//1-7
FoNt='Arial';
CoLoR='777777';
speed=2;
/****** Things you shouldn't change *****/
ns=(document.layers)?1:0;
msg=msg.split('')*amount=msg.length*Y=0*X=0*ypos=0 *xpos=0*ybase=new Array()*xbase=new Array();
angle = new Array()*divTop= new Array()*divLeft=new Array();
DocHeight=(document.layers)?window.innerHeight:win dow.document.body.offsetHeight;
DocWidth=(document.layers)?window.innerWidth:windo w.document.body.offsetWidth;
//initial layer placement!
for (i=0; i < amount; i++){
divTop=Math.round(Math.random()*DocHeight);
divLeft=Math.round(Math.random()*DocWidth);
}
if (ns){
for (i = 0; i < amount; i++)
{document.write('<layer name=nsd'+i+' top=0 left=0 width='+msgSize+' height='+msgSize+'><font face='+FoNt+' size='+msgSize+' color='+CoLoR+'>'+msg+'</font></layer>');}
window.captureEvents(Event.MOUSEMOVE);
function nsMouse(evnt){
ypos = evnt.pageY-20;
xpos = evnt.pageX-10;
}
window.onMouseMove = nsMouse;
}
else{
document.write('<div id="hldr" style="position:absolute;top:0px;left:0px">')
document.write('<div style="position:relative">')
for (i=0; i < amount; i++)
{document.write('<div id=ied style="position:absolute;top:0px;left:0px;width:'+ msgSize+';height:'+msgSize+'"><font face='+FoNt+' size='+msgSize+' color='+CoLoR+'>'+msg+'</font></div>')}
document.write('</div></div>')
function ieMouse(){
ypos = event.y-20;
xpos = event.x-10;
}
document.onmousemove = ieMouse;
}
function GoToMouse(){
var DocHeight=(document.layers)?window.innerHeight:win dow.document.body.offsetHeight;
var DocWidth=(document.layers)?window.innerWidth:windo w.document.body.offsetWidth;
var iscrll=(document.all)?document.body.scrollTop:0;
var nscrll=(document.layers)?window.pageYOffset:0;
if (!ns)hldr.style.top=iscrll;
for (i=0; i < amount; i++){
Y = ypos - divTop;
X = xpos - divLeft;
angle = Math.round(Math.atan2(Y*X) * 180/Math.PI);
if (angle < 0) angle += 360;
ybase=Math.round(Math.random()*DocHeight);
xbase=Math.round(Math.random()*DocWidth);
rep=Math.round(Math.random() * 3);
extra=Math.round(Math.random() * 200)
if (rep == 3)xbase =-extra;
if (rep == 2)xbase =DocWidth+extra;
if (rep == 1)ybase =-extra;
if (rep == 0)ybase =DocHeight;
y = Math.round(speed*Math.sin(angle*Math.PI/180));
x = Math.round(speed*Math.cos(angle*Math.PI/180));
divTop+=y;
divLeft+=x;
if ((divLeft > xpos-speed) && (divLeft < xpos+speed/1.5) && (divTop >= ypos-speed/1.5) && (divTop <= ypos+speed/1.5))
{divTop=ybase+nscrll;divLeft=xbase}
var layer=(document.layers)?document.layers['nsd'+i]:ied.style;
layer.top=divTop;layer.left=divLeft;
}
S=setTimeout('GoToMouse()'*10);
}
window.onload=GoToMouse;
//-->
</script>