<!-- 
//   jf001a02.js p/o index001.htm ROVING EYES Animation (c)SavvyStuff
//   use when associated page is in [index-root] directory
//   [01NOV02]14AUG03:05FEB11 -->
if (navigator.appName == "Microsoft Internet Explorer") {
	{
	var ex=0,ey=0;
	var ae,le,re,x0,y0,tid,realx,realy;
	var brOK=false, mie=false;
	  if(document.all)mie=true;
	function navMove(e) {
	  ex=e.pageX;
	  ey=e.pageY;
	    moveye();
	return routeEvent(e);
    	}
	function moveHandler() {
	  ex=document.body.scrollLeft+event.x;
	  ey=document.body.scrollTop+event.y;
	    moveye();
    	}
	function moveye() {
	  dy=ey-y0-20;
	  dx1=ex-x0-20;
	  dx2=ex-x0-60;
	  r=Math.sqrt(dx1*dx1+dy*dy);
	    if(r<20) r=20;
	dx1=dx1*10/r+x0+10;
	dy1=dy*10/r+y0+10;
	r=Math.sqrt(dx2*dx2+dy*dy);
	    if(r<20) r=20;
	dx2=dx2*10/r+x0+50;
	ae.left=x0;
	ae.top=y0;
	le.left=dx1;
	le.top=dy1;
	re.left=dx2;
	re.top=dy1;
    	}
	function setHandler0() {
	    if(!mie) {
	y0=document.eyeballs.top;
	x0=document.eyeballs.left;
	ae=document.eyeballs;
	le=document.lefteye;
	re=document.righteye;
//    	  window.captureEvents(Event.MOUSEMOVE);
//    	  window.onMouseMove=navMove;
    	  window.document.captureEvents(Event.MOUSEMOVE);
    	  window.document.onmousemove=navMove;
    	}
  	  else
    	    {
	    y0=document.all.eyeballs.style.pixelTop;
	    x0=document.all.eyeballs.style.pixelLeft;
	    ae=document.all.eyeballs.style;
	    le=document.all.lefteye.style;
	    re=document.all.righteye.style;
    	    window.document.onmousemove=moveHandler;
    	    }
	realx=x0+0.1;
	realy=y0+0.1;
    	moveall();
    	}
	function moveall() {
	  rx=realx+40;
	  ry=realy+40;
	  rx+=(ex-rx)*0.1;
	  ry+=(ey-ry)*0.1;
	  realx=rx-40;
	  realy=ry-40;
	  x0=Math.round(realx);
	  y0=Math.round(realy);
    	  moveye();
	  tid=setTimeout('moveall()',90);
    	}
	function placeeyes(x,y) {
	    ex=x+40;
	    ey=y+40;
  s= '<div ID="dummy"    style="position:absolute; top:'+y+'; left:'+x+'; width:10;  height:10;">&nbsp;</div>';
  s+='<div ID="eyeballs" style="position:absolute; top:'+y+'; left:'+x+'; width:80;  height:40;"><img src="sitefile/pix/sg001a08.gif" border=0></div>';
  s+='<div ID="lefteye"  style="position:absolute; top:'+(y+10)+'; left:'+(x+10)+';  width:20; height:20;"><img src="sitefile/pix/sg001b08.gif" border=0></div>';
  s+='<div ID="righteye" style="position:absolute; top:'+(y+10)+'; right:'+(x+50)+'; width:20; height:20;"><img src="sitefile/pix/sg001b08.gif" border=0></div>';
	document.writeln(s);
  	}
	function clearEyes() {
	  if(tid) clearTimeout(tid);
    	}
	placeeyes(200,100);
  }}
// js finis -->


