var myPos;
	var myTarget=0;
	var speed=8;
	function boxMove() {
		myPos=document.getElementById('STY1').style.left;
		myPos=eval(myPos.replace("px", ""));
		myPos=myPos+(myTarget-myPos)/speed;
		document.getElementById('STY1').style.left=myPos+"px";
		setTimeout("boxMove()",10);
	}
        function boxMove2() {
                clearTimeout("boxMove()",10);
	}

        
	function setTarget1() {
		myTarget=-600;
	}
	function setTarget2() {
		myTarget=250;
	}
	
	
	
	
	
	
	
	
	
	
	