/// Soit le script de base m'a été envoyé tel quel, soit tel il était dans un newsgroup ..
/// Si le scripteur initial se reconnaît, peut-il m'envoyer son nom
/// afin que je puisse l'inclure dans le présent script ?
/// Si quelqu'un détient le script d'origine, content je serais de recevoir
/// le nom de l'auteur ... merci ... Le Naja

//message
str="Boas Festas!";
maxD=5;
//colours
col=new Array(252,14,14,
			55,209,51,
			183,142,143,
			217,174,121,
			252,14,14,
			55,209,51,
			183,142,153,
			252,14,14,
			55,209,51,
			183,142,153,
			217,174,121);

cx=310;
cy=880;
rx=20;
ry=40
newDiv="";
ci=0;
theta=Math.PI/2;
dphi=0.1;
dtheta=0.05;
phi=theta;
for(i=0;i<maxD;i++){
	newDiv += "<DIV ID='D" + i + "' NOWRAP=1 CLASS='default' ";
	newDiv += "STYLE='position:absolute; left:"+(cx+i*rx*Math.cos(phi))+";top:"+(cy-i*ry*Math.sin(phi))+";z-index: -2"+(maxD-i)+";"
	newDiv += "color:RGB("+col[ci++]+","+col[ci++]+","+col[ci++]+");'>"+str+"</DIV>";
	phi+=dphi;
}
document.write(newDiv);
window.setInterval("frame();",32);

function frame(){
	theta-=dtheta;
	if(theta<-(Math.PI))theta+=2*Math.PI;
	phi=theta;
	for(i=0;i<maxD;i++){
		D=document.all["D"+i].style;
		D.left=cx+i*rx*Math.cos(phi);
		D.top=cy-i*ry*Math.sin(phi);
		phi+=dphi;
	}
}

