// JavaScript Document
var isNet4, isIE4, counter, adjust, bajust;
if ( navigator.appVersion.substring(0,1) >= 4)
{	if ( navigator.appName =="Netscape" )
	{isNet4 = true;	}
	if ( navigator.appName == "Microsoft Internet Explorer" )
	{isIE4 = true;	}}
function motion()
	{	if (isNet4)
		{	// move the animate object 2 pixels to the left
		document.animate.left += 1;
		bajust = 0.3 * (document.animate.left);
		adjust = (2*((Math.sin((document.animate.left)))));
		document.animate.top = 260 + adjust + bajust;
		if (document.animate.left > 650)
			{	clearTimeout(counter);	}	}
		if (isIE4)
		{	// Move the animate object 2 pixels
		document.all.animate.style.pixelLeft += 1;
		adjust = 260 +(0.3* (document.all.animate.style.pixelLeft));
		document.all.animate.style.pixelTop = adjust;
			if (document.all.animate.style.pixelLeft >650)
			{	clearTimeout(counter);	}	}	}
