  var isNS = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4);
  var div1 = (isNS) ? document.obj1 : document.all.obj1.style;
  var div2 = (isNS) ? document.obj2 : document.all.obj2.style;
  
  var objet;
  var coord;
  var coordb = 800;
  objet = new Array(div1,div2)
  coord = new Array()
  
//---------------------------------------------------------------------------
function placeObj(i,px,py) 
{
	objet[i].left=px;
	objet[i].top=py;
}
//---------------------------------------------------------------------------
function voirObj(i) 
{
	objet[i].visibility="visible";
}
//---------------------------------------------------------------------------
function cacheObj(i) 
{
	objet[i].visibility="hidden";
}
//---------------------------------------------------------------------------

var userAgent = navigator.appName + " " + navigator.appVersion;
var agentInfo = userAgent.substring(0, 12);
var yBase     = window.innerHeight / 2;
var xBase     = window.innerWidth  / 2;
var delay     = 15;
var yAmpl     = 10;
var yMax      = 40;
var step      = .2;
var ystep     = .5;
var currStep  = 0;
var tAmpl     = 1;
var Xpos      = 50;
var Ypos      = 50;
var j         = 0;

if ( agentInfo >= "Netscape 4.0" )
{
	window.captureEvents(Event.MOUSEMOVE);
	function mouveA(evnt) 
	{
		Xpos = evnt.pageX ;
		Ypos = evnt.pageY ;
	}
	window.onMouseMove = mouveA;
}
else 
{
	function mouveB() 
	{
		Xpos = event.clientX;
		Ypos = event.clientY;
	}
	document.onmousemove = mouveB;
}
//---------------------------------------------------------------------------
function animation() 
{
	yBase = 150; xBase = 150;
	var cx, cy;
	
	for ( j = 0 ; j < 2 ; j++ ) 
	{
		cx = Xpos + Math.sin((20*Math.sin(currStep/20))+j*70) * xBase * (Math.sin(10+currStep/(10+j))+0.2)*Math.cos((currStep + j*25)/10) - 20;
		cy = Ypos + Math.cos((20*Math.sin(currStep/(20+j)))+j*70) * yBase * (Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
		placeObj(j,cx,cy);
	}
	
	currStep += step;
	setTimeout("animation()", 5) ;
}
//---------------------------------------------------------------------------
animation();
//---------------------------------------------------------------------------
