function CheckUIElements() {
	var yMenu1From, yMenu1To, yOffset, timeoutNextCheck;
	var wndWidth = parseInt(document.body.clientWidth);
	yMenu1From   = parseInt (D1.style.top, 10);
	//yMenu1To     = document.body.scrollTop + (screen.height-400)//위쪽 위치
    yMenu1To     = document.body.scrollTop + (document.body.clientHeight - 84);
	timeoutNextCheck = 100;

	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";
    D1.style.cursor = "pointer";
    
    // initializing UI update timer
    CheckUIElements();
    return true;
 }