function alignElements(el) {
            /* Position the passed-in relatively positioned
               element that is in the same coordinate system
               on top of the element whose ID is src. */
            el.style.pixelTop
               = document.all.src.offsetTop - el.offsetTop;
            el.style.pixelLeft
               = document.all.src.offsetLeft - el.offsetLeft;
            el.style.visibility = "visible";
         }

         function moveIn(el) {
            // If the element is not at its position in the flow,
            // move it closer.
            var moved = false;
            if (el.style.pixelTop < 0) {
               el.style.pixelTop += 8;
               if (el.style.pixelTop > 0)
                  el.style.pixelTop = 0;
               moved = true;
            }
            else {
               if (el.style.pixelTop > 0)  {
                  el.style.pixelTop -= 8;
                  if (el.style.pixelTop < 0)
                     el.style.pixelTop = 0;
                  moved = true;
               }
            }
            if (el.style.pixelLeft < 0) {
               el.style.pixelLeft += 8;
               if (el.style.pixelLeft > 0)
                  el.style.pixelLeft = 0;
               moved = true;
            }
            else {
               if (el.style.pixelTop > 0) {
                  el.style.pixelLeft -= 8;
                  if (el.style.pixelLeft < 0)
                     el.style.pixelLeft = 0;
                  moved = true;
               }
            }
            /* The move variable reflects whether the element has
               moved. If the element has already reached its position
               in the flow, this function returns false. */
            return moved;
         }

         function flyInTogether() {
            var more = false;
            // Animate into place all elements with class name fly.
            for (var intLoop = 0; intLoop < document.all.length;
                  intLoop++) {
               if ("fly" == document.all[intLoop].className)
                  more = moveIn(document.all[intLoop]) || more;
            }
            // Keep running until all elements reach their locations
            // in the flow.
            if (more)
               setTimeout("flyInTogether()", 10);
         }

         function setup() {
            // Align all elements that are going to be animated.
            for (var intLoop = 0; intLoop < document.all.length;
                  intLoop++) {
               if ("fly" == document.all[intLoop].className)
                  alignElements(document.all[intLoop]);
            }
            flyInTogether();
         }
         
 

			//CAMBIO CLASSE

			function cmsChangeRowClass(objRow){
			switch(objRow.className){
			case 'fly':
			objRow.className = 'flyover';
			break;
			case 'flyover':
			objRow.className = 'fly';
			break;
			}
			}


			//FINE CAMBIO CLASSE

    

window.onload = setup;
