	function reSize(paper)
	{
		var mathConvolute = document.getElementById('mathConvolute');
		mathConvolute.style.display = 'block';


		if(paper.offsetHeight == 72 || paper.offsetHeight == 68)
		{
			var mTween = new Tween(paper, 'height', Math.linearTween, 72, 302, 18);
			mTween.onMotionFinished = function(){
				mathConvolute.style.bottom = '4px';
			}
			document.getElementById('shRightY').style.bottom = '4px';
			document.getElementById('mathOpened').style.display = 'none';
			setTimeout("reSizeConv()", 250)

		}
		else
		{
			var mTween = new Tween(paper, 'height', Math.linearTween, 302, 68, 18);
			mathConvolute.style.bottom = '0';
			var mTween2 = new Tween(mathConvolute, 'height', Math.linearTween, 0, 38, 18);
			mTween2.onMotionFinished = function(){
				document.getElementById('mathOpened').style.display = 'block';
			}
		}
	}

	function reSizeConv()
	{
		var mathConvolute = document.getElementById('mathConvolute');
		var mTween2 = new Tween(mathConvolute, 'height', Math.linearTween, 38, 0, 10);
		mTween2.onMotionFinished = function(){
			mathConvolute.style.display = 'none';
		}
	}
