// JavaScript Document

            var ns4 = (document.layers)? true:false
            var ie4 = (document.all)? true:false
            var ns6 = (document.getElementById && !document.all) ? true: false;
            var coorX, coorY;

            if (ns6) document.addEventListener("mousemove", mouseMove, true)
            if (ns4) {document.captureEvents(Event.MOUSEMOVE); document.mousemove = mouseMove;}

            function mouseMove(e)    {
                if (ns4||ns6)    {
                    coorX = e.pageX;
                    coorY = e.pageY;
                }
                if (ie4)    {
                    coorX = event.x;
                    coorY = event.y;
                }
                //coorX += document.body.scrollLeft;
                //coorY += document.body.scrollTop;
                return true;
            }

            function ini()    {
                if (ie4)    document.body.onmousemove = mouseMove;
            }

            function mostrar(dato)    {
                with(document.getElementById("ayuda"))    {
                    style.top = coorY + 10;
                    style.left = coorX + 10;
                    style.visibility = "visible";
                    innerHTML = dato;
                }
            }
			
			  function mostrar2(dato)    {
                with(document.getElementById("ayuda2"))    {
                    style.top = coorY + 10;
                    style.left = coorX + 10;
                    style.visibility = "visible";
                    innerHTML = dato;
                }
            }

            function ocultar()    {
                document.getElementById("ayuda").style.visibility = "hidden";
            }
			
			  function ocultar2()    {
                document.getElementById("ayuda2").style.visibility = "hidden";
            }
					
		    function mover()    {
                with(document.getElementById("ayuda"))    {
                    style.top = coorY + 10;
                    style.left = coorX + 10;
                }
            }
			 function mover2()    {
                with(document.getElementById("ayuda2"))    {
                    style.top = coorY + 10;
                    style.left = coorX + 10;
                }
            }
