
			function CheckUIElements()
			{
			        var yMenu1From, yMenu1To, yOffset, timeoutNextCheck;
			        var wndWidth = parseInt(document.body.clientWidth);
	
		                yMenu1From   = parseInt (D1.style.top, 10);
		                yMenu1To     = document.body.scrollTop + 107; 

			        timeoutNextCheck = 500;

			        if ( yMenu1From != yMenu1To ) {
 			               yOffset = Math.ceil( Math.abs( yMenu1To - yMenu1From ) / 20 );
		                if ( yMenu1To < yMenu1From )
		                        yOffset = -yOffset;
		
				D1.style.top = parseInt (D1.style.top, 10) + yOffset;

		                timeoutNextCheck = 10;
		        }

		        setTimeout ("CheckUIElements()", timeoutNextCheck);
			}

			function MovePosition()
			{
		        var wndWidth = parseInt(document.body.clientWidth);
        
		        

		                D1.style.top = document.body.scrollTop - 100;

		                D1.style.visibility = "visible";

		        
		        CheckUIElements();

		        return true;
			}

