//JavaScript DDocumento 4
<!-- Begin
if (document.getElementById) {
	//Things you can alter
	yourLogo = "TRADUWEB idiomas ";  //Not less than 2 letters!
	logoFont = "Arial";
	logoColor = "#0000FF";
	//Nothing needs altering below!
	yourLogo = yourLogo.split('');
	Ln = yourLogo.length; 
	TrigSplit = 360 / Ln;
	Sz = new Array()
	logoWidth = 100;
	logoHeight = -30;
	ypos = 0;
	xpos = 0;
	step = 0.03;
	currStep = 0;
	document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i = 0; i < Ln; i++) {
		eval("document.write('<div id=\"ie" + i + "\" 			style=\"position:relative;top:0px;left:0px;\'+\'width:10px;height:10px;font-family:\'+logoFont+\';font-size:12px;\'+\'color:\'+logoColor+\';text-align:center\">\'+yourLogo[i]+\'</div>\');");
		}
	document.write('</div></div>');
}

function animateLogo() {
	nodoOuter = document.getElementById("outer"); 
	nodoOuter.style.top = 375 + "px";
	if (document.body.clientWidth > 1024)
	{
		nodoOuter.style.left = ((document.body.clientWidth - 1024)/2 + 185) + "px";
	}
	else
	{
		nodoOuter.style.left = 185 + "px";
	}

for (i = 0; i < Ln; i++) {
	nombre = "ie" + i; 
	nodoie = document.getElementById(nombre);
	nodoie.style.top = (ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180)) + "px";
	nodoie.style.left = (xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180)) + "px";
	Sz[i] = parseInt(nodoie.style.top) - ypos;
	if (Sz[i] < 5) Sz[i] = 5
	{
		tamanoletra = parseInt(Sz[i] / 1.7);
		nodoie.style.fontSize = tamanoletra + "px";  
	}
}
currStep -= step;
timerespiral = setTimeout('animateLogo()', 20);
}


//  End -->
