var forExplorer = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");

function slideImage()
{
        
		  var startPos, endPos, yOffset, timeInterval
		  
		  x=200;
		  document.all["ad"].style.pixelLeft = x+6;

		 
		 if ( forExplorer ) { 
                startPos   = parseInt (document.all["ad"].style.top);
                endPos     = document.body.scrollTop + 250; // À§ÂÊ À§Ä¡

					 //alert(startPos);
					 //alert(endPos);
        }

        

        if ( startPos != endPos ) {
                
					 yOffset = Math.floor(( endPos - startPos ) / 20 );

                if ( forExplorer )
                        document.all["ad"].style.top = parseInt (document.all["ad"].style.top, 10) + yOffset;

                timeInterval = 10;
        }

        setTimeout ("slideImage()", timeInterval);
}

function MouseMove()
{
        var y;

        if ( forExplorer ) {
                document.all["ad"].style.top = document.body.scrollTop + 120;
                document.all["ad"].style.visibility = "visible";
        }

        slideImage();
        return true;
}

