<!--
var jseyes= { img:"jseyes.gif", w:81, h:107, link: "" };
var jseye1= { img:"jseyeblue.gif", w:5, h:5, x:30, y:40, xr:2, yr:4 };
var jseye2= { img:"jseyeblue.gif", w:5, h:5, x:44, y:38, xr:2, yr:4 };
var jseyex= { img:"palpebre.gif", w:27, h:17, x:23, y:40 };
var jseyess= { img:"jseyes.gif", w:81, h:107, link: "" };
var jseye3= { img:"jseyeblue.gif", w:5, h:5, x:30, y:40, xr:2, yr:4 };
var jseye4= { img:"jseyeblue.gif", w:5, h:5, x:44, y:38, xr:2, yr:4 };
var jseyex2= { img:"palpebre.gif", w:27, h:17, x:23, y:40 };
var jseyesdeltat= 40;
var jseyesfollow= 60;

var browserversion= 0.0;
var browsertype= 0;
var mousex= 0, mousey= 0;
var followx= 0, followy= 0;

function browserdetect() {
  var agt= navigator.userAgent.toLowerCase();
  var appVer= navigator.appVersion.toLowerCase();
  browserversion= parseFloat(appVer);
  var iePos= appVer.indexOf('msie');
  if (iePos!=-1) browserversion= parseFloat(appVer.substring(iePos+5, appVer.indexOf(';',iePos)));
  var nav6Pos = agt.indexOf('netscape6');
  if (nav6Pos!=-1) browserversion= parseFloat(agt.substring(nav6Pos+10))
  browsertype= (iePos!=-1) ? 1 : (agt.indexOf('mozilla')!=-1) ? 2 : 0;
  return(browsertype>0);
}

browserdetect();

function jseyesobj(id) {
  var i, x;
  x= document[id];
  if (!x && document.all) x= document.all[id];
  for (i=0; !x && i<document.forms.length; i++) x= document.forms[i][id];
  if (!x && document.getElementById) x= document.getElementById(id);
  return(x);
}

function jseyesmove() {
  var dx, dy, dx2, dy2;
  dx= mousex-followx;
  dy= mousey-followy;
  followx+= dx*jseyesfollow/100;
  followy+= dy*jseyesfollow/100;
  if (jseyes.o && jseyess.o && jseye1.o && jseye2.o && jseye3.o && jseye4.o && jseyes.o.style) {
    dx= followx-jseyes.o.offsetLeft-jseye1.x;
    dy= followy-jseyes.o.offsetTop- jseye1.y;
    r= Math.sqrt(dx*dx/(jseye1.xr*jseye1.xr)+dy*dy/(jseye1.yr*jseye1.yr));
    if (r<1) r=1;
    jseye1.o.style.left= (dx/r+jseye1.x-jseye1.w/2)+"px";
    jseye1.o.style.top=  (dy/r+jseye1.y-jseye1.h/2)+"px";

    dx= followx-jseyes.o.offsetLeft-jseye2.x;
    dy= followy-jseyes.o.offsetTop- jseye2.y;
    r= Math.sqrt(dx*dx/(jseye2.xr*jseye2.xr)+dy*dy/(jseye2.yr*jseye2.yr));
    if (r<1) r=1;
    jseye2.o.style.left= (dx/r+jseye2.x-jseye2.w/2)+"px";
    jseye2.o.style.top=  (dy/r+jseye2.y-jseye2.h/2)+"px";

    dx2= followx-jseyess.o.offsetLeft-jseye3.x;
    dy2= followy-jseyess.o.offsetTop- jseye3.y;
    r= Math.sqrt(dx2*dx2/(jseye3.xr*jseye3.xr)+dy2*dy2/(jseye3.yr*jseye3.yr));
    if (r<1) r=1;
    jseye3.o.style.left= (dx2/r+jseye3.x-jseye3.w/2)+"px";
    jseye3.o.style.top=  (dy2/r+jseye3.y-jseye3.h/2)+"px";

    dx2= followx-jseyess.o.offsetLeft-jseye4.x;
    dy2= followy-jseyess.o.offsetTop- jseye4.y;
    r= Math.sqrt(dx2*dx2/(jseye4.xr*jseye4.xr)+dy2*dy2/(jseye4.yr*jseye4.yr));
    if (r<1) r=1;
    jseye4.o.style.left= (dx2/r+jseye4.x-jseye4.w/2)+"px";
    jseye4.o.style.top=  (dy2/r+jseye4.y-jseye4.h/2)+"px";
  }
}

function jseyeswr() {
  var img, img2;
  var x, y, x2, y2, a, a2=false;

  if (arguments.length==4) {
    x= arguments[0];
    y= arguments[1];
    x2= arguments[2];
    y2= arguments[3];
    a= true;
    a2= true;

if (browsertype==2) {
x=x-4;
x2=x2-5;
jseye1= { img:"jseyeblue.gif", w:5, h:5, x:30, y:50, xr:2, yr:4 };
jseye2= { img:"jseyeblue.gif", w:5, h:5, x:44, y:48, xr:2, yr:4 };
jseye3= { img:"jseyeblue.gif", w:5, h:5, x:30, y:50, xr:2, yr:4 };
jseye4= { img:"jseyeblue.gif", w:5, h:5, x:44, y:48, xr:2, yr:4 };
}
  }

  if (browsertype>0 && browserversion>=5) {
    img=
      "<div id='jseyeso' style='position:"+
	 (a ? "absolute; left:"+x+"px; top:"+y+"px" : "relative")+
	 "; z-index:5; overflow:hidden; "+
	 "width:"+jseyes.w+"px; height:"+jseyes.h+"px'>\n"+

	 "<div id='jseye1o' style='position:absolute; z-index:6; "+
	   "left:"+(jseye1.x-jseye1.w/2)+"px; top:"+(jseye1.y-jseye1.h/2)+"px; "+
	   "width:"+jseye1.w+"px; height:"+jseye1.h+"px'>\n"+
	   "<img src='"+jseye1.img+"' "+
	     "width='"+jseye1.w+"px' height='"+jseye1.h+"px' "+
	     ">\n"+
	 "</div>\n"+

	 "<div id='jseye2o' style='position:absolute; z-index:6; "+
	   "left:"+(jseye2.x-jseye2.w/2)+"px; top:"+(jseye2.y-jseye2.h/2)+"px; "+
	   "width:"+jseye2.w+"px; height:"+jseye2.h+"px'>\n"+
	   "<img src='"+jseye2.img+"' "+
	     "width='"+jseye2.w+"px' height='"+jseye2.h+"px' "+
	     ">\n"+
	 "</div>\n"+

         "<div id='jseyexo' style='position:absolute; z-index:7; "+
           "left:"+jseyex.x+"px; top:"+jseyex.y+"px; "+
  	   "width:"+jseyex.w+"px; height:"+jseyex.h+"px'>\n"+
	   "<img src='"+jseyex.img+"' "+
	     "width='"+jseyex.w+"px' height='"+jseyex.h+"px' "+
	     ">\n"+
	 "</div>\n"+

	 "<img src='"+jseyes.img+"' "+
	   "width='"+jseyes.w+"px' height='"+jseyes.h+"px' "+
	   ">\n"+

       "</div>\n";

      img2=
      "<div id='jseyesso' style='position:"+
	 (a2 ? "absolute; left:"+x2+"px; top:"+y2+"px" : "relative")+
	 "; z-index:5; overflow:hidden; "+
	 "width:"+jseyess.w+"px; height:"+jseyess.h+"px'>\n"+

	 "<div id='jseye3o' style='position:absolute; z-index:6; "+
	   "left:"+(jseye3.x2-jseye3.w/2)+"px; top:"+(jseye3.y2-jseye3.h/2)+"px; "+
	   "width:"+jseye3.w+"px; height:"+jseye3.h+"px'>\n"+
	   "<img src='"+jseye3.img+"' "+
	     "width='"+jseye3.w+"px' height='"+jseye3.h+"px' "+
	     ">\n"+
	 "</div>\n"+

	 "<div id='jseye4o' style='position:absolute; z-index:6; "+
	   "left:"+(jseye4.x2-jseye4.w/2)+"px; top:"+(jseye4.y2-jseye4.h/2)+"px; "+
	   "width:"+jseye4.w+"px; height:"+jseye4.h+"px'>\n"+
	   "<img src='"+jseye4.img+"' "+
	     "width='"+jseye4.w+"px' height='"+jseye4.h+"px' "+
	     ">\n"+
	 "</div>\n"+

         "<div id='jseyex2o' style='position:absolute; z-index:7; "+
           "left:"+jseyex2.x+"px; top:"+jseyex2.y+"px; "+
  	   "width:"+jseyex2.w+"px; height:"+jseyex2.h+"px'>\n"+
	   "<img src='"+jseyex2.img+"' "+
	     "width='"+jseyex2.w+"px' height='"+jseyex2.h+"px' "+
	     ">\n"+
	 "</div>\n"+

	 "<img src='"+jseyess.img+"' "+
	   "width='"+jseyess.w+"px' height='"+jseyess.h+"px' "+
	   ">\n"+

       "</div>\n";


    document.write(img);
    jseyes.o= jseyesobj('jseyeso');
    jseye1.o= jseyesobj('jseye1o');
    jseye2.o= jseyesobj('jseye2o');
    
    document.write(img2);
    jseyess.o= jseyesobj('jseyesso');
    jseye3.o= jseyesobj('jseye3o');
    jseye4.o= jseyesobj('jseye4o');

    switch (browsertype) {
      case 1:
        document.onmousemove= mousemoveIE;
	break;
      case 2:
        document.captureEvents(Event.MOUSEMOVE);
	document.onmousemove= mousemoveNS;
	break;
    }

    setInterval("jseyesmove()", jseyesdeltat);
  }
}

function mousemoveNS(e) {
  mousex= e.pageX;
  mousey= e.pageY;
  return(true);
}
function mousemoveIE() {
  mousex= window.event.clientX + document.body.scrollLeft;
  mousey= window.event.clientY + document.body.scrollTop;
}
-->